Plugin-Scoped MCP Server Discovery
This release adds a standalone MCP server that enables Claude Code to discover omc-tools in the /mcp management UI.
Added
-
Standalone MCP Server (
src/mcp/standalone-server.ts)- Stdio-based MCP server using
@modelcontextprotocol/sdk - Exposes all 15 custom tools (12 LSP, 2 AST, 1 Python REPL)
- Proper JSON Schema conversion from Zod schemas
- Stdio-based MCP server using
-
Plugin MCP Configuration (
.mcp.json)- Declares
omc-toolsserver for plugin-scoped discovery - Uses
${CLAUDE_PLUGIN_ROOT}for portable paths
- Declares
How It Works
- In-process SDK MCP (
omc-tools-server.ts) → for subagents spawned via Agent SDK - Standalone stdio MCP (
standalone-server.ts) → for Claude Code plugin discovery
For Users
After updating, you'll see omc-tools in your MCP management UI (/mcp), providing:
- 12 LSP tools (hover, goto definition, references, diagnostics, etc.)
- 2 AST tools (pattern search and replace)
- 1 Python REPL tool
Full Changelog: v3.7.8...v3.7.9