MCP Catalogs
Home

mcp-framework

by koki7o·22·Score 42

Rust framework for building AI agents with native MCP support, multi-LLM integration, and web inspector.

developer-toolsai-llmbrowser-automation
1
Forks
1
Open issues
5 mo ago
Last commit
2d ago
Indexed

Overview

MCP Framework is a production-ready Rust implementation for building AI agents with first-class MCP support. It provides both MCP server and client functionality with multi-LLM support including Claude and OpenAI integrations. The framework features a web-based inspector for testing tools, browser automation capabilities via Playwright, and built-in session management. It's designed for performance with zero-cost abstractions and memory safety guarantees.

Try asking AI

After installing, here are 6 things you can ask your AI assistant:

you:Building research assistants that can search and analyze information
you:Creating coding assistants that can read codebases and write code
you:Developing browser automation agents for web scraping and form filling
you:What makes this framework different from other MCP implementations?
you:Which LLM providers are supported?
you:How do I create custom MCP tools?

When to choose this

Choose this framework for production AI agents requiring high performance, memory safety, and the ability to connect to multiple MCP servers simultaneously.

When NOT to choose this

Not ideal if you need rapid prototyping in languages other than Rust or require features beyond the current roadmap (resources and prompts protocols are planned but not yet implemented).

Tools this server exposes

9 tools extracted from the README
  • echo

    String echo utility

  • calculator

    Math: add, subtract, multiply, divide, power, sqrt

  • get_weather

    Weather lookup for cities worldwide

  • search_text

    Find pattern occurrences in text

  • string_length

    Get character count

  • text_reverse

    Reverse text strings

  • json_parser

    Validate and format JSON

  • http_status

    Look up HTTP status codes

  • greet

    Greet someone

Comparable tools

mcp-jsmcp-pythonnexus-rs

Installation

Installation

# Requires Rust 1.70+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
git clone https://github.com/koki7o/mcp-framework
cd mcp-framework
cp .env.example .env
# Edit .env and add API keys

# Run examples
cargo run --example server_with_tools
cargo run --example anthropic_agent_demo_with_tools
cargo run --example openai_agent_demo_with_tools

Claude Desktop Integration

Add to Claude's config.json:

{
  "mcpServers": {
    "mcp-framework": {
      "command": "cargo",
      "args": ["run", "--example", "server_with_tools"],
      "env": {
        "ANTHROPIC_API_KEY": "your-api-key"
      }
    }
  }
}

FAQ

What makes this framework different from other MCP implementations?
This is a production-ready Rust framework with first-class MCP support, built-in web inspector, and multi-LLM integration. It's designed for performance and memory safety.
Which LLM providers are supported?
Currently supports Claude and OpenAI with plans to add Gemini, Groq, DeepSeek, and Mistral. The framework is designed to easily accommodate additional providers.
How do I create custom MCP tools?
Implement the ToolHandler trait and register your tools with the McpServer. The framework provides a clear API and examples to get started quickly.

On Hacker News

Recent discussion from the developer community.

Compare mcp-framework with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.