Scaffold and build MCP (Model Context Protocol) servers with common developer tools.
Scaffold a new MCP server:
npx @anthropic/mcp-cli create my-server
Or use the scaffold script for a batteries-included setup:
bash scripts/scaffold.sh my-server python # Python MCP server
bash scripts/scaffold.sh my-server typescript # TS MCP server
An MCP server exposes tools that LLMs can call. Each tool has:
name: Tool identifierdescription: What the tool does (LLM reads this to decide when to use it)inputSchema: JSON Schema for parametersSee references/database-tools.md for PostgreSQL, SQLite, and MongoDB tool patterns.
See references/file-tools.md for read, write, search, and transform tools.
See references/api-tools.md for REST/GraphQL wrapping patterns.
Test tools locally before deploying:
npx @anthropic/mcp-cli inspect ./my-server
Publish to npm (TypeScript) or PyPI (Python), then configure in MCP clients.
共 1 个版本