MCP Server Authoring Build MCP servers in TypeScript or Python that any MCP-compatible client can consume. When to Use - You want to expose an internal API or tool to Claude Desktop / Claude Code / Cursor - You're building a shareable MCP server (npm, PyPI, or Smithery registry) - You need to wrap read-only data sources as MCP resources - You want agents to invoke your service without custom glue code per client Core Model An MCP server exposes three primitives: | Primitive | Purpose | Side effects | |---|---|---| | Tool | Action the agent calls | May have side effects (writes, network calls)…