Remote MCP server production checklist: transport, auth, tools and operations
A pre-launch checklist for any remote MCP server: transport, OAuth, tool metadata, errors, latency and monitoring, each tied to a scanner rule.
Remote MCP server production checklist
Short answer: before you put a remote MCP server in front of real users, check seven things in order: one stateless Streamable HTTP endpoint on HTTPS, the right auth for the data, a distinct name and description on every tool, explicit annotations, useful errors, fast calls, and monitoring that calls tools rather than pinging a port. Each item below names the scanner rule that catches it. Category guides, such as email or weather, add the tool design for one kind of server.
Basis: the MCP specification, the official TypeScript SDK docs (v2, package @modelcontextprotocol/server, read 2026-12-04) and our scanner rule pages. Anything marked (unverified) is not confirmed in those sources.
1. Transport and endpoint
- One HTTPS URL, such as
https://mcp.example.com/mcp, with a trusted certificate (auth.https). - Streamable HTTP. If you still run the old SSE transport, follow the migration guide.
- No redirect or method surprises on the endpoint: see 405 and 307 errors.
- Stateless where you can. The v2 SDK's
createMcpHandler(factory)builds a freshMcpServerper request, so nothing is held between requests; see sessions and serverless. - The handler validates no
Host,Originor token. Put those checks in front of it. The SDK ships helpers for them. - Browser clients need the right CORS headers: CORS errors.
- Handshake under a few seconds with no cold start (latency.handshake).
-
tools/listreturns your tools and the server declares the tools capability (count.zero, server.tools-capability).
2. Auth
Pick by data, not by habit.
- Public read-only data: no auth. Add no create, update or delete tools to a no-auth server (auth.write-tools-unauthenticated).
- User data or any write: OAuth 2.1 with PKCE S256 (auth.pkce-s256).
- An unauthenticated call returns 401 with
WWW-Authenticateandresource_metadata(auth.challenge-401). - RFC 9728 protected resource metadata is served (auth.prm-missing) and its
resourceequals the MCP URL (auth.resource-mismatch). - Authorization server metadata is reachable from the public internet, WAF included (auth.as-metadata-missing), and the issuer string matches exactly (auth.issuer-mismatch).
- CIMD advertised, with a
registration_endpointfor DCR as fallback (auth.client-registration-claude, auth.client-registration-chatgpt). - Tokens only in the
Authorizationheader (auth.credential-in-url); no key-only access (auth.api-key-only). - No tool takes a password, key or card number as a parameter (schema.secret-param).
The full flow, with the identity provider traps, is in MCP OAuth for Claude and ChatGPT. If sign-in works but calls fail, read invalid_token after OAuth.
3. Tool metadata
- A unique name per tool, letters, digits, underscore, hyphen and dot only, at most 64 characters (naming.duplicate, naming.charset, naming.length). If you may share a client with other servers, read name collisions.
- A distinctive
serverInfo.namewith no "MCP" or "Plugin" suffix (server.name-generic, server.name-suffix). - A description that says what the tool does, for which inputs and when not to use it (desc.missing, desc.too-short).
- No marketing, pricing or plan text (desc.promotional, desc.pricing-mention).
- No instructions to the model about other tools, secrecy or external pages (desc.injection-directive, security.override-instructions, desc.external-instructions).
- No hidden characters (security.hidden-content).
- An
inputSchemaon every tool,requirednames that exist inproperties(schema.missing, schema.required-not-in-properties). - No generic executor (catchall.generic-executor).
- Few tools. VS Code reportedly caps at 128 across all servers (count.vscode-limit).
4. Annotations
Set title, readOnlyHint, destructiveHint and openWorldHint on every tool, explicitly true or false (annotations.missing, annotations.chatgpt-explicit-hints). Reads are read-only, deletes and irreversible sends are destructive, and nothing is both (annotations.contradictory). Details: annotations explained.
5. Errors, latency and size
- Errors return
isError: truewith what was wrong and how to fix it (errors.unhelpful-message), and no secrets (errors.secrets-in-output). - Valid input never fails (errors.fixture-failed).
- Calls finish under 3 seconds; above 15 fails (latency.tool-call). Slower work: timeouts.
- Responses are capped: response size limits.
- A 429 tells the client what to do: rate limits.
6. A minimal server
import { createMcpHandler, McpServer } from '@modelcontextprotocol/server';
import * as z from 'zod/v4';
const handler = createMcpHandler(() => {
const server = new McpServer({ name: 'acme-status', version: '1.0.0' });
server.registerTool(
'get_service_status',
{
title: 'Get service status',
description:
'Use this to check whether a named Acme service is operating normally. Returns status and the time of the last check. Does not change anything.',
inputSchema: z.object({
service: z.enum(['api', 'dashboard']).describe('Service to check')
}),
annotations: { readOnlyHint: true, destructiveHint: false, openWorldHint: false }
},
async ({ service }) => ({
content: [{ type: 'text', text: JSON.stringify(await checkService(service)) }]
})
);
return server;
});
process.on('SIGINT', async () => {
await handler.close(); // aborts in-flight exchanges, then exit
process.exit(0);
});
export default handler;
checkService is yours. handler.close() and export default handler are from the SDK's HTTP and web-standard pages; whether your host sends SIGINT or another signal on shutdown is (unverified).
7. Selection and monitoring
Models see your name, description and schema, and nothing else. The leaderboard method measures which server's tool a model calls first when several are connected, offline and on one model family, so treat it as a test of your wording, not of server quality. Rewrite descriptions with the description guide, and re-test after you add or rename a tool.
Then monitor: a green port check says nothing about a broken connector. Monitor a production MCP server covers handshake, tool list drift, tool calls, auth, latency and listings, and testing in CI keeps regressions out of review.
Submission checklist
- Every section above is ticked, and the scan at https://mcpshipyard.com/scan has no blockers.
- Reproduce client failures with Inspector passes, Claude fails and works in Inspector, fails in Claude.
- Claude: connector directory submission checklist.
- ChatGPT: app submission checklist.
- Other listings: Grok Build (formerly Cursor), official registry, where to list.
Run this checklist against your live server at https://mcpshipyard.com/scan.
Check your server against these rules
Scan runs the checks from this guide against a live URL and lists each failing rule with its fix.