Back to Home
sotayamashita icon

openapi-mcp-server

Verified Safe

by sotayamashita

Overview

Dynamically converts OpenAPI specifications into Model Context Protocol (MCP) tools, enabling AI assistants to interact with defined APIs by mapping AI calls to HTTP requests.

Installation

Run Command
bun run src/index.ts --api <path_or_url_to_openapi_spec>

Environment Variables

  • BASE_URL

Security Notes

The server's security is largely dependent on the trustworthiness of the OpenAPI specification and environment variables (`BASE_URL`, `HEADERS`) provided by the deploying operator. It does not use `eval` or direct obfuscation. The main risk is an operator providing a malicious OpenAPI spec or insecure environment variables, potentially leading to unintended outbound API calls. As long as the operator and the provided OpenAPI spec are trusted, it is safe.

Similar Servers

Stats

Interest Score35
Security Score8
Cost ClassLow
Stars6
Forks0
Last Update2025-12-04

Tags

OpenAPIMCPAI ToolsAPI BridgeIntegration