- Home
- Skills
- Agents & Orchestration
- MCPForge — Turn Any OpenAPI REST API into an MCP Server
MCPForge — Turn Any OpenAPI REST API into an MCP Server
Give any AI agent instant access to any REST API: point MCPForge at an OpenAPI 3.x spec and get a working MCP server with zero hand-written integration code.
$29
Works with the AI Agents you already use
MCPForge — Turn Any OpenAPI REST API into an MCP Server
Example session with this skill installed
Create an MCP server for the petstore-mini.yaml spec and tell me which tools it will provide.
- Read your context and instructions
- Compiled the mcpforge
I have inspected the OpenAPI specification and prepared the MCP server configuration.
MCP Server Inspection: petstore-mini.yaml
| Tool Name | Method | Path | Description | Required Inputs |
|---|---|---|---|---|
listPets | GET | /pets | List all pets | limit (optional) |
createPet | POST | /pets | Create a new pet | name, tag |
getPet | GET | /pets/{id} | Find pet by ID | id |
deletePet | DELETE | /pets/{id} | Delete a pet | id |
To run this server locally for Claude Desktop, use the following configuration in your claude_desktop_config.json:
{
"mcpServers": {
"petstore": {
"command": "mcpforge",
"args": [
"serve",
"examples/petstore-mini.yaml",
"--allow-private-hosts"
],
"env": {
"MCPFORGE_AUTH_ApiKeyAuth": "YOUR_API_KEY_HERE"
}
}
}
}
Next steps
- Set your API key in the
MCPFORGE_AUTH_ApiKeyAuthenvironment variable. - Restart your MCP client to load the new tools.
- Use the
listPetstool to verify the connection to the API.
Connects securely to your tools. The creator never sees your data.
About this skill
Integrating third-party REST APIs into AI agents usually requires writing hundreds of lines of brittle glue code. MCPForge automates this by converting any OpenAPI 3.x specification into a functional Model Context Protocol (MCP) server instantly.
What it does
- Automated Tool Generation converts OpenAPI operations into MCP tools with full input schemas.
- Dynamic Request Execution handles HTTP calls, parameter mapping, and JSON body serialization.
- Security Scheme Mapping supports API Key, Bearer, and Basic authentication via environment variables.
- SSRF Protection includes a built-in guard that blocks requests to private or loopback hosts by default.
- Multi-Transport Support allows serving tools over standard I/O for local IDEs or SSE for remote clients.
- Spec Filtering uses include and exclude lists to limit which API endpoints are exposed to the agent.
How it works
- Inspect the API specification using
mcpforge inspectto verify tools and required inputs. - Configure credentials by setting environment variables matching the spec's security scheme names.
- Serve the MCP server using
mcpforge servepointing to a local file or a remote URL. - Connect the server to an MCP-compatible client like Claude Desktop or Cursor using the
stdiotransport.
Frameworks & tools
Built with Python 3.10+, the official MCP Python SDK, httpx for asynchronous networking, and pyyaml for specification parsing.
Why this beats prompting it yourself
Manual prompting often fails to track complex API schemas or correct parameter types, leading to runtime errors. This skill provides a rigid, typed interface that ensures the agent follows the API specification exactly while handling the underlying networking and auth logic.
Use cases
- Connect Claude Desktop to internal microservices for data retrieval.
- Give an AI agent the ability to manage Cloud or SaaS resources via REST.
- Prototype AI-powered API clients without writing integration boilerplate.
- Bridge local development APIs to Cursor for automated testing.
Known limitations
Does not support OAuth2 or OpenID Connect flows. Request bodies are limited to application/json and it does not support streaming responses or MCP resources.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.
No support for OAuth2/OIDC or non-JSON request bodies. Tools only; no MCP resources or prompts. Requires Python 3.10+. Requests restricted to 1MB by default.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 day ago
- Software
Python
Git