Any-API Server
Adapt any HTTP API into a Model Context Protocol (MCP) toolset for AI agent interaction.
About
This tool provides a minimal and highly configurable Model Context Protocol (MCP) server template designed to seamlessly integrate any HTTP API with an MCP client. It offers a set of generic HTTP tools for common operations like GET, POST, PUT, DELETE, and probing, alongside flexible authentication options (bearer, header, basic, query parameter). The server prioritizes safety with features like retries for GET requests, awareness of `Retry-After` headers for rate limiting, and guarded execution for destructive operations. With zero-boilerplate startup and dynamic tool registration capabilities (from OpenAPI specs or discovery scans), it simplifies the process of making diverse APIs accessible and usable within an MCP ecosystem.
Key Features
- Generic HTTP API tools (GET, POST, PUT, DELETE, Probe)
- Pluggable authentication (Bearer, Header, Basic, Query)
- Safe defaults: retries for GET requests, rate-limit awareness, guarded writes
- Zero-boilerplate startup via STDIO (MCP)
- Dynamic tool registration from OpenAPI specifications or wordlist scans
- 0 GitHub stars
Use Cases
- Automating API discovery and tool generation to expose endpoints to an MCP environment.
- Integrating existing HTTP APIs with AI agent platforms that support MCP.
- Rapidly generating an MCP server for any RESTful API without writing custom code.