MCP Tool Forge Conversion Pipeline

MCP tool schemas extracted once, mapped statically or by LLM, generated as native code and skills

MCP Tool Forge Conversion Pipeline MCP tool schemas extracted once, mapped statically or by LLM, generated as native code and skills 01 / Source 02 / Extract 03 / Map 04 / Generate 05 / Consume MCP Server · 67 registered / stdio · 01 / Source · 792 tools MCP Server 67 registered / stdio 792 tools Extractor · MCP SDK stdio_client · 02 / Extract · tools/list Extractor MCP SDK stdio_client tools/list Schema Cache · ~/.mcp-tool-forge/cache · 02 / Extract Schema Cache ~/.mcp-tool-forge/cache Static Mapper · mappings/*.yaml · 03 / Map · 35 known Static Mapper mappings/*.yaml 35 known LLM Mapper · Bedrock Claude Opus 4.6 · 03 / Map · --llm-assist LLM Mapper Bedrock Claude Opus 4.6 --llm-assist Jinja2 Generators · 6 templates · 04 / Generate Jinja2 Generators 6 templates Validator · syntax check / auto-fix · 04 / Generate · 91.4% pass Validator syntax check / auto-fix 91.4% pass Code & Schemas · boto3 / CLI / schemas · 05 / Consume Code & Schemas boto3 / CLI / schemas AWS Skills · SKILL.md (9 curated + 792) · 05 / Consume AWS Skills SKILL.md (9 curated + 792) Claude Code / Kiro-CLI · selective skill loading · 05 / Consume · 0 MCP tokens Claude Code / Kiro-CLI selective skill loading 0 MCP tokens tools/list JSON Schema raw schemas cached once tool schemas lookup mapped tools IAM 29 + DDB 6 unmapped tools opt-in inferred mappings boto3 calls generated code 5 formats validated code tools.py / .sh / .json skill markdown SKILL.md register / copy one-time install Legend primary data async batch data store data flow

One-Time Extraction

  • • Tool schemas are pulled once over stdio via tools/list and cached in ~/.mcp-tool-forge
  • • 67 registered servers yield 792 extracted tools
  • • The MCP server is only needed at conversion time, never at runtime

Two-Tier Mapping

  • • Static YAML mappings resolve 35 known tools (IAM 29 + DynamoDB 6) with zero LLM cost
  • • Only unmapped tools go to Bedrock Claude Opus 4.6 via --llm-assist
  • • Generated code passes syntax validation at 91.4% after auto-fix

Native Consumption

  • • Five output formats: boto3, AWS CLI, OpenAPI schema, AgentCore Gateway, Skill
  • • Skills load selectively (~3,000 tokens) instead of full tool schemas (~58,000 tokens)
  • • Claude Code / Kiro-CLI run the code directly - no tool-definition or round-trip tokens