MCP server checklist
Copy this into your PR or ticket. Each block maps to a step in the build guides (TypeScript / Python).
1. Define
Section titled “1. Define”- Checked for an existing trusted server first
- User jobs listed; one task-shaped tool per job
- Fewer than about 10 tools (this guide’s rule of thumb)
- Each tool classified as read-only, write, or destructive
- Transport chosen: stdio (local) or Streamable HTTP (remote), with the reason logged
2. Scaffold
Section titled “2. Scaffold”- Created from a template (download it from the templates page)
- Builds / installs cleanly; lockfile committed
-
nameandversionset in the server constructor
3. Server & transport
Section titled “3. Server & transport”- Server connects and lists tools in the Inspector
- TypeScript: started with
serveStdio(createServer), so both 2026-07-28 and legacy clients connect - All logging goes to stderr, nothing to stdout
- Tools registered inside
createServer()(TypeScript) or beforemcp.run()(Python)
4–5. Tools
Section titled “4–5. Tools”-
verb_nounsnake_case names (this guide’s convention), consistent verbs, namespaced if collisions are likely - Names use only letters, digits,
_, and-, and are 64 characters or fewer (no dots: the Claude API rejects them) - Descriptions (at least 3–4 sentences) say what it does, what it returns, when to use it, its limits, and its side effects
- Every parameter has a description, plus constraints (
enum,minimum/maximum,format) - Minimal required parameters, with sensible defaults
- Output is concise and readable; capped or paginated
-
structuredContent+outputSchemawhere it will be parsed - Expected failures return
isError: truewith an actionable message (Python:raise ToolError(...)) - No secrets or internal details in error messages
- Annotations set:
title,readOnlyHint,idempotentHint, anddestructiveHint/openWorldHintset tofalsewhere they don’t apply (both default totrue)
6. Resources & prompts (optional)
Section titled “6. Resources & prompts (optional)”- Only added if target clients support them and they help
- URIs and descriptions are clear
7. Config & secrets
Section titled “7. Config & secrets”- All configuration comes from environment variables, with safe defaults
- Fails fast, with a clear stderr message, if required config is missing
- No secrets in code, committed config, outputs, or logs
8. Test
Section titled “8. Test”- Unit tests for handler logic
-
node scripts/mcp-smoke.mjs <command>printsPASS(connects, lists tools, sample call) - Inspector: every tool’s happy path and error path checked
- End-to-end eval prompts pass in each target host (right tool, right arguments, no false calls)
9. Connect
Section titled “9. Connect”- Works in Cursor (
.cursor/mcp.json, with"type": "stdio"for local servers): green, with tools listed - Works in Claude Code (
claude mcp add/.mcp.json, with"type": "http"for remote entries): “✔ Connected” in/mcp - Works in Claude Desktop (if targeted)
- Remote: works as a claude.ai custom connector (if targeted; claude.ai accepts remote servers only, and needs every remote item in section 10)
- SDK agents: MCP tools allowed (for example
allowedTools: ["mcp__notes__*"]) - Config snippets for each host in the README, with absolute forward-slash paths and the right variable syntax (Cursor
${env:NAME}, Claude Code${NAME})
10. Security & ship
Section titled “10. Security & ship”- Threat model reviewed (security guide)
- Destructive actions need confirmation
- Credentials scoped to the minimum
- Path, command, and URL inputs validated
- Remote: HTTPS, token validation, per-user authorisation, and rate limits
- Remote:
Originheader validated - Remote: a missing or invalid token gets
401with aWWW-Authenticateheader pointing to the Protected Resource Metadata - Remote: client registration works (CIMD advertised with
client_id_metadata_document_supported: true; DCR only as a fallback) - Remote: Claude’s redirect URIs registered on the authorisation server (
https://claude.ai/api/mcp/auth_callback, plushttp://localhost/callbackandhttp://127.0.0.1/callbackon any port), and those of any other client you support - Dependencies audited
- Versioned,
CHANGELOG.mdupdated, distribution channel chosen - A colleague installed it from the README alone
- Decision logged in your project’s decision log (for example
DECISIONS.md)