mcp-link
Author: automation-ai-labs
Description: Convert Any OpenAPI V3 API to MCP Server
Stars: 503
Forks: 56
License: MIT License
Category: Open Source
Overview
Installation
Prerequisites
• Go 1.22 or later in your PATH (https://go.dev/dl/)
• An OpenAPI v3 specification file (JSON or YAML)
Quick install via “go install”
1. Fetch the latest binary:
go install github.com/automation-ai-labs/mcp-link@latest
# The mcp-link executable is placed in $(go env GOPATH)/bin2. Verify:
mcp-link --version
Build from source (cloning repository)1. git clone https://github.com/automation-ai-labs/mcp-link.git
2. cd mcp-link
3. go build -o mcp-link ./cmd/mcp-link
Docker (optional)1. docker build -t mcp-link:latest .
2. docker run -p 8080:8080 -v $(pwd)/petstore.yaml:/data/spec.yaml mcp-link:latest --spec /data/spec.yaml
--spec Path/URL to OpenAPI v3 document (required)
--port Port to expose generated MCP server (default 8080)
--title Override API title metadata
--auth.token (if your spec requires upstream auth)
Basic usage
mcp-link --spec ./openapi.yaml --port 8080
Configuration flags (most common)
The tool will parse the OpenAPI file, generate an in-memory MCP server and start serving endpoints locally.01
serve
Start the MCP Link server, allowing you to specify host and port for incoming requests
02
sse
Runtime endpoint that converts the provided OpenAPI specification into an MCP-compatible interface; accepts query parameters s, u, h, and f for spec URL, base API URL, authentication header, and path filtering
License: MIT License
Updated 7/30/2025