mcp-server Sub-Project

Description

Self-contained TypeScript sub-project at mcp-server/ that provides an MCP (Model Context Protocol) server for exploring the Claude Code source itself. Built with plain tsc (npm run build) into mcp-server/dist/; uses stdio transport. Main files: src/server.ts (tools/resources/prompts), src/index.ts (stdio entrypoint). Known leak state: fails tsc with duplicate function impls, missing imports, and MCP SDK type mismatches, requiring manual fixes. Originally pushed with a leaked GitHub OAuth token in .mcpregistry_github_token requiring history rewrite.

Key claims

Relations

Sources

src-20260420-38c27c95606b