api-to-mcp-skills
Convert OpenAPI v3 specifications into MCP servers using HAPI CLI. Supports local, Docker, and Cloudflare Workers deployment. Zero code required. Use when you need to expose API functionality as MCP tools or deploy API-based services to multiple hosting platforms.
Install / Use
claude mcp add mcp-com-ai -- npx -y github:mcp-com-ai/api-to-mcp-skillsIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
OperationsSupported Platforms
Our assessment of api-to-mcp-skills
api-to-mcp-skills scores 74/100 on our quality scale, 690th of 755 Operations skills we index.
Its MCP Server is 4.9 KB long, well organised into 15 sections with 4 code examples: a solid amount of guidance for an agent.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 9 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 86/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
api-to-mcp-skills compared with similar skills
All 4 of these similar skills score higher than api-to-mcp-skills; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| api-to-mcp-skills (this skill)by mcp-com-ai | 74 | 3 | 9mo ago | MCP Server |
| Agent-Reachby Panniantong | 100 | 108.0k | 1d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 78.7k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.8k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 92.8k | today | MCP Server |
Frequently asked questions
- How do I install api-to-mcp-skills?
- Run
claude mcp add mcp-com-ai -- npx -y github:mcp-com-ai/api-to-mcp-skills. The install tabs above show the steps for each supported agent. - Which AI agents does api-to-mcp-skills work with?
- It is written for Claude Code, Claude Desktop and OpenAI Codex, as a MCP Server file. Other agents that read the same format can often use it too.
- Is api-to-mcp-skills safe to use?
- It is MIT-licensed and scores 86/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is api-to-mcp-skills still maintained?
- The repository was last updated about 9 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
Skill content
View source on GitHub🪝 Why this exists
Most orgs don’t have an “AI problem”.
They have an integration and governance problem.
- Your tools live behind APIs
- Your teams ship OpenAPI specs (or should)
- Your agents/IDEs need safe, auditable access
- You need control: identity, policy, rate limits, logs, approvals, isolation
This skill is a focused bridge for OpenAPI → MCP workflows:
- OpenAPI v3 → MCP (standard-driven)
- Deploy anywhere (local, Docker, Cloudflare Workers)
- Security-first patterns (authority outside the model)
⚡ What you’ll find here
✅ Skill-aligned workflow
- Environment setup (HAPI CLI + OpenAPI v3 validation)
- Local serve and MCP endpoint verification
- Deployment options (Cloudflare Workers or Docker)
- Verification checklist for operational readiness
✅ Operational patterns
- Safe defaults (timeouts, retries)
- Predictable auth strategies
- Minimal schemas to reduce token bloat
✅ References
- CLI commands, deployment patterns, troubleshooting
🚀 Quickstart (Skill Summary)
Requirements
- HAPI CLI (
hapi) curl- Optional:
dockerfor container deployment - Optional:
wranglerfor Cloudflare Workers
Option A — Start a local MCP server
hapi serve <project-name> \
--openapi <path-or-url-to-openapi-spec> \
--url <backend-api-url> \
--headless \
--port 3030
Verify health and MCP transport:
curl -s http://localhost:3030/health
curl -s http://localhost:3030/mcp/ping
Option B — Deploy
Cloudflare Workers
hapi login
hapi deploy \
--openapi <path-or-url-to-openapi-spec> \
--url <backend-api-url> \
--name <worker-name> \
--project <project-name>
Docker (self-hosted)
docker run --name hapi-<project> -d --rm \
-p 3030:3030 \
hapimcp/hapi-cli:latest serve <project-name> \
--openapi <openapi-url> \
--url <backend-api-url> \
--port 3030 \
--headless
🔐 Security stance (simple but strict)
Reasoning stays with the model. Authority stays with the system.
We optimize for:
- no long-lived secrets in the model
- scoped, short-lived credentials
- policy enforcement at the boundary
- audit logs by default
- transport that fits the environment (cloud, enterprise, airgap)
🧪 Testing & eval (MCP quality is measurable)
Good MCP isn’t just “it runs”. It’s:
- correct tool selection
- stable schemas
- predictable pagination
- safe error behavior
- regression coverage with real prompts
We support evaluation patterns inspired by modern “skills” tooling:
- scenario suites
- tool-call assertions
- latency + cost budgets
- golden traces
🧭 Who this is for
- Platform teams building internal AI enablement
- DevOps/SRE who will be on-call for “AI integrations”
- API teams who already own OpenAPI contracts
- Security teams who need guardrails, identity, and auditability
- Enterprise architects tired of one-off agent glue
🤝 Contribute
We love contributions that make MCP more operational:
- new MCP server examples
- OpenAPI → MCP mapping improvements
- eval suites for servers
- security patterns (auth, policy, isolation)
- docs that help non-developers succeed
How to contribute
- Open an issue describing the server or improvement
- Provide a minimal spec + example prompts
- Submit PR with tests (when possible)
📚 References
📣 Stay close
If you want MCP to be more than a demo, follow the ecosystem:
- MCP.com.ai updates (docs + servers)
- HAPI MCP Stack releases (deploy, registry, lifecycle)
Building MCP isn’t the hard part.
Operating MCP safely is the product.
<p align="center"> <img src="https://img.shields.io/badge/La%20Rebelion%20Labs-Building%20API--First%20for%20AI-0d1117?style=for-the-badge&labelColor=1193b0&color=da7756" /> </p>
Related Skills
Agent-Reach
108.0kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
78.7kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
47.8kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
Scrapling
92.8k🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
