MCP Link

MCP Link

Convert Any OpenAPI V3 API to an MCP Server for seamless AI Agent integration.

572
Stars
68
Forks
572
Watchers
8
Issues
MCP Link enables automatic conversion of any OpenAPI v3-compliant RESTful API into a Model Context Protocol (MCP) server, allowing instant compatibility with AI-driven agent frameworks. It eliminates the need for manual interface creation and code modification by translating OpenAPI schemas into MCP endpoints. MCP Link supports robust feature mapping and authentication, making it easy to expose existing APIs to AI ecosystems using a standardized protocol. The tool is designed for both developers and organizations seeking to streamline API integration with AI agents.

Key Features

Automatic conversion of OpenAPI schemas to MCP servers
Zero code modification required for API compatibility
Comprehensive endpoint and feature mapping
Support for multiple authentication methods
Path-based filtering and inclusion/exclusion of endpoints
Hosted and self-hosted deployment options
Instant MCP interface exposure for existing APIs
Standardized conversion process for consistency
Parameterizable through URLs for flexible usage
Seamless integration with AI agent frameworks

Use Cases

Rapidly exposing legacy or third-party APIs to AI agents
Automating the onboarding process for API integration in AI ecosystems
Standardizing API interfaces across diverse development teams
Testing AI agent compatibility with various APIs without manual work
Quickly generating MCP server wrappers for OpenAPI-documented systems
Facilitating secure access to APIs through configurable authentication
Enabling agile prototyping of AI-powered tools that leverage external data sources
Converting partner APIs for inclusion in AI-driven marketplaces
Reducing errors and manual overhead in MCP interface creation
Expanding AI agent capabilities by bringing more APIs into the MCP standard

README

MCP Link - Convert Any OpenAPI V3 API to MCP Server

Join our Discord

🧩 Architecture

MCP Link

πŸ€” Why MCP Link?

There is a notable gap in the current AI Agent ecosystem:

  • Most MCP Servers are simple wrappers around Web APIs
  • Functionality interfaces may not be complete, depending on developer implementation
  • Manual creation of MCP interfaces is time-consuming and error-prone
  • Lack of standardized conversion processes

MCP Link solves these issues through automation and standardization, allowing any API to easily join the AI-driven application ecosystem.

🌟 Key Features

  • Automatic Conversion: Generate complete MCP Servers based on OpenAPI Schema
  • Seamless Integration: Make existing RESTful APIs immediately compatible with AI Agent calling standards
  • Complete Functionality: Ensure all API endpoints and features are correctly mapped
  • Zero Code Modification: Obtain MCP compatibility without modifying the original API implementation
  • Open Standard: Follow the MCP specification to ensure compatibility with various AI Agent frameworks

🌐 Online Version

Try our hosted version at mcp-link.vercel.app to quickly convert and test your APIs without installation.

πŸš€ Quick Start

Installation

bash
# Clone repository
git clone https://github.com/automation-ai-labs/mcp-link.git
cd mcp-openapi-to-mcp-adapter

# Install dependencies
go mod download

Running

bash
# Specify port
go run main.go serve --port 8080 --host 0.0.0.0

Parameter Description

  • s= - URL of the OpenAPI specification file
  • u= - Base URL of the target API
  • h= - Authentication header format, in the format of header-name:value-prefix
  • f= - Path filter expressions to include or exclude API endpoints. Syntax:
    • +/path/** - Include all endpoints under /path/
    • -/path/** - Exclude all endpoints under /path/
    • +/users/*:GET - Include only GET endpoints for /users/{id}
    • Multiple filters can be separated by semicolons: +/**:GET;-/internal/**
    • Wildcards: * matches any single path segment, ** matches zero or more segments

Examples

_ API MCP Link URL Authentication Method
Brave Brave Search https://mcp-link.vercel.app/links/brave API Key
DuckDuckGo DuckDuckGo https://mcp-link.vercel.app/links/duckduckgo None
Figma Figma https://mcp-link.vercel.app/links/figma API Token
GitHub GitHub https://mcp-link.vercel.app/links/github Bearer Token
Home Assistant Home Assistant https://mcp-link.vercel.app/links/homeassistant Bearer Token
Notion Notion https://mcp-link.vercel.app/links/notion Bearer Token
Slack Slack https://mcp-link.vercel.app/links/slack Bearer Token
Stripe Stripe https://mcp-link.vercel.app/links/stripe Bearer Token
TMDB TMDB https://mcp-link.vercel.app/links/tmdb Bearer Token
YouTube YouTube https://mcp-link.vercel.app/links/youtube Bearer Token

Usage in AI Agents

json
{
  "mcpServers": {
    "@service-name": {
      "url": "http://localhost:8080/sse?s=[OpenAPI-Spec-URL]&u=[API-Base-URL]&h=[Auth-Header]:[Value-Prefix]"
    }
  }
}

These URLs allow any API with an OpenAPI specification to be immediately converted into an MCP-compatible interface accessible to AI Agents.

πŸ“‹ Future Development

  • MCP Protocol OAuthflow: Implement OAuth authentication flow support for MCP Protocol
  • Resources Support: Add capability to handle resource-based API interactions
  • MIME Types: Enhance support for various MIME types in API requests and responses

Star History

Star History Chart

Repository Owner

automation-ai-labs
automation-ai-labs

Organization

Repository Details

Language Go
Default Branch main
Size 402 KB
Contributors 1
License MIT License
MCP Verified Nov 12, 2025

Programming Languages

Go
100%

Tags

Topics

agents mcp mcp-server

Join Our Newsletter

Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.

We respect your privacy. Unsubscribe at any time.

Related MCPs

Discover similar Model Context Protocol servers

  • MCP Swagger Server (mss)

    MCP Swagger Server (mss)

    Seamlessly convert OpenAPI/Swagger specs into Model Context Protocol tools for AI integration.

    MCP Swagger Server converts OpenAPI/Swagger API specifications into Model Context Protocol (MCP) compatible tools, enabling REST APIs to become directly callable by AI systems. It supports zero-configuration conversion, multiple transport protocols (SSE, Streamable, Stdio), and secure API access through Bearer Token authentication. The tool offers an interactive command-line interface and configuration options to filter operations, customize transports, and manage API security. Its modular structure includes OpenAPI parsing, web UI, and backend services.

    • ⭐ 38
    • MCP
    • zaizaizhao/mcp-swagger-server
  • Taskade MCP

    Taskade MCP

    Tools and server for Model Context Protocol workflows and agent integration

    Taskade MCP provides an official server and tools to implement and interact with the Model Context Protocol (MCP), enabling seamless connectivity between Taskade’s API and MCP-compatible clients such as Claude or Cursor. It includes utilities for generating MCP tools from any OpenAPI schema and supports the deployment of autonomous agents, workflow automation, and real-time collaboration. The platform promotes extensibility by supporting integration via API, OpenAPI, and MCP, making it easier to build and connect agentic systems.

    • ⭐ 90
    • MCP
    • taskade/mcp
  • Higress

    Higress

    AI Native API Gateway with Built-in Model Context Protocol (MCP) Support

    Higress is a cloud-native API gateway built on Istio and Envoy, extensible with Wasm plugins in Go, Rust, or JS. It enables unified management and hosting of both LLM APIs and MCP Servers, allowing AI agents to easily call tools and services via standard protocols. The platform supports seamless conversion of OpenAPI specs to remote MCP servers and provides robust AI gateway features for enterprise and mainstream model providers. Higress is widely adopted in production environments, notably within Alibaba Cloud's core AI applications.

    • ⭐ 6,814
    • MCP
    • alibaba/higress
  • Kanboard MCP Server

    Kanboard MCP Server

    MCP server for seamless AI integration with Kanboard project management.

    Kanboard MCP Server is a Go-based server implementing the Model Context Protocol (MCP) for integrating AI assistants with the Kanboard project management system. It enables users to manage projects, tasks, users, and workflows in Kanboard directly via natural language commands through compatible AI tools. With built-in support for secure authentication and high performance, it facilitates streamlined project operations between Kanboard and AI-powered clients like Cursor or Claude Desktop. The server is configurable and designed for compatibility with MCP standards.

    • ⭐ 15
    • MCP
    • bivex/kanboard-mcp
  • Pica MCP Server

    Pica MCP Server

    A Model Context Protocol (MCP) server for seamless integration with 100+ platforms via Pica.

    Pica MCP Server provides a standardized Model Context Protocol (MCP) interface for interaction with a wide range of third-party services through Pica. It enables direct platform integrations, action execution, and intelligent intent detection while prioritizing secure environment variable management. The server also offers features such as code generation, form and data handling, and robust documentation for platform actions. It supports multiple deployment methods, including standalone, Docker, Vercel, and integration with tools like Claude Desktop and Cursor.

    • ⭐ 8
    • MCP
    • picahq/mcp
  • FastMCP

    FastMCP

    The fast, Pythonic way to build MCP servers and clients.

    FastMCP is a production-ready framework for building Model Context Protocol (MCP) applications in Python. It streamlines the creation of MCP servers and clients, providing advanced features such as enterprise authentication, composable tools, OpenAPI/FastAPI generation, server proxying, deployment tools, and comprehensive client libraries. Designed for ease of use, it offers both standard protocol support and robust utilities for production deployments.

    • ⭐ 20,201
    • MCP
    • jlowin/fastmcp
  • Didn't find tool you were looking for?

    Be as detailed as possible for better results