MCP Shipyard
← Guides

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.

checklistproductiontransportauthannotationsmonitoringtypescript

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 fresh McpServer per request, so nothing is held between requests; see sessions and serverless.
  • The handler validates no Host, Origin or 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/list returns your tools and the server declares the tools capability (count.zero, server.tools-capability).

2. Auth

Pick by data, not by habit.

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

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

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

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.

Scan a server