CLI tool for exposing OpenAPI specs as Model Context Protocol (MCP) servers
Top 95.5% on sourcepulse
emcee is a tool that generates Model Context Protocol (MCP) servers for any web application with an OpenAPI specification. It enables AI models like Claude Desktop to interact with external tools and data services, functioning similarly to ChatGPT plugins. This is particularly useful for developers building custom AI agents or integrating services that lack existing MCP server implementations.
How It Works
emcee acts as a bridge, translating AI model requests into standard HTTP calls to an OpenAPI-defined API. It uses the JSON-RPC 2.0 protocol over standard input/output (stdio) for communication. When invoked with an OpenAPI specification URL or path, emcee starts a server that listens for JSON-RPC messages, processes them, makes the appropriate API calls, and returns the results to the AI model. This approach simplifies tool integration by leveraging the OpenAPI specification as the sole interface definition.
Quick Start & Requirements
brew install loopwork-ai/tap/emcee
(macOS with Homebrew), or use the installer script sh (curl -fsSL https://get.emcee.sh | psub)
for Linux/macOS. Docker images are also available.1password-cli
(brew install 1password-cli
) and run op signin
.claude_desktop_config.json
to add MCP server configurations.Highlighted Details
jq
or yq
.npx @modelcontextprotocol/inspector
), for testing and troubleshooting.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
emcee currently only supports MCP tool capabilities; features like resources, prompts, and sampling are not yet implemented. Authentication is not applied when downloading OpenAPI specifications from URLs.
1 week ago
1 day