src/entrypoints/mcp.ts (MCP Server Mode)
- Entity ID:
ent-20260420-mcp11d0000dm - Type:
file - Scope:
shared - Status:
active - Aliases: MCP server mode entrypoint, Claude Code as MCP server
Description
Entrypoint src/entrypoints/mcp.ts that runs Claude Code itself as an MCP server, exposing its tools and resources to external MCP clients. Symmetric with the client-side MCP services dir.
Key claims
- Claude Code is bidirectional on MCP: it is both client and server
Relations
- src/entrypoints/mcp.ts (MCP Server Mode) --[depends_on]--> @modelcontextprotocol/sdk ^1.12.1
- MCP Integration --[contains]--> src/entrypoints/mcp.ts (MCP Server Mode)