blowhorn-mcp
AGENTS.md9 starsChanged 5 days agoApache-2.0View on GitHub
Notes for coding agents working in this repo. - Generated files: server.json, .claude-plugin/plugin.json, .claude-plugin/marketplace.json, .mcp.json, .cursor-plugin/plugin.json, .cursor-plugin/mcp.json, mcp.json, plugin.json, .github/plugin/marketplace.json, gemini-extension.json and glama.json are written by scripts/generate.js from listing/listing.json and package.json. Never edit them by hand: change the source, run make generate, commit both. - Check before you finish: run make check. It fails on drift between the sources and the generated files, schema errors, copy rule breaks, a bad skill frontmatter, docs that disagree with listing/listing.json's minimumAppVersion or urls,…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,040 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository2 other files it gives its agents.
- cut-releaseSkill
- blowhornSkill
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Check before you finish: run make check. It fails on drift between the sources and the generated files, schema errors, copy rule breaks, a …
- Distinctive: line 38
Never make the Worker an MCP server, an authorization server, a token validator or a REST gateway, and never forward a token to a REST API.
- Very specific: line 64
Cutting a release: follow .agents/skills/cut-release/SKILL.md.
- Distinctive: line 76
Tests: run behavior (execute scripts and the launcher, parse output).
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
Notes for coding agents working in this repo.
- Generated files:
server.json,.claude-plugin/plugin.json,.claude-plugin/marketplace.json,.mcp.json,.cursor-plugin/plugin.json,.cursor-plugin/mcp.json,mcp.json,plugin.json,.github/plugin/marketplace.json,gemini-extension.jsonandglama.jsonare written byscripts/generate.jsfromlisting/listing.jsonandpackage.json. Never edit them by hand: change the source, runmake generate, commit both. - Check before you finish: run
make check. It fails on drift between the sources and the generated files, schema errors, copy rule breaks, a bad skill frontmatter, docs that disagree withlisting/listing.json'sminimumAppVersionorurls, a wrong logo size, failing tests, or a tarball holding anything but the launcher. - Copy rules (all text files except
LICENSE,schemas/vendor/and lock files): hyphens, never em or en dashes; say "Blowhorn"; no persona names. Clients connect to the hosted server at mcp.blowhorn.ai and may sign in with OAuth. The npm launcher runs on macOS only. Never name Cloud's origin hostname outsidehosted/. The npm package and the official MCP Registry entry are published; other marketplace listings are future tense until they exist. A self-hosted repo marketplace install line (Claude Code or GitHub Copilot CLI) is fine. The full list, enforced bymake check, isRULESinscripts/check.js. lib/launcher-common.jsis a stable API shared with the private repo's blowhorn-axi launcher through a submodule. Add, never change.schemas/vendor/stays byte for byte; refresh it only withmake schemas-refresh.hosted/is an interim MCP transport proxy, a Cloudflare Worker with its own package, until Cloud serves/mcpitself (blowhorn-ai/blowhorn#1509, U3); then it is retired. The Worker and Cloud's/mcpare ONE protected resource,https://mcp.blowhorn.ai/mcp: the Worker carries MCP requests to Cloud's/mcpand the answers back. An unauthenticated GET /mcp (no usable Bearer token) is answered here with the 401 challenge and is not forwarded. Cloud owns the canonical resource, token validation, the protected resource metadata, the authorization server, the tokens and the tools. Never make the Worker an MCP server, an authorization server, a token validator or a REST gateway, and never forward a token to a REST API. The upstream URL is a constant, never built from the inbound request; only the header allowlists inhosted/src/proxy.jsplus the gateway's ownUser-AgentandX-Forwarded-Mcp-Resource(always the public resource) cross the Worker (no cookie, forwarded host or client identity); redirects are never followed; answers stream. Keep the Origin policy on/mcpand both rate limits. The vendored schema (hosted/schemas/vendor/) stays byte for byte; refresh it only withmake hosted-schemas-refresh. Deploy is automatic on merge to master, so the "Before cutover" list inhosted/README.mdmust be verified against Cloud first. The gateway's error codes (blowhorn-mcp-NNNN, never reused; a retired code stays as a tombstone inRETIRED) are data inhosted/errors/mcp.json, each definition valid against the vendored ErrorDefinition construct: add a code there first, bumpnextErrorCode, then map its outcome inhosted/src/errors.jsand add its row to the Error codes table inhosted/README.md(a test holds the table to both). Each rate limit lives only in theRATE_LIMITSvar inhosted/wrangler.jsonc(and the table inhosted/README.md, which a test holds to it). The enforcer is theRateLimiterDurable Object bound asRATE_LIMITER(a missing binding fails closed); Cloudflare simpleratelimitsbindings do not enforce live.LIMITSinhosted/src/ratelimit.jskeeps only each limit's cause, and a test fails when the Durable Object binding, itsnew_sqlite_classesmigration, or a period differs.hosted/schemas/rate-limits.schema.jsonis the config shape. hosted/ is exempt from the local-only copy rules, never from the others.- Cutting a release: follow
.agents/skills/cut-release/SKILL.md. The front door ismake cut-release MIN_CLOUD_VERSION=...on master after the bump PR merges.publish.ymlpublishes npm and the MCP Registry, deploys the hosted gateway to production and staging, verifies Cloud's version, and runs signed-in hosted smoke (test account repo secrets, never printed). Production signed-in is a hard gate. Staging signed-in is a named skip (staging test account not provisioned) whileBLOWHORN_MCP_TEST_PASSWORD_STAGINGis unset, and a hard gate once that secret is set. Localmake hosted-smoke-loginis optional. Never cut a desktop DMG from this repository, and never trigger a Cloud or schemas release from here. - Tests run behavior (execute scripts and the launcher, parse output); never grep source code.
- Project MCP server: the repo root is the Claude Code plugin root, so
Claude Code in this repo offers a project
blowhornMCP server from.mcp.json. It is the hosted server athttps://mcp.blowhorn.ai/mcp. Sign in with OAuth when the client asks.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

