
Founder of @AgentScoutHQ. Building a daily-tested directory of AI agents & MCP servers. Notes, stacks, real numbers.
Joined September 2023
- Tweets5.4K
- Following7.1K
- Followers2.1K
- Likes30.1K
Pinned Tweet
I'm building AgentScout, a free directory of 5,000+ AI agent tools and 3,000+ MCP servers.
I post what I learn running it: setup gotchas, which MCP servers actually answer, and real traffic numbers.
What are you building? agentscouthq.com/?ref=x
@AgentScoutHQ @mdjunaidap
#AIAgents #MCP #BuildInPublic
4
5
458
Want only the certificate authorities you actually use to be able to issue for your domain? Add a CAA record.
Add an issue entry for each CA you use, for example 0 issue "letsencrypt.org". dig CAA yourdomain shows what's set now.
List every CA that issues for you, including your CDN's, or the next renewal fails. Public CAs have to check CAA before they issue.
13
About to run git clean to get a fresh tree? Run it with -n first.
git clean -n -d prints every untracked file and folder it would delete and touches nothing. Untracked files aren't in Git, so once they're gone, Git can't bring them back.
Be extra careful with -x. It also removes ignored files, which means your .env and local config go too.
10
Cron job runs fine when you paste it in a terminal but does nothing from crontab? Check for a %.
In a crontab line, % means newline, so date +%F cuts your command off right there. Escape it as \%F.
The other usual suspect is PATH. Cron's is minimal, so set PATH at the top of the crontab or use full paths. Moving the command into a script avoids both.
11
Put your site behind Cloudflare and the origin still gets every page request? Check cf-cache-status.
By default Cloudflare caches static files like images, CSS and JS, but not HTML. curl -sI your page and you'll see cf-cache-status: DYNAMIC.
To cache pages, add a Cache Rule set to Eligible for cache, and bypass it for anything personal, like logged-in or admin paths.
19
Giving a cron job, a dashboard or an AI agent access to your Stripe account? Don't hand it your secret key. Make a restricted key.
In the Stripe dashboard, a restricted key starts with rk_ and you set each resource to None, Read or Write. A revenue report only needs Read on charges and subscriptions.
One key per job also means you can revoke one leaked key without breaking everything else.
16
Added another email tool and your mail started landing in spam? Count the DNS lookups in your SPF record.
SPF allows 10. Every include, a, mx, ptr, exists and redirect counts, and so does every include inside those includes. ip4 and ip6 entries don't.
Go over 10 and the check returns permerror, which receivers can treat as a fail for all of your mail. Remove senders you no longer use before you add a new one.
2
28
Adding an index to a busy Postgres table? Use CREATE INDEX CONCURRENTLY.
A plain CREATE INDEX blocks inserts and updates on that table until it finishes. The concurrent version lets writes continue. It's slower, and it can't run inside a transaction block, so watch for migration tools that wrap every step in one.
If it fails partway, it leaves an INVALID index behind. Drop it and run it again.
15
Need to test what your app does when a trial ends or a subscription renews? Don't wait a month. Use a Stripe test clock.
In test mode, create a clock, create a customer on it, and subscribe them. Then advance the clock past the trial or period end.
Stripe runs the renewal, the invoice and the webhooks as if that time had passed, so you can watch your handler deal with each one.
1
2
34
Rebasing a long-lived branch and fixing the same conflict every time?
git config --global rerere.enabled true
Git then records how you resolved each conflict, and when the same hunk conflicts again, it applies your earlier fix for you. Give it a look before you git add, since the code around it may have changed.
29
Using npm install in your CI pipeline? Switch it to npm ci.
npm ci installs exactly what package-lock.json says. If the lockfile and package.json disagree, it fails instead of quietly updating the lock, and it never writes to either file.
It also removes any existing node_modules first, so every build starts clean.
37
Firing off an analytics or log call in a Cloudflare Worker without awaiting it? It can get cut off once the response goes out.
Pass the promise to ctx.waitUntil(). The response still returns right away, and the Worker stays alive until that work finishes.
Awaiting it instead works too, but then your user waits on your logging.
23
Added hreflang tags and Google still shows the wrong language version? Check that they point both ways.
If your English page lists the German one but the German page doesn't list the English one back, Google ignores the pair.
Each version should list every version, itself included, with full URLs that match your canonicals. Add x-default for everyone else.
24
About to open a PR and want to see exactly what your branch adds?
git log --oneline main..HEAD lists the commits on your branch that main doesn't have.
git diff main...HEAD, with three dots, shows your changes since you branched off and ignores whatever landed on main after. Two dots on git diff would mix main's new commits into the picture.
20
Adding Strict-Transport-Security? Don't start with a year-long max-age.
Browsers cache that header, so a subdomain that still needs plain HTTP breaks for every visitor until it expires. Start with max-age=300; includeSubDomains, then a week, then a month, fixing what breaks at each stage.
Only add preload once that's clean. Getting off the preload list takes a long time.
1
24
Pushed a .env file by mistake? Rotate the keys before you do anything else.
git rm --cached .env and adding it to .gitignore stops tracking it from now on. The old commit still has every value, and so does every clone and fork made since.
Treat whatever was in that file as public. New keys first, cleanup second.
1
1
30
Switching branches with half-done work? Plain git stash leaves brand-new files behind, so they follow you to the other branch.
git stash -u takes untracked files too. git stash pop brings it all back.
28
Stripe webhook signature check failing even though the secret is right? Your framework probably parsed the body first.
Signature checks need the raw request body, byte for byte. In Express, put express.raw({ type: 'application/json' }) on the webhook route instead of express.json(), and register that route before the global JSON parser.
1
26
Port 3000 already in use and no idea by what?
lsof -i :3000
It lists the process and its PID. Then kill <PID>. It's often an old dev server still running in a terminal tab you forgot about.
24
Your links show up on X and Slack with no image? Check og:image first.
It has to be a full absolute URL, https and domain included. A relative path like /og.png doesn't work.
For the big image card on X, also set twitter:card to summary_large_image.
27
Shipping a risky Cloudflare Worker change? You don't have to send it to all traffic at once.
npx wrangler versions upload
npx wrangler versions deploy
Upload creates a new version without serving it. Deploy lets you split traffic between versions, say 10% new and 90% current. Watch the logs, then move it to 100%.
1
1
34













