SkillAgentSearch skills...

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-skills

If the server publishes to npm under a different name, use that package instead — check the repo README.

About this skill
🔌

MCP Server

Model Context Protocol server

Quality Score

74/100

Category

Operations

Supported Platforms

Claude Code
Claude Desktop
OpenAI Codex

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.

Substance
26/30
Structure
20/20
Description
15/15
Adoption
3/20
Freshness
11/15

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.

SkillScoreStarsUpdatedFormat
api-to-mcp-skills (this skill)by mcp-com-ai7439mo agoMCP Server
Agent-Reachby Panniantong100108.0k1d agoCLAUDE.md
headroomby headroomlabs-ai10078.7ktodayCLAUDE.md
CowAgentby zhayujie10047.8ktodayCLAUDE.md
Scraplingby D4Vinci10092.8ktodayMCP 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.
<!-- MCP.com.ai — GitHub Profile README Source reference: README-mcp-ai.md (MCP.com.ai parent project) --> <p align="center"> <img src="https://img.shields.io/badge/MCP-Model%20Context%20Protocol-1193b0?style=for-the-badge" /> <img src="https://img.shields.io/badge/API--First%20for%20AI-OpenAPI%20%E2%86%92%20MCP-da7756?style=for-the-badge" /> </p> <h1 align="center">API-to-MCP (Swagger-to-MCP) Skill</h1> <p align="center"> <b>API-First for AI.</b><br/> Turn existing <b>OpenAPI v3 specs</b> into <b>MCP servers</b> you can deploy, secure, and operate like real software — with HAPI CLI and zero custom code. </p> <p align="center"> <a href="https://mcp.com.ai"><b>Website</b></a> · <a href="https://docs.mcp.com.ai"><b>Docs</b></a> · <a href="https://registry.modelcontextprotocol.io/?q=ai.com.mcp"><b>MCP Servers</b></a> · <a href="https://run.mcp.com.ai"><b>Run MCP</b></a> · <a href="https://hapi.mcp.com.ai"><b>CLI Tool</b></a> </p>

🪝 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: docker for container deployment
  • Optional: wrangler for 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

  1. Open an issue describing the server or improvement
  2. Provide a minimal spec + example prompts
  3. 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

View on GitHub
GitHub Stars3
CategoryOperations
Updated9mo ago
Forks0

Trust signals

86/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

2 low
api-to-mcp-skills — MCP Server: Install & Safety Check | SkillAgent