<< Home | Tech
Generated 214 MCP tools from GitHub API spec
| Area | Tech |
| AI used | ruah conv |
| Source | r/mcp |
| Posted | 2026-04-11 |
The move
Use an automated conversion tool to transform OpenAPI specifications into structured MCP tool definitions with risk-based filtering.Steps
- Download the target API's OpenAPI JSON specification file.
- Run an inspection command to identify available endpoints and methods.
- Generate the MCP server scaffold using the conversion tool.
- Filter the generated tools by risk level and tags to optimize context window usage.
- Perform a dry-run to verify HTTP requests before connecting the agent.
Prompt for your AI
Convert the OpenAPI specification file at [URL or file path] into MCP tools, filtering for [tags, e.g., repos, issues] and excluding any tools with a risk level of [e.g., destructive/DELETE].
What happened
The user needed to connect the GitHub API to an MCP server but faced the challenge of manually mapping over 300 endpoints. They used the ruah conv CLI tool to automatically convert the GitHub OpenAPI spec into 214 usable MCP tools. By applying risk-level filters, they reduced the toolset to 43 safe operations, preventing accidental repository deletion.Watch out
Loading too many tools can exceed the AI's context window token budget. Always filter out destructive methods like DELETE to prevent accidental data loss.Give it to your agent
Read https://howtheyuse.ai/p/generated-214-mcp-tools-from-github-api-spec.md and help me do this.