MM

metis-mantis/metis-router

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

56 stars 23 forks 품질 57 트렌드 13Apache-2.0

metis-mantis/metis-router는 MCP 서버 후보가 https://github.com/metis-mantis/metis-router.에서 수입되었습니다

개요

metis-mantis/metis-router는 MCP 서버 후보가 https://github.com/metis-mantis/metis-router.에서 수입되었습니다

개요(AI 번역)

Metis는 지능형 MCP (모델 Context Protocol) 라우터와 고급 AI 에이전트 플랫폼입니다. 라우터는 LRU 캐시 시스템을 사용하여 모든 시간에 가장 관련 서버 활성을 유지하고 컨텍스트 압도적을 방지하고 도구 및 서비스에 액세스 할 수 있습니다. 40개 이상의 도구가 활성화되어 있는 컨텍스트 오버로드를 처리하지 않고 추가 기능을 추가할 수 있기를 원합니다! 우리는 또한 누구나 수정할 수 있는 모듈형 웹 기반 MCP 클라이언트를 제공합니다! 우리의 목표는 다른 사람들이 MCP를 사용하여 멋진 응용 프로그램을 구축하는 데 도움이됩니다.

️ 건축

̇️ 데모

⭐ 빠른 시작

** 설정 방법 선택:**

  • Shell Scripts (개발 권장): 아래 단계를 따르십시오
  • Docker (생산 권장): Docker Setup 섹션으로 이동

단계 1: MCP 서버 구성 ( 중요!)

MCP 서버를 추가하면 server/mcp-registry.json]를 원합니다. ** 1,000개 이상의 서버 **:

단계 2: 라우터 캐시 크기를 구성하십시오

server/src/add-new-mcp.ts를 편집하고 MAX_ACTIVE_SERVERS]를 수정하여 여러 서버가 동시에 활성화되는 방법을 설정하십시오

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Metis - Intelligent MCP Router & Web Based MCP Client

Metis is an advanced AI agent platform with an intelligent MCP (Model Context Protocol) router that dynamically manages up to 1,000+ MCP servers. The router uses an LRU cache system to maintain only the most relevant servers active at any time, preventing context overwhelm while providing access to a vast ecosystem of tools and services. We wanted to create this so you can add additional features while not having to deal with context overload from having over 40 tools enabled! We also provide a modular web based MCP client that anyone can modify! Our goal for this is to help others build cool applications using MCPs.

🏗️ Architecture

┌─────────────────┐    ┌─────────────────┐    ┌─────────────────┐
│   Frontend      │    │   Backend       │    │  MCP Router     │
│   (Next.js)     │◄──►│   (FastAPI)     │◄──►│   (Node.js)     │
│   Port: 3000    │    │   Port: 8000    │    │   Port: 9999    │
└─────────────────┘    └─────────────────┘    └─────────────────┘
        │                       │                       │
        │                       │                       │
        ▼                       ▼                       ▼
   User Interface         AI Agent Logic        Intelligent Router
   - Chat Interface       - OpenAI Agents       - 1000+ MCP Servers
   - Real-time UI         - Session Management  - LRU Cache System
                         - Streaming           - Dynamic Loading
                                              - Auto Server Selection

🖥️ Demo

🚀 Quick Start

Choose Your Setup Method:

  • Shell Scripts (recommended for development): Follow steps below
  • Docker (recommended for production): Jump to Docker Setup section

Step 1: Configure Your MCP Servers (Most Important!)

Add the MCP servers you want to server/mcp-registry.json. You can add up to 1,000+ servers:

{
  "mcpServers": {
    "notion": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.notion.com/sse"]
    },
    "linear": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.linear.app/sse"]
    },
    "hyperbrowser": {
      "command": "npx",
      "args": [
        "-y",
        "hyperbrowser-mcp"
      ],
      "env": {
        "HYPERBROWSER_API_KEY": "API_KEY_HERE"
      }
    }
}

Step 2: Configure Router Cache Size

Edit server/src/add-new-mcp.ts and modify MAX_ACTIVE_SERVERS to set how many servers stay active simultaneously:

// Only this many servers will be active at once (LRU cache)
const MAX_ACTIVE_SERVERS = 3; // Adjust based on your needs

NOTE: All active MCP servers are in server/config.json, you can manually remove/add servers to the active queue of MCP servers here

Step 3: Set Up Environment Variables

Single shared .env file (project root):

# Copy the template and configure
GitHub에서 전체 README 보기

설치

npx -y mcp-remote https://mcp.notion.com/sse
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "notion": { "command": "npx", "args": ["-y", "mcp-remote", "https://mcp.notion.com/sse"] }, "linear": { "command": "npx", "args": ["-y", "mcp-remote", "https://mcp.linear.app/sse"] }, "hyperbrowser": { "command": "npx", "args": [ "-y", "hyperbrowser-mcp" ], "env": { "HYPERBROWSER_API_KEY": "API_KEY_HERE" } } }