A proxy server that enables existing REST APIs to be used as Model Context Protocol (MCP) servers.
A proxy server that enables REST APIs to be used as MCP (Model Context Protocol) servers.
# Requires Go 1.24.2+
go version
# Build MCP server
go build -o bin/mcp-server-stdio ./cmd/mcp-server-stdio
# Build Mock API for testing
go build -o bin/mock-api ./cmd/mock-api
./bin/mock-api
# Basic usage
./bin/mcp-server-stdio
# With configuration file
./bin/mcp-server-stdio -config ./example-config.json
# With API URL
./bin/mcp-server-stdio -api-url http://localhost:8080
Create a config.json
file:
{
"apis": [
{
"name": "users-api",
"baseUrl": "http://localhost:8081",
"endpoints": [
{
"name": "get_users",
"description": "Get all users",
"method": "GET",
"path": "/users",
"parameters": []
},
{
"name": "create_user",
"description": "Create a new user",
"method": "POST",
"path": "/users",
"parameters": [
{
"name": "name",
"type": "string",
"required": true,
"description": "User name",
"in": "body"
},
{
"name": "email",
"type": "string",
"required": true,
"description": "User email",
"in": "body"
}
]
}
]
}
]
}
{
"mcpServers": {
"mcp-bridge": {
"command": "go",
"args": ["run", "./cmd/mcp-server-stdio", "--config", "./config.json"]
}
}
}
With the example configuration, you get these tools:
get_users
- Get all userscreate_user
- Create a new userget_user
- Get specific user by IDupdate_user
- Update user informationdelete_user
- Delete userFor HTTP transport instead of stdio:
# Start HTTP server
go build -o bin/mcp-server-http ./cmd/mcp-server-http
./bin/mcp-server-http -port 8080
# Configure Claude Code
{
"mcpServers": {
"mcp-bridge-http": {
"transport": {
"type": "http",
"url": "http://localhost:8080/mcp"
}
}
}
}
MIT License
Pull requests and issue reports are welcome.
Interact with over 100 cryptocurrency exchange APIs using the CCXT library.
Check if an account or password has been compromised in a data breach using the Have I Been Pwned API.
A collection of reference implementations for the Model Context Protocol (MCP), demonstrating how to give LLMs secure access to tools and data using Typescript and Python SDKs.
Manage secrets and environment variables with Infisical's official MCP server.
A local MCP server implementing Retrieval-Augmented Generation (RAG) with sentence window retrieval and support for multiple file types.
A toolkit for interacting with the Sui blockchain and integrating MCP SDK features, with support for multiple network environments.
An authentication-free, remote MCP server deployable on Cloudflare Workers or locally via npm.
Clojure linter
A powerful and flexible MCP server designed to enhance the development experience with Shadcn UI components, providing tools for component management, documentation, and installation.
Provides local access to Cursor chat history for AI analysis and insights, with no external services or API keys required.