MCP-Gateway logo

MCP-Gateway

by adcwa

MCP-Gateway provides unified management capabilities for MCP Servers, enabling AI Agents to quickly connect to various data sources. It simplifies access to databases, REST APIs, and other external services.

View on GitHub

Last updated: N/A

What is MCP-Gateway?

MCP-Gateway is a service that provides unified management for MCP Servers, allowing AI Agents to easily access various data sources such as databases and REST APIs without needing to handle specific connection details.

How to use MCP-Gateway?

To use MCP-Gateway, first install the prerequisites (Go, Git). Then, clone the repository, install dependencies, and run the server. HTTP interfaces and MCP Servers can be managed through the provided API endpoints, and curl commands or OpenAPI specifications can be used to create HTTP interfaces.

Key features of MCP-Gateway

  • HTTP interface management (OpenAPI, curl conversion, versioning)

  • MCP Server management (metadata, publishing, version control)

  • Routing management (route configuration)

  • Compilation to WebAssembly

  • API Documentation

Use cases of MCP-Gateway

  • Simplifying data access for AI Agents

  • Managing and versioning APIs

  • Converting curl commands to API definitions

  • Integrating with existing API frameworks using OpenAPI

  • Dynamic loading of MCP Servers

FAQ from MCP-Gateway

What is an MCP Server?

MCP Server is a component managed by MCP-Gateway that allows AI Agents to access data sources.

How do I convert a curl command to an HTTP interface?

Send a POST request to /api/http-interfaces/from-curl with the curl command in the request body.

Can I import an OpenAPI specification?

Yes, send a POST request to /api/http-interfaces/from-openapi with the OpenAPI specification in the request body.

How do I compile an MCP Server to WebAssembly?

Send a POST request to /api/mcp-servers/:id/compile.

What is the purpose of routing management?

Routing management allows you to configure routes to direct requests to specific MCP Servers.