Skip to content

Repository files navigation

apimcp

CI Go Reference

English | 简体中文

Convert an OpenAPI document into an MCP server. MCP clients can discover API operations as tools and call the existing HTTP service without a second hand-written MCP implementation.

The current adapter supports OpenAPI 3.0.x and 3.1.x JSON/YAML documents within the documented feature boundary. Swagger 2.0 conversion is not included yet.

v0.14.0 is a pre-1.0 compatibility release. It is suitable for local and controlled deployments, but a public Streamable HTTP endpoint must be placed behind an authenticating reverse proxy.

go run ./cmd/apimcp `
  --spec examples/jsonplaceholder/openapi.yaml

The command above uses the included JSONPlaceholder specification. See the examples guide for available tools and arguments.

See the full English documentation for supported OpenAPI features, authentication, security controls, result contracts, and library usage.

See CONTRIBUTING.md for the contribution workflow.

About

Convert OpenAPI documents into MCP servers and tools in Go.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages