adding-mcp-store-servers
Skill727 starsChanged yesterdayMITView on GitHub
Add a third-party MCP server (Linear, Notion, GitHub, ...) to the PostHog MCP store catalog. Use when asked to "add X to the MCP store", expand the MCP server marketplace, or fix a broken catalog entry. Covers finding the vendor's remote MCP endpoint, probing it (handshake, OAuth discovery, DCR), authoring the catalog entry in products/mcp_store/backend/catalog.py, verification tiers, and the operator handoff for servers without Dynamic Client Registration.
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 21
Check the vendor's docs (search "<vendor> MCP server").
- Distinctive: line 22
Only hosted (remote) MCP servers belong in the catalog — local/stdio servers do not.
- Distinctive: line 47
If you have an account with the vendor, complete one real install in local dev: run the stack, install the server from the store UI, finish …
- Distinctive: line 78
Don't add entries with unprobed URLs — a dead catalog entry is user-visible breakage.
- Very specific: line 79
Don't edit is_active, oauth_credentials, or oauth_metadata expectations into the catalog — those are operational state owned by the row, …
- Distinctive: line 80
Don't add an instance credential source for a newly registered vendor app.
- Very specific: line 81
Don't add icon assets or icon_key values — icons resolve from icon_domain via logo.dev at render time.
- Distinctive: line 82
Don't batch unrelated servers into one PR unless explicitly doing a scaffold sweep.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill 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
Adding a server to the MCP store
The MCP store catalog is code: one entry in products/mcp_store/backend/catalog.py per server.
On deploy, sync_mcp_server_templates upserts entries into MCPServerTemplate rows in every environment — there are no data migrations, no icon assets, and no manual admin steps for most servers.
Adding a server is a small PR to that file.
Read first
products/mcp_store/README.md— the catalog pipeline, sync semantics, and operator runbookproducts/mcp_store/backend/catalog.py— existing entries; match their tone and shapeproducts/mcp_store/backend/probe.py— what the probe verifies and whatpassed_activation_gatemeans
Workflow
- Find the vendor's remote MCP endpoint.
Check the vendor's docs (search "
<vendor>MCP server"); most publish a hosted endpoint likehttps://mcp.<vendor>.com/mcp. Only hosted (remote) MCP servers belong in the catalog — local/stdio servers do not. Cross-check public MCP registries if the docs are unclear. Probe it.
DEBUG=1 python manage.py probe_mcp_server https://mcp.example.com/mcpThe JSON verdict tells you everything the entry needs:
speaks_mcp: false→ the probe could not verify MCP. Stop and re-research — with one exception:reachable: trueplus the error "Initialize was rejected and no OAuth metadata was discovered" is the auth-walled API-key case (last bullet below).auth_flavor: "oauth_dcr"withpassed_activation_gate: true→ OAuth with Dynamic Client Registration. The entry isauth_type="oauth"and will activate automatically on merge.auth_flavor: "oauth_shared"→ OAuth without DCR. The entry isauth_type="oauth"but normally ships inactive; an operator must register an OAuth app with the vendor and paste credentials in Django admin (see the operator checklist below — include it in your PR description). If PostHog already provisions that exact OAuth app through an instance credential source, declare the reviewed source instead; catalog sync verifies and activates it without copying secrets.auth_flavor: "open"→ the handshake completed without credentials.auth_type="api_key"; activates automatically on merge.auth_flavor: "api_key_or_unknown"withreachable: true→ an auth-walled API-key server; a bare 401/403 gives the probe no MCP evidence.auth_type="api_key", but the entry ships inactive — verify it with a real install (Gate B) before adding it, and note in the PR that an operator flips it active in Django admin per environment (users bring their own key; nothing to provision).
- Author the entry in
catalog.py, alphabetically by name:name— the vendor's own casing ("PagerDuty", not "Pagerduty").description— one sentence, sentence case, verb-first, matching the existing entries ("Manage Linear issues, projects, and team workflows."). No marketing copy.category— the closest ofbusiness/data/design/dev/infra/productivity.icon_domain— the vendor's primary brand domain (linear.app, notmcp.linear.app). Verify logo.dev has it:GET /api/projects/@current/hog_functions/icons/?query=<vendor>from a dev session, or checkhttps://img.logo.dev/<domain>renders a real logo.docs_url— the vendor's MCP docs page when they have one.
- Verify end-to-end when you can (Gate B).
The probe covers everything up to the OAuth consent screen.
If you have an account with the vendor, complete one real install in local dev: run the stack, install the server from the store UI, finish the OAuth flow (or paste an API key), and confirm the tool list populates.
Record the verification tier in the PR description:
- Tier 1: probe passed + real install verified (tools listed).
- Tier 2: probe passed only (no vendor account available).
Run the checks.
hogli test products/mcp_store/backend/test/test_catalog_sync.pytest_catalog_entries_are_validcatches malformed entries (bad category, duplicate URL, unnormalized icon_domain) before they hit production.- Open the PR — one server per PR, on an
mcp-store/-prefixed branch (e.g.mcp-store/add-pagerduty), with afeat(mcp-store)title:feat(mcp-store): add <name> to the MCP server catalog. State the probe verdict and verification tier in the description. Foroauth_sharedservers without an existing instance credential source, include the operator checklist so activation isn't forgotten.
Operator checklist for oauth_shared servers (paste into the PR)
This server does not support Dynamic Client Registration, so it ships inactive. To activate (per environment, US and EU):
- [ ] Register an OAuth app in the vendor's developer console
- [ ] Redirect URI: `https://us.posthog.com/api/mcp_store/oauth_redirect/` (and the EU equivalent)
- [ ] Paste client ID + secret into Django admin → MCP server templates → <name>
- [ ] OAuth metadata was auto-discovered by the sync; run the "Discover metadata" admin action only if it's empty
- [ ] Tick "is active"What not to do
- Don't add entries with unprobed URLs — a dead catalog entry is user-visible breakage.
- Don't edit
is_active,oauth_credentials, oroauth_metadataexpectations into the catalog — those are operational state owned by the row, not by code. - Don't add an instance credential source for a newly registered vendor app. Sources are only for an existing client already provisioned across every target environment, with exact trusted issuer, authorization, and token endpoints enforced before any secret is used.
- Don't add icon assets or
icon_keyvalues — icons resolve fromicon_domainvia logo.dev at render time. - Don't batch unrelated servers into one PR unless explicitly doing a scaffold sweep; per-server PRs keep review and reverts clean.
Other versions1 project uses a version of this.
Word for word · 1
- PostHog/posthog★ 40k100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository124 other files it gives its agents.
- AGENTS.mdAGENTS.md
- common/AGENTS.mdAGENTS.md
- hog/AGENTS.mdAGENTS.md
- proto/AGENTS.mdAGENTS.md
- rust/AGENTS.mdAGENTS.md
- .cursor/rules/django-python.mdcCursor rule
- .cursor/rules/react-typescript.mdcCursor rule
- .cursor/rules/rust.mdcCursor rule
- adding-activity-loggingSkill
- adding-api-scopesSkill
- adding-inbound-webhooksSkill
- adding-inbox-sourcesSkill
- adding-ingestion-warningsSkill
- adding-personhog-rpcSkill
- adding-product-alertingSkill
- adding-project-secret-api-key-authSkill
- adding-today-highlightsSkill
- adopting-generated-api-typesSkill
- analyzing-experiment-precompute-canarySkill
- analyzing-experiment-query-performanceSkill
- analyzing-insights-across-teamsSkill
- announcing-behavior-changesSkill
- auditing-llm-gateway-paritySkill
- auditing-warehouse-source-coverageSkill
- authenticating-to-clickhouseSkill
- authoring-ci-workflowsSkill
- building-product-empty-statesSkill
- building-the-toolbarSkill
- clickhouse-migrationsSkill
- debugging-ci-failuresSkill
- debugging-local-replaySkill
- debugging-local-task-agent-runsSkill
- debugging-mcp-analyticsSkill
- debugging-signals-pipelineSkill
- debugging-table-access-deniedSkill
- depot-ciSkill
- depot-container-buildsSkill
- depot-github-runnersSkill
- developing-subscriptionsSkill
- django-migrationsSkill
- django-startup-timeSkill
- documenting-warehouse-sourcesSkill
- editing-agents-mdSkill
- establishing-code-ownershipSkill
- extending-hobby-smoke-testsSkill
- extending-personhog-test-harnessSkill
- finding-llm-gateway-migration-candidatesSkill
- fixing-flaky-testsSkill
- formatting-slack-messagesSkill
- gating-production-deploysSkill
- gating-sensitive-actionsSkill
- generating-clickhouse-query-performance-reportsSkill
- hogliSkill
- implementing-mcp-toolsSkill
- implementing-mcp-ui-appsSkill
- implementing-warehouse-sourcesSkill
- improving-drf-endpointsSkill
- improving-mcp-toolsSkill
- ingestion-pipeline-doctor-nodejsSkill
- instrumenting-first-party-metricsSkill
- The first 60 shown.
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.

