mcp-execution-server
MCP server for generating progressive loading TypeScript files. Achieves 98% token savings by leveraging Claude's natural language understanding for tool categorization.
Installation
# Build from workspace root
# Binary: target/release/mcp-execution
[!IMPORTANT] Requires Rust 1.89 or later.
Usage
Running the Server
# Direct execution
# Or via cargo
Claude Code Configuration
Add to ~/.config/claude/mcp.json:
[!TIP] The server exposes 5 MCP tools for the complete workflow from introspection to skill generation.
Programmatic Usage
use GeneratorService;
use ServiceExt;
use stdio;
async
MCP Tools
introspect_server
Connect to an MCP server and discover its tools.
save_categorized_tools
Generate TypeScript files using Claude's categorization.
list_generated_servers
List all servers with generated progressive loading files.
generate_skill
Analyze generated files and return context for SKILL.md generation.
save_skill
Save generated SKILL.md content to the filesystem.
[!NOTE] Sessions expire automatically after 30 minutes with lazy cleanup.
Workflow
introspect_server → Claude categorizes → save_categorized_tools → TypeScript files
↓
SKILL.md ← save_skill ← generate_skill
Features
- 5 MCP Tools: Complete workflow from introspection to skill generation
- No LLM API Required: Claude handles categorization in conversation
- 98% Token Savings: Progressive loading pattern reduces context usage
- Type-Safe: Full TypeScript types from MCP JSON schemas
- Session Management: Automatic 30-minute session expiry
Related Crates
This crate is part of the mcp-execution workspace:
mcp-execution-core- Foundation types and traitsmcp-execution-introspector- MCP server analysismcp-execution-codegen- TypeScript code generationmcp-execution-files- Virtual filesystemmcp-execution-skill- SKILL.md generationmcp-execution-cli- Command-line interface
MSRV Policy
Minimum Supported Rust Version: 1.89
MSRV increases are considered minor version bumps.
License
Licensed under either of Apache License 2.0 or MIT license at your option.