Rules catalog
153 checks. Each finding in a report links here by its id.
- blockerannotations.missing
Every tool declares annotations
Add `annotations` to every tool: `{ title, readOnlyHint, destructiveHint, openWorldHint }`. Claude's portal flags tools without them; ChatGPT lists missing annotations as a rejection reason. In the TypeScript SDK pass them to `registerTool(name, { annotations: {...} }, handler)`.
- blockerapps.template-missing
Widget tool points to a resource that cannot be read
Register the resource at the exact URI in `_meta.ui.resourceUri` (or `openai/outputTemplate`) so resources/read returns the HTML.
- blockerauth.as-metadata-missing
Authorization server metadata is reachable
Serve RFC 8414 (or OIDC discovery) metadata for the first issuer in `authorization_servers`, reachable from Anthropic's egress range (160.79.104.0/21). A WAF on the identity provider is a common cause.
- blockerauth.https
Server URL is HTTPS
Serve the MCP endpoint over HTTPS with a certificate from a recognised authority. Claude's portal only accepts https:// URLs and ChatGPT cannot reach plain HTTP.
- blockerauth.pkce-s256
PKCE S256 is advertised
Add `"code_challenge_methods_supported": ["S256"]` to authorization server metadata and enforce PKCE. ChatGPT treats servers without it as unsupported; Claude sends S256 on every request.
- blockerauth.prm-missing
Protected resource metadata is served
Serve RFC 9728 metadata at `/.well-known/oauth-protected-resource[/path]` (or any HTTPS URL) and answer unauthenticated calls with `401` plus `WWW-Authenticate: Bearer resource_metadata="<url>"`. Without it Claude shows "Couldn't reach the MCP server".
- blockercatchall.generic-executor
No catch-all executor tools (api_request, execute, raw_query)
Replace the executor with purpose-built tools, one per operation, each with its own description, schema and annotations. Claude rejects catch-all `api_request` tools; ChatGPT (6.2) rejects generic executors and undeclared operations.
- blockercatchall.method-param
No tool mixes safe and unsafe HTTP methods
Split the tool into a read-only tool (GET) and separate create/update/delete tools. Documenting safe versus unsafe methods inside one description does not satisfy Claude review.
- blockerdesc.external-instructions
Descriptions do not pull instructions from external URLs
Keep all behavioural guidance inside the description. Do not tell the model to fetch or follow instructions from a URL (Claude policy 2.F).
- blockerdesc.injection-directive
Descriptions do not instruct the model how to behave
Describe what the tool does; do not tell the model to "always call" it, ignore instructions, hide things from the user or run other tools first. Claude rejects these as prompt-injection patterns; ChatGPT (3.3, 3.4) rejects steering metadata.
- blockerdesc.missing
Every tool has a description
Write a one to three sentence description for each tool: what it does, when to call it, and its limits. Both directories reject tools without one (ChatGPT 6.1, Claude 2.A).
- blockererrors.fixture-failed
Tools succeed with valid parameters
Fix the tool so the fixture call returns a normal result. Claude reviewers run every tool and reject any that fail with valid input; ChatGPT rejects unreliable tools (1.2).
- blockererrors.secrets-in-output
Tool output contains no secrets
Strip keys, tokens and connection strings from results and error text. Never echo upstream error bodies or DSNs. OpenAI: keep secrets, access tokens and unnecessary personal data out of results.
- blockermanual checkhuman.demo-account
Test account with sample data and no MFA
For authenticated servers create a fully featured demo account with sample data. ChatGPT (1.4) rejects sign-up-required or 2FA-gated logins; Claude policy 3.D asks for a standard test account, and Verified review emails you for access (Community listings do not need one). Never put credentials in the Claude portal; keep them for the review email or ChatGPT form.
- blockermanual checkhuman.privacy-policy
Public privacy policy URL
Publish an HTTPS privacy policy covering data collected, purposes, recipients, retention and user controls, plus contact details. Claude's portal asks for the URL in the listing step and policy 3.A requires it for any remote service (missing or incomplete policies are rejected immediately for local connectors); ChatGPT (4.1) requires it before install. Make sure it matches what the server actually logs.
- blockernaming.length
Tool names are 64 characters or fewer
Shorten the name to 64 characters or fewer. Claude's directory policy (5.C) and review criteria reject longer names; the MCP spec allows 128.
- blockerpolicy.ai-media-generation
No AI image, video or audio generation tools
Claude (4.B) does not accept connectors that generate images, video or audio with AI models (text-to-image, image editing, people generation, TTS, music). Design-focused tools that only produce visual aids (slides, diagrams, charts, UI mockups, logos, design assets) are allowed; say so in the description and do not offer standalone image generation.
- blockerpolicy.money-movement
No tools that move money or assets
Remove tools that transfer funds, place trades or make payments. Claude's checklist rejects connectors that transfer money, crypto or other assets (the policy text, 4.A, adds "autonomously, without human-in-the-loop safeguards", and says crypto is generally excluded); ChatGPT (5.2b) bars money transfers, crypto transfers and trade execution. Read-only balance and history tools are fine.
- blockerschema.secret-param
No parameters that collect credentials or restricted data
Remove parameters named api_key, password, token, secret, ssn, card number, otp. ChatGPT (4.2b) forbids collecting credentials, payment data and government IDs through tools; send credentials in the OAuth flow or an auth header instead.
- blockersecurity.exfil-url
Metadata does not instruct the model to send data to a URL or address
Remove instructions that tell the model to call, fetch or embed an external URL with conversation data, results or secrets, image or tag tricks that leak data in a query string, curl or fetch snippets, and bcc or forward rules. URLs on your own domain and documentation links are ignored. Data-leaving-the-session instructions are blockers in Snyk Agent Scan and the Promptfoo exfiltration plugin.
- blockersecurity.override-instructions
Metadata does not try to override the model's instructions or claim priority over every other tool
Delete text that tells the model to ignore or forget earlier instructions, to reveal or repeat its system prompt, to call this tool before every other tool, or to do so regardless of what the user asks. Metadata describes what a tool does; it does not give the model orders. This is prompt injection through tool metadata (Invariant Labs, Snyk E001, OWASP MCP03), and it is checked in every model-visible field: descriptions, parameter descriptions, enums, examples, defaults, output schemas, resources, prompts, instructions and _meta.
- blockersecurity.secrecy-instruction
Metadata does not tell the model to hide things from the user
Delete any text that tells the model not to tell, mention or show something to the user, to act silently or to keep a step secret. Concealment is the signature of a poisoned tool (Apify scanner secrecy check, Snyk E001, Claude policy 2.G). If a step is internal, describe it plainly instead.
- blockerserver.instructions-injection
Instructions contain no hidden or manipulative directives
Instructions may explain usage but must not say "always call", override other tools, hide information from the user or contain hidden text (Claude policy 2.D-2.G; ChatGPT 3.3, 3.4).
- majorannotations.claude-hint-missing
Every tool sets readOnlyHint or destructiveHint
Set `readOnlyHint: true` on tools that only read, and `destructiveHint: true` on tools that modify or delete data. A title alone does not satisfy Claude's portal check, which flags tools missing both hints.
- majorannotations.destructive-not-flagged
delete/remove tools set destructiveHint: true
Set `destructiveHint: true` and `readOnlyHint: false` on tools that delete, overwrite, cancel or revoke. ChatGPT: being able to undo an action does not justify destructiveHint false.
- majorannotations.read-tool-not-readonly
get/list/search tools set readOnlyHint: true
Set `readOnlyHint: true` (and `destructiveHint: false`) on tools that only retrieve or compute. Clients may ask for confirmation on every call to tools that are not marked read-only.
- majorannotations.title-missing
Every tool has a human-readable title
Set `title` on each tool (top-level `title` or `annotations.title`), for example "Get player stats". Claude requires a title and a hint on every tool.
- majorannotations.write-marked-readonly
Write tools are not marked read-only
Set `readOnlyHint: false` on tools that create, update, send or delete. A write tool marked read-only runs without confirmation and is a hidden side effect (ChatGPT 1.2, 6.3).
- majorapps.csp-insecure-scheme
Widget CSP allows plain http: or ws: origins
Serve the dependency over https:// (or wss://) and declare that origin.
- majorapps.csp-missing
Widget loads external origins but declares no CSP
Declare `_meta.ui.csp` with `connectDomains` for API calls and `resourceDomains` for scripts, styles, images and fonts. Without it the host applies a default that blocks all external network access.
- majorapps.csp-undeclared-domain
Widget HTML uses origins missing from its CSP
Add each origin the HTML loads to `resourceDomains` (script, link, img) or `connectDomains` (fetch, XHR, WebSocket), or stop using it.
- majorapps.csp-wildcard
Widget CSP allowlist uses wildcards
List the exact origins. OpenAI asks for allowlists "as narrow as possible" and reviews the declared policy against UI behavior at submission.
- majorapps.inline-csp-unsafe
Inline CSP in the widget HTML allows unsafe-eval or unsafe-inline
Remove `'unsafe-eval'` from any `<meta http-equiv="Content-Security-Policy">`. Prefer bundled scripts to `'unsafe-inline'`.
- majorapps.mime-type
Widget resource has the wrong MIME type
Serve the template with mimeType `text/html;profile=mcp-app`. `text/html+skybridge` is the old Apps SDK value; the current docs only name the profile type.
- majorapps.no-structured-output
Widget tool declares no outputSchema
Add an `outputSchema` and return the data the widget renders in `structuredContent`. Put widget-only data in `_meta`, which the model does not see.
- majorapps.template-uri-scheme
Widget template URI is not ui://
Use a `ui://` URI for the template resource. The scheme is reserved for MCP Apps.
- majorauth.api-key-only
Authenticated servers support OAuth, not only API keys
Add OAuth 2.1 with protected resource metadata, PKCE S256 and CIMD (or DCR). Claude policy 5.D and the submission page require OAuth 2.0 for authenticated directory servers; static request-header credentials work only for custom connectors a customer adds by URL. ChatGPT supports OAuth only (no API keys). Alternatively make the data public with no auth.
- majorauth.challenge-401
Unauthenticated calls get 401 with a resource_metadata pointer
Return HTTP 401 (not 200 or 403) with `WWW-Authenticate: Bearer resource_metadata="..."`. Claude ignores WWW-Authenticate on a 200 and only falls back to well-known probing when the pointer is absent.
- majorauth.client-registration-claude
DCR or CIMD is available for Claude and IDE clients
Expose a `registration_endpoint` (DCR) or advertise `client_id_metadata_document_supported: true` with `none` in `token_endpoint_auth_methods_supported` (CIMD). Claude selects CIMD only when both are present and otherwise falls back to DCR. Without either you must enter an OAuth client in the Claude portal (Anthropic-held credentials) and Grok Build (formerly Cursor) and VS Code users must paste a client id.
- majorauth.credential-in-url
No API key or token in the URL
Accept credentials in an `Authorization` or `x-api-key` header, or use OAuth, not `?key=`. URLs end up in logs, proxies and history, and the MCP authorization spec prohibits tokens in the query string. Keep a query-key fallback only for legacy clients and do not publish it in listings.
- majorauth.discovery-latency
OAuth endpoints answer within 10 seconds
Claude gives discovery, registration and token endpoints 10 seconds (30 for refresh). Aim for under 3 seconds: remove cold starts and slow downstream calls from the auth path.
- majorauth.discovery-urls-unsafe
Discovery URLs are HTTPS and publicly routable
Serve the resource metadata, authorization servers and every endpoint in their metadata over HTTPS on public hostnames. MCP security best practices tell clients to reject http:// and private, loopback and link-local targets (SSRF), so such servers fail to connect or get blocked.
- majorauth.resource-mismatch
Metadata resource equals the MCP server URL
Set `resource` in protected resource metadata to exactly the URL users enter, including the path (for example https://mcp.example.com/mcp). Claude and ChatGPT copy it into the token audience.
- majorauth.write-tools-unauthenticated
Write tools are not open without authentication
Require OAuth for tools that create, update or delete. The spec says servers MUST implement access controls; both directories accept no-auth only for public read-only data.
- majorcatchall.freeform-no-api-reference
Freeform query tools name the target API
If a tool takes a path, URL, SQL or request body from the caller, its description must name the target API and link to its docs ("Queries the Slack Web API, see https://api.slack.com/methods").
- majorcatchall.mode-parameter
Operations are separate tools, not an action parameter
Split a tool with an `action`/`operation` enum of 4 or more values into one tool per operation so each gets its own description and annotations (ChatGPT 6.2; OpenAI prefers list_/get_/update_ over one many-mode tool).
- majordesc.promotional
Descriptions are not promotional
Delete superlatives and marketing words (best, leading, premium, revolutionary). State what the tool returns. ChatGPT review (1.3) and Claude policy (4.C) both reject promotional text.
- majordesc.steers-selection
Descriptions do not steer the model away from other tools
Remove "prefer this over", "instead of other tools" and "never use web search". Claude policy 2.E and ChatGPT 3.4 / 6.1 reject descriptions that interfere with other tools or push broad triggering.
- majordesc.too-short
Descriptions say enough to choose the tool
Expand to at least a full sentence that names the data or action and when to use it, for example "Get one player's season stats. Use after search_players has returned an id."
- majorerrors.unhelpful-message
Error messages are specific and actionable
Return `isError: true` with text that says what was wrong and how to fix it ("Unknown team 'XYZ'. Use list_teams for valid codes."). Generic errors like "Internal Server Error" fail Claude review (5.A) and models cannot self-correct from them.
- majormanual checkhuman.example-prompts
At least three working example prompts
Write three or more prompts that work end to end, each naming the tool that should fire. Claude policy 3.E requires at least three. ChatGPT (1.3) wants example prompts and its MCP review requires exactly five positive and three negative cases (prompts that should not trigger any tool), so write eight.
- majormanual checkhuman.first-party-api
You own or license the data and API
Be ready to show the MCP domain matches your service and that upstream data is yours or licensed for redistribution. Claude requires first-party APIs; ChatGPT (3.5) rejects unofficial connectors and unauthorised scraping.
- majormanual checkhuman.public-docs
Public documentation page
Publish a setup and usage page (a docs page or blog post is enough) before the publish date. Claude requires clear setup and troubleshooting instructions (3.C).
- majormanual checkhuman.support-contact
Working support contact
Prepare a monitored support email or help URL and keep it current. Required by Claude 3.B and ChatGPT 2.2; reviewers email it.
- majorlatency.handshake
initialize completes quickly
An initialize timeout is the most common connection failure. Remove cold starts (keep one instance warm), skip database work in initialize and keep any WAF from holding the response.
- majorlatency.tool-call
Tool calls finish in a few seconds
Cache hot queries, add indexes and cap result sizes. Slow tools time out in chat clients and ChatGPT may remove apps for slow, unreliable behaviour (1.2, 1.5). Target under 3 seconds; return a job id for long work.
- majornaming.charset
Tool names use only A-Z a-z 0-9 _ - .
Rename the tool to letters, digits, underscore, hyphen or dot only, with no spaces or commas (for example `get_player_stats`).
- majornaming.promotional
Tool names are not promotional or comparative
Remove words like best, official, top, ultimate from tool names. ChatGPT review rejects promotional or comparative names (6.1).
- majorpolicy.conversation-harvest
Tools do not ask for the conversation
Remove instructions to send chat history, memory or prior messages to the tool. Claude 1.E/1.G and ChatGPT 6.4 forbid collecting conversation data beyond what the function needs.
- majorpolicy.restricted-category
No prohibited goods or services
Remove tools for adult content, tobacco, weapons, drugs or counterfeit goods (ChatGPT 5.2; Claude policy 4.D adult content and 4.E safeguard evasion).
- majorschema.conversation-param
No parameters that ask for conversation history or memory
Remove parameters that take chat history, transcripts or memory. Claude policy 1.E/1.G and ChatGPT 6.4 forbid collecting conversation data beyond what the tool needs.
- majorsecurity.credential-file-reference
Metadata does not point the model at credential files or ask for secrets
Remove references to ~/.ssh, id_rsa, .env files, cloud credential files, MCP config files, /etc/passwd and similar, and any instruction to collect the user's API keys, tokens or passwords. The Invariant Labs proof of concept told the model to read ~/.cursor/mcp.json and ~/.ssh/id_rsa and pass them in a hidden parameter (Snyk E001, Apify credential/file access check). A tool that needs a key should take it through OAuth or a header, not through the model.
- majorsecurity.cross-tool-shadowing
Descriptions do not instruct behaviour for other tools or servers
A description may say how this tool relates to this server's own tools. Remove text that tells the model what to do when it uses another tool or another server ("when using the email tool, also bcc ..."), that claims precedence over other tools, or that changes how other servers behave. This is tool shadowing / cross-origin escalation (Snyk E002, Invariant Labs, Promptfoo cross-server plugin, Claude policy 2.D/2.E).
- majorsecurity.side-channel-param
No parameters that smuggle chat content or secrets through notes, context or history fields
Remove or rename parameters called notes, context, history, conversation, sidenote, debug, metadata and the like when their description asks the model to pass chat content, the system prompt, files or secrets. Poisoned tools use an innocent-looking parameter as a covert channel for data the user never approved (Invariant Labs "sidenote" example, Apify side-channel check). A real notes field that only describes business data is fine.
- minorannotations.all-identical
Annotations are set per tool, not copied to all
Check that the hints on a mixed read/write server are not one blanket value. If every tool has the same hints but names include write verbs, review each tool.
- minorapps.external-script-unpinned
Widget loads a third-party script without integrity or a pinned version
Bundle the script into the template, or load it from a pinned URL with an `integrity` hash.
- minorapps.legacy-keys-only
Widget metadata uses only openai/* keys
Add the standard `_meta.ui` keys (`resourceUri`, `csp`, `domain`) next to the `openai/*` aliases so MCP Apps hosts such as Claude can render the widget.
- minorapps.template-size
Widget template is very large
Inline only what must be inline. Load big bundles from a declared `resourceDomains` origin.
- minorapps.visibility-app-only
Tool with a widget is hidden from the model
A tool whose `_meta.ui.visibility` is only ["app"] never runs from a prompt, so its widget never opens. Use ["model", "app"] on the render tool and keep ["app"] for helper tools.
- minorauth.cimd-preferred
CIMD is offered alongside DCR
Add Client ID Metadata Document support. MCP 2026-07-28 deprecates Dynamic Client Registration in favor of CIMD; Claude registers a new DCR client on every fresh connection, which floods your authorization server under directory traffic; OpenAI prefers CIMD too. Keep DCR for older clients.
- minorauth.multiple-issuers
Metadata lists one primary authorization server first
Put the issuer you want Claude to use first in `authorization_servers`. Claude uses only the first entry and never falls back.
- minorauth.refresh-token
Refresh tokens are obtainable
Advertise `offline_access` in `scopes_supported` or `refresh_token` in `grant_types_supported` and rotate refresh tokens. Claude refreshes on 401 and five minutes before expiry; without refresh users re-authenticate constantly.
- minorauth.transport
Streamable HTTP transport
Serve Streamable HTTP at one /mcp endpoint. The HTTP+SSE transport is Deprecated in MCP 2026-07-28 and Claude accepts it only temporarily (policy 5.F).
- minorcount.definition-tokens
Tool definitions are a reasonable size
Shorten descriptions and schemas. Every tool definition is loaded into the model's context on each turn; Claude policy 5.B asks for proportionate token use. Aim for under about 20,000 tokens total; no directory states a limit, but Claude can defer large tool sets only when asked.
- minordesc.destructive-undisclosed
Destructive tools say what they change
For delete/remove/cancel tools, state in the description what is removed and whether it can be undone. ChatGPT 1.2: side effects must never be hidden or implicit.
- minordesc.duplicate
Tools do not share identical descriptions
Write a distinct description per tool that says how it differs from its siblings. Identical text makes models choose at random (Claude policy 2.C).
- minordesc.mentions-assistants
Descriptions do not mention other AI assistants
Remove references to ChatGPT, Claude, Gemini, Grok Build (formerly Cursor) and similar from tool descriptions. Write for any client. ChatGPT review (1.3, 3.4) rejects comparisons and per-client steering; Claude policy 2.C rejects text that conflicts with other software.
- minordesc.title-only
Description adds more than the tool name
Rewrite descriptions that only repeat the name ("get player") so they say what comes back and when to use it.
- minordesc.too-long
Descriptions stay proportionate
Trim descriptions to the essentials (under about 2,000 characters). Move long reference material to docs or server instructions. Claude policy 5.B asks for token use proportionate to the task; no directory states a character limit.
- minormanual checkerrors.no-fixtures
Fixture calls cover the tools
Add one safe fixture call per tool in Shipyard. Reviewers exercise every tool, and without a fixture we cannot check results, latency or error text. Needs the owner to mark safe calls.
- minorerrors.stack-trace-leak
Errors do not leak stack traces or internals
Log stack traces server-side and return a short message. The spec requires sanitised tool output.
- minormanual checkhuman.listing-copy
Listing name and description follow platform rules
Write listing copy with no pricing, free trials, comparisons or superlatives, and a name that is not generic and does not end in "MCP". Claude's portal limits: name 100 characters, one-liner 200, description 2,000; the detail-card description cannot be edited by Anthropic after submission.
- minormanual checkhuman.security-contact
Security response commitment
Publish a verified security contact (policy 3.B), respond to issues promptly and tell Anthropic about material changes to tools, descriptions, data practices or endpoints; they can trigger re-review (3.G, 3.H). Mail for escalations: mcp-review@anthropic.com.
- minornaming.read-write-prefix
Read tools and write tools are told apart by their verb
Use get/list/search for reads and create/update/delete for writes so reviewers and clients can tell them apart. A name like `manage_items` hides which operation runs.
- minornaming.too-generic
Tool names are specific, not single generic words
Replace names like `search` or `query` with what they act on: `search_players`, `query_orders`. Generic names collide with other connectors in the same chat.
- minoroutput.response-size
Fixture responses stay a sensible size
Paginate or summarise. Claude review: do not return a full database dump when a summary was requested. Responses over about 100 KB burn the model's context.
- minorpolicy.advertising
No ads or sponsored content
Remove sponsored placements and affiliate links from tool output and descriptions (Claude 4.C, ChatGPT 5.4).
- minorpolicy.unofficial-source
Tools use first-party or licensed data
Do not describe tools as scraping, unofficial or bypassing limits. ChatGPT 3.5 rejects unofficial connectors and unauthorised scraping; Claude requires you to call your own or legitimately proxied APIs. Prepare licence evidence.
- minorschema.free-object
No untyped or open-ended object parameters
Replace `object`/`any` parameters with explicit properties. Open payloads (`filters: {}`) hide what the tool accepts and push the tool toward catch-all behaviour.
- minorschema.limit-unbounded
Page-size parameters have a maximum
Add `maximum` (and `default`) to `limit`-style parameters so one call cannot return a database dump. Claude policy 5.B asks for proportionate token use.
- minorschema.required-param-undescribed
Required parameters have descriptions
Add a `description` to every required parameter with its format and an example value ("Season year, e.g. 2025"). Models fill parameters from these descriptions.
- minorschema.too-many-params
Tools take a manageable number of parameters
Split tools with more than 15 parameters. ChatGPT asks to limit input fields to what the tool's purpose needs (4.2a, 6.4).
- minorsecurity.toxic-flow
No untrusted-content reader next to an ungated write or send tool
When one server can read content an attacker controls (web pages, email, issues, search results) and also send, publish, delete or run something, injected text in that content can drive the write tool. Set destructiveHint: true (and openWorldHint: true on the reader), and state in the write tool's description that it needs the user's confirmation. Splitting readers and writers into separate servers removes the flow entirely (Invariant Labs toxic flow analysis, Snyk Agent Scan toxic flows).
- minorserver.instructions-long
Instructions are short enough to be read
Trim instructions to under about 4,000 characters and front-load the essentials (OpenAI: keep the most important details in the first 512 characters). No directory states a hard limit.
- infoapps.csp-unused-domain
Widget CSP declares origins the HTML never uses
Remove unused origins, unless the widget calls them through script you load later. Smaller allowlists pass review faster.
- infodesc.no-when-to-use
Descriptions say when to use the tool
Add a short trigger sentence: "Use this when the user asks for ..." and, where tools are chained, what to call first. OpenAI's tool-descriptor guidance and Claude policy 2.A both ask for when-to-invoke.
- infoschema.free-text-unbounded
Free-text parameters have a maxLength
Add `maxLength` (for example 500) to free-text inputs such as `query` or `message`. The spec requires servers to validate inputs; bounded schemas also tell clients the limits.