any-api-mcp
Verified Safeby ryddle
Overview
Enables AI assistants to interact with any API described by an OpenAPI v3 specification by dynamically converting API endpoints into MCP tools.
Installation
node build/index.jsEnvironment Variables
- CONFIG_PATH
- API_URL
- OPENAPI_SPEC_PATH
- SERVER_NAME
- AUTH_TYPE
- API_KEY
- API_SECRET
Security Notes
The server correctly avoids hardcoding sensitive information by encouraging environment variables and configuration files, with explicit support for placeholder resolution in request bodies. It uses standard libraries (axios, JSON.parse) for network and data handling. The modular authentication system is well-designed. The primary security considerations for deployment involve securely configuring the API keys/secrets, ensuring the upstream API is trusted, and managing access control to the MCP server itself. The server logs authentication status and errors to console.error, which could expose sensitive details if logs are not adequately secured.
Similar Servers
mcpo
Exposes Model Context Protocol (MCP) tools as OpenAPI-compatible HTTP servers.
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, enabling Large Language Models to interact with REST APIs.
openapi-mcp-server
Converts OpenAPI specifications into Model Context Protocol (MCP) tools, enabling AI assistants to interact with APIs.
aap-mcp-server
A Model Context Protocol (MCP) service providing an OpenAPI-based interface for AI agents to interact with Ansible Automation Platform (AAP) APIs.