1. Conduid
  2. AI
  3. Auto MCP
MCP server · AI

Auto MCP

Transform any OpenAPI/Swagger definition into a fully-featured Model Context Protocol (MCP) server

Unclaimed Apache-2.0 last commit 10 months ago ai
74Good

Scored 19 hours ago · breakdown

About Auto MCP

Auto MCP is an MCP server published by brizzai in the AI category: transform any OpenAPI/Swagger definition into a fully-featured Model Context Protocol (MCP) server.

The repository has 194 stars and 23 forks, with the last commit 10 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/brizzai/auto-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Auto MCP

Powered by Claude · Grounded in docs

I know everything about Auto MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 19 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.2.0v0.2.0 · 26 May 2025What's Changed 📝 Docs: Simplify README.md by adding CONFIGURATION.md by @danielShap in https://github.com/brizzai/auto-mcp/pull/7 🔥 Feature: Streamable HTTP by @HenShalom in https://github.com/brizzai/auto-mcp/pull/12 🔥 Feature: OAuth…
v0.1.0v0.1.0 · 18 May 2025Changelog bdafae026e0189b3f10fc2c9e150ee45af559ce6 Initial commit dcf438027ac746ab2ce4096ef6426d2343682abf 📚 Docs: Add initial release notes for version 0.1.0 62f2bf12953c9e5f984bb24a3272ac834db5299a 📚 chore: Add initial project setup with…

README

Auto MCP

Visit the Auto MCP Homepage

Go Report Card GitHub release (latest by date) License Go version Container Registry Build Status

Transform any OpenAPI/Swagger definition into a fully-featured Model Context Protocol (MCP) server – ready to run locally, inside Claude Desktop, or in the cloud.

The service reads a Swagger (OpenAPI v2) or OpenAPI v3 document, generates routes on-the-fly, proxies requests to the upstream endpoint you configure, and exposes them through MCP using either the STDIO or HTTP or SSE transport defined in the MCP specification.


✨ Why Auto MCP?

  • Zero boiler-plate – bring your swagger.json and start serving.
  • Flexible deployment – run as a CLI, long-lived daemon, or within Docker/Kubernetes.
  • All transport modes –
    • stdio (default).
    • http - StreamableHttp, newest MCP prototcol.
    • sse – self-hosted long-running event source.
  • Pluggable auth – bearer token, basic auth, API keys, OAuth2 or no auth.
  • Runtime configuration – YAML file, CLI flags, or environment variables (prefixed AUTO_MCP_).

🛠️ Using Auto MCP

Easily tailor your Swagger/OpenAPI file for optimal MCP integration. The MCP Config Builder lets you:

  • Edit endpoint descriptions for clearer, more helpful documentation.
  • Filter out unnecessary routes to streamline your API exposure.
  • Preview and customize how endpoints appear to LLMs and clients.
  • Generate an adjustment file (--adjustment-file) for use with Auto MCP, applying your customizations automatically.

MCP Config Builder

How it works

  1. Install the MCP Config Builder:
    go install ./cmd/mcp-config-builder
    
    This will build and install the mcp-config-builder binary to your $GOPATH/bin (usually ~/go/bin). Make sure this directory is in your PATH.
  2. Launch the tool:
    mcp-config-builder --swagger-file=/path/to/swagger.json
    
  3. Interactively review and edit endpoints in a user-friendly TUI (Terminal User Interface).
  4. Save your adjustments to a file for future use or sharing.
  5. Run Auto MCP with your adjustment file to apply your customizations:
    auto-mcp --swagger-file=/path/to/swagger.json --adjustment-file=/path/to/adjustments.json
    

📚 Use Cases

  1. Rapid Prototyping: Wrap any REST API as an MCP server in seconds—ideal for testing ideas or building AI tools fast.

  2. Bridge Legacy Services: Expose legacy or internal systems as MCP endpoints without rewriting them.

  3. Access Any 3rd-Party API from Chat Applications: Turn any third-party API into an MCP tool, making it accessible to AI assistants like Claude.

  4. Minimal Proxy Tools: Use auto-mcp to proxy APIs that already handle validation and logic—no wrappers needed.


🖥️ Running inside Claude Desktop

Add the following snippet to your Claude Desktop configuration (⟂ Settings → MCP Servers):

{
  "mcpServers": {
    "YourMCP": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-v",
        "/Users/you/path/to/swagger.json:/server/swagger.json",
        "ghcr.io/brizzai/auto-mcp:latest"
        "--swagger-file=/server/swagger.json"
      ]
    }
  },
  "globalShortcut": ""
}

Claude will start the container on-demand and connect over STDIO. Replace the host path to swagger.json and image tag to suit your setup.

CLI flags

  • --mode – override server.mode (stdio or sse).
  • --swagger-file – path to the OpenAPI document (default: swagger.json).
  • --adjustment-file - mcp-config-builder output filter/change route descriptions

For detailed configureation guidelines, please see CONFIGURATION.md.


🔐 OAuth Support

Auto MCP supports OAuth 2.1 authentication, including PKCE, dynamic client registration, and multiple providers (internal, GitHub, Google). This allows you to secure your MCP server with industry-standard authentication flows.

See the OAuth Usage Guide for detailed setup instructions, endpoint descriptions, and testing tips.


🐳 Running with Docker

  1. Run in local stdio mode:

    docker run --rm -i \
      -v $(pwd)/swagger.json:/server/swagger.json \
        ghcr.io/brizzai/auto-mcp:latest \
        --swagger-file=/server/swagger.json \
        --mode=stdio
    
  2. Run in remote sse/http mode :

    docker run \
      -v $(pwd)/swagger.json:/server/swagger.json \
        ghcr.io/brizzai/auto-mcp:latest \
        --swagger-file=/server/swagger.json \
        --mode=http
    

The bundled docker-compose.yml maps port 8080 and persists logs to ./logs.

Running the Petshop Example

You can try out the included Petshop demo using Docker. This demo uses a sample configuration and API specs to show how auto-mcp works.

Steps:

  1. Make sure you are in the root directory of this repository.
  2. Run the following command:
docker run --rm -i \
  -v $(pwd)/examples/petshop/config:/config \
  ghcr.io/brizzai/auto-mcp:latest
  • This command mounts the examples/petshop/config directory from your local machine into the Docker container at /config.
  • The /config directory inside the container should contain:
    • config.yaml: Main configuration file for the demo
    • swagger.json: API specification for the Petshop service
    • adjustment.yaml: Optional adjustments or overrides for the API

Note: Any files you place in examples/petshop/config will overwrite the default config.yaml, swagger.json, and adjustment.yaml inside the container.

This setup allows you to easily test and modify the Petshop demo configuration.

See [docs/CONFIGURATION.md](docs/ CONFIGURATION.md) for all config options and environment variable overrides.

🤝 Contributing

For detailed contribution guidelines, please see CONTRIBUTING.md.


📄 License

Distributed under the Apache License 2.0 License. See LICENSE for details.

README fetched from the repository 19 hours ago. The original is authoritative.

Questions

About Auto MCP

How do I install Auto MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Auto MCP safe to use with an AI agent?

Its trust score is 74 out of 100 (good). It passes 5 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Auto MCP still maintained?

The last commit was 10 months ago and 22 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.