MCP is to LLM agents what LSP is to IDEs: one client (Claude Desktop, Copilot, Cursor) speaks to many servers (filesystem, GitHub, Postgres, custom). Built on JSON-RPC over stdio or SSE, it standardizes tools, resources, prompts, and sampling so any model can integrate any capability.
Server lifecycle: build, sign, distribute, version.
Stdio transport works everywhere (no network, no auth). Add SSE/HTTP only when remote hosting is required.
Inputs and outputs need JSON Schema. The LLM uses these to format calls — vague schemas → wrong arguments.
MCP servers run with user permissions. Validate all args; never trust LLM-generated tool input blindly.
Publish to npm/PyPI; users add via uvx or npx. Keeps install one-line; you control updates.
The official inspector tool catches schema errors and round-trip issues before clients see them.
For multi-second tool calls, send progress notifications. UX wins — user sees activity, not a frozen spinner.
Sign in to share your feedback and join the discussion.