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.
Official MCP server for Sentry.
Clojure linter
Generate visualizations from fetched data using the VegaLite format and renderer.
Manage and utilize website content within the DevHub CMS platform
Provides seamless integration with SonarQube Server or Cloud, and enables analysis of code snippets directly within the agent context
Integrates Zeek network analysis with conversational AI clients. Requires an external Zeek installation.
Manipulate Adventure Game Studio (AGS) compiled room (.crm) files to enable AI-powered game development.
An MCP server for AI coding assistants to control, inspect, and modify Bevy applications using the Bevy Remote Protocol (BRP).
Provides real-time Flutter/Dart documentation and pub.dev package information to AI assistants, supporting all packages on demand.
Aggregates multiple MCP resource servers into a single interface with stdio/sse support.