gen-mcp

Transform any API into an MCP server in seconds, not hours

Go Version License MCP Compatible
⚠️ Early Preview: This is a research project in active development. APIs and features may change.

What is gen-mcp?

gen-mcp eliminates the complexity of building Model Context Protocol (MCP) servers. Instead of writing boilerplate code and learning protocol internals, simply describe your tools in a configuration fileβ€”gen-mcp handles the rest.

gen-mcp System Diagram

Perfect for:

πŸ”Œ API Developers

Expose existing REST APIs to AI assistants instantly without writing custom integration code.

πŸ€– AI Engineers

Connect LLMs to external tools without custom server code. Focus on AI, not infrastructure.

πŸ› οΈ DevOps Teams

Integrate legacy systems with modern AI workflows seamlessly and securely.

Key Features

πŸš€ Zero-Code Server Generation

Create MCP servers from simple YAML configs. No programming required.

πŸ“‘ OpenAPI Auto-Conversion

Transform existing OpenAPI specs into MCP servers instantly with a single command.

πŸ”„ Real-Time Tool Exposure

HTTP endpoints become callable AI tools automatically. No manual mapping needed.

πŸ›‘οΈ Built-in Validation

Schema validation and type safety out of the box. Catch errors before runtime.

πŸ” Security Out of the Box

TLS encryption and OAuth/OIDC authentication built-in and ready to use.

⚑ Background Processing

Detached server mode with process management for production deployments.

Quick Start

1. Install GenMCP

Option A: Download Pre-built Binary

# Download from GitHub releases
# Visit: https://github.com/genmcp/gen-mcp/releases
# Or using curl (replace with latest version and platform):
curl -L https://github.com/genmcp/gen-mcp/releases/latest/download/genmcp-linux-amd64.zip -o genmcp-linux-amd64.zip
unzip genmcp-linux-amd64.zip
chmod +x genmcp-linux-amd64
sudo mv genmcp-linux-amd64 /usr/local/bin/genmcp

Verify the Signed Binary

You can cryptographically verify that the downloaded binaries are authentic using cosign:

# Install cosign (see https://docs.sigstore.dev/cosign/installation/)
# Download the bundle file from releases page, then verify:
cosign verify-blob-attestation \
  --bundle genmcp-linux-amd64.zip.bundle \
  --certificate-identity-regexp "https://github.com/genmcp/gen-mcp/.*" \
  --certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
  --new-bundle-format \
  genmcp-linux-amd64.zip

Option B: Build from Source

# Clone and build
git clone https://github.com/genmcp/gen-mcp.git
cd gen-mcp

# Build CLI
make build-cli

# Add to PATH (recommended)
sudo mv genmcp /usr/local/bin

2. Choose Your Adventure

Option A: Convert Existing API

genmcp convert https://api.example.com/openapi.json
genmcp run

Option B: Create Custom Tools

# Create mcpfile.yaml with your tools (see documentation)
genmcp run

3. See It In Action

Note: These videos were recorded before the project was renamed from automcp to gen-mcp. The functionality remains the same.

Documentation

πŸ“– MCP File Format

Learn to write custom tool configurations with our comprehensive guide.

Read Guide

πŸ“š Examples

Real-world integration examples to get you started quickly.

View Examples

πŸ”§ Core Commands

Master the essential gen-mcp CLI commands.

Learn Commands

Contributing

We welcome contributions! This is an early-stage research project with lots of room for improvement.

πŸ’¬ Join Discord

Connect with other users, share ideas, and get help from the community.

Join Discord

πŸ› Report Issues

Found a bug or have a feature request? Let us know on GitHub.

Report Issue

πŸ› οΈ Development Setup

Get started with local development in just a few commands.

View Setup Guide