OpenAPI MCP
A lightweight, dependency-free Node.js script that converts any OpenAPI 3 specification into a functional Model Context Protocol (MCP) server. It reads the spec at startup and dynamically creates tools in memory for each API endpoint, allowing AI clients like Claude or Cursor to interact with the API without code generation. It supports both local stdio and remote HTTP modes, handling authentication via environment variables for API tokens, OAuth2, and custom headers.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Convert OpenAPI 3 specs into MCP tools for AI agents
- Enable Claude Desktop to call API endpoints via stdio
- Self-host MCP server with HTTP transport and auth
- Filter exposed tools using regex patterns
Source and maintenance
- Last repository push
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@asthanaji/openapi-mcp 0.1.1
{
"version": "0.1.1",
"transport": "stdio",
"identifier": "@asthanaji/openapi-mcp",
"registryType": "npm"
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · repository · passed · metadata changed · updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"openapi-mcp": {
"command": "npx",
"args": [
"-y",
"@asthanaji/openapi-mcp@0.1.1"
]
}
}
}Cline
{
"mcpServers": {
"openapi-mcp": {
"command": "npx",
"args": [
"-y",
"@asthanaji/openapi-mcp@0.1.1"
]
}
}
}VS Code
{
"servers": {
"openapi-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@asthanaji/openapi-mcp@0.1.1"
]
}
}
}Claude Desktop
{
"mcpServers": {
"openapi-mcp": {
"command": "npx",
"args": [
"-y",
"@asthanaji/openapi-mcp@0.1.1"
]
}
}
}Let your agent find its tools
Find servers like OpenAPI MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.