OpenAPIBLOCK
MCP Server (Model Context Protocol) for turning OpenAPI specifications into a MCP Resource
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://smithery.ai/server/@ivo-toby/mcp-openapi-server)
A Model Context Protocol (MCP) server that exposes OpenAPI endpoints as MCP tools, along with optional support for MCP prompts and resources. This server allows Large Language Models to discover and interact with REST APIs defined by OpenAPI specifications through the MCP protocol.
📖 Documentation
- User Guide - For users wanting to use this MCP server with Claude Desktop, Cursor, or other MCP clients
- Library Usage - For developers creating custom MCP servers using this package as a library
- Developer Guide - For contributors and developers working on the codebase
- AuthProvider Guide - Detailed authentication patterns and examples
User Guide
This section covers how to use the MCP server as an end user with Claude Desktop, Cursor, or other MCP-compatible tools.
Overview
This MCP server can be used in two ways:
- CLI Tool: Use
npx @ivotoby/openapi-mcp-serverdirectly with command-line arguments for quick setup - Library: Import and use the
OpenAPIServerclass in your own Node.js applications for custom implementations
The server supports two transport methods:
- Stdio Transport (default): For direct integration with AI systems like Claude Desktop that manage MCP connections through standard input/output.
- Streamable HTTP Transport: For connecting to the server over HTTP, allowing web clients and other HTTP-capable systems to use the MCP protocol.
Quick Start for Users
Option 1: Using with Claude Desktop (Stdio Transport)
No need to clone this repository. Simply configure Claude Desktop to use this MCP server:
- Locate or create your Claude Desktop configuration file:
- On macOS: `~/Library/Application Support/Claude/claudedesktopconfig.jso
13513e077f77OBSERVED · 2026-10-05Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add openapi-mcp-server --env BEATPORT_TOKEN=${BEATPORT_TOKEN} --env CLIENT_KEY_PASSPHRASE=${CLIENT_KEY_PASSPHRASE} --env CLIENT_KEY_PATH=${CLIENT_KEY_PATH} --env REJECT_UNAUTHORIZED=${REJECT_UNAUTHORIZED} -- npx -y @ivotoby/[email protected]{
"mcpServers": {
"openapi-mcp-server": {
"command": "npx",
"args": [
"-y",
"@ivotoby/[email protected]"
],
"env": {
"BEATPORT_TOKEN": "${BEATPORT_TOKEN}",
"CLIENT_KEY_PASSPHRASE": "${CLIENT_KEY_PASSPHRASE}",
"CLIENT_KEY_PATH": "${CLIENT_KEY_PATH}",
"REJECT_UNAUTHORIZED": "${REJECT_UNAUTHORIZED}"
}
}
}
}Exposed tools (13)
11 read · 2 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
List-Users | read | Custom users |
add | write | Add two numbers |
api-docs | read | Full API docs |
custom-users | read | Custom users |
get-api-endpoint-schema | read | Get the JSON schema for a specified API endpoint |
greet | read | A greeting prompt |
invoke-api-endpoint | write | Invoke an API endpoint with provided parameters |
list-api-endpoints | read | List all available API endpoints |
list-users | read | Custom users |
name | read | Person |
other | read | Sum |
qry-alerts-qry-alerts-pst | read | Query alerts |
sum | read | Sum |
Trust audit
BLOCKgrade D · trust 69/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | FAIL |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- declared (8 observation(s))
- Shell
- declared (2 observation(s))
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (15)
return yaml.load(content) as T
const yamlResult = yaml.load(specContent, {.prettierrc.json
.releaserc
rejectUnauthorized: false,
rejectUnauthorized: false,
rejectUnauthorized: false,
rejectUnauthorized: false,
rejectUnauthorized: false,
@ivotoby/openapi-mcp-server, @modelcontextprotocol/sdk, axios, typescript, @types/node
@ivotoby/openapi-mcp-server, @modelcontextprotocol/sdk, typescript, @types/node
@ivotoby/openapi-mcp-server, @modelcontextprotocol/sdk, axios, typescript, @types/node
@modelcontextprotocol/sdk, axios, openapi-types, yargs, @eslint/js, @semantic-release/commit-analyzer, @semantic-release/github, @semantic-release/npm
- **Issue:** pr-check.yml used default permissions (full access)
"initial-access-token", // Initial access token
Gates applied: no_behavioural_pass.
13513e077f77full audit observations/trust-audit/mcp-server/ivo-toby__openapi-1.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-05 | 13513e077f77 | BLOCK | D | 69 | first audit |
Questions
What is the OpenAPI MCP server?
MCP Server (Model Context Protocol) for turning OpenAPI specifications into a MCP Resource
What tools does OpenAPI expose?
13 in total: 11 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is OpenAPI safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (69/100) and found 2 critical or high issues in the source. Each one is listed on this page with the file and line it is on.
What credentials does OpenAPI need?
It reads BEATPORT_TOKEN, CLIENT_KEY_PASSPHRASE, CLIENT_KEY_PATH and REJECT_UNAUTHORIZED from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does OpenAPI run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as @ivotoby/openapi-mcp-server at 0.1.0.
How current is this page?
The grade is for one exact copy of the source (13513e077f77), read on 2026-10-05. The repository is watched and re-audited when it changes.