Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ emcee Public
forked from mattt/emcee

Turn any OpenAPI-having server into an MCP server 🫳🎤💥

Notifications You must be signed in to change notification settings

lfaoro/emcee

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

emcee

emcee is a CLI tool that provides an MCP stdio transport for a given OpenAPI specification.

Usage:
  emcee [spec-path-or-url] [flags]

Flags:
      --auth string        Authorization header value (e.g. 'Bearer token123' or 'Basic dXNlcjpwYXNz')
  -h, --help               help for emcee
      --retries int        Maximum number of retries for failed requests (default 3)
  -r, --rps int            Maximum requests per second (0 for no limit)
      --timeout duration   HTTP request timeout (default 1m0s)
  -v, --verbose            Enable verbose logging to stderr
emcee https://api.weather.gov/openapi.json
Request
{"jsonrpc": "2.0", "method": "tools/list", "params": {}, "id": 1}
Response
{ 
  "jsonrpc":"2.0", 
  "result": {
    "tools": [
        {"name":"alerts_query", "description":"Returns all alerts", "inputSchema": {"type":"object"}}
        // ...
    ]
  }
}

Requirements

  • Go 1.23+

Installation

Run the following command to build from source:

go build -o emcee cmd/emcee/main.go

Once built, you can run in place (./emcee) or move it somewhere in your PATH, like /usr/local/bin.

About

Turn any OpenAPI-having server into an MCP server 🫳🎤💥

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 93.8%
  • Shell 6.2%