SS

sagemcp/sagemcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

47 stars 11 forks 质量 63 趋势 13NOASSERTION

sagemcp/sagemcp 是从 https://github.com/sagemcp/sagemcp. 导入的 MCP 服务器候选。

概览

sagemcp/sagemcp 是从 https://github.com/sagemcp/sagemcp. 导入的 MCP 服务器候选。

概述(AI 翻译)

赛奇MCP

多租户MCP服务器平台

一个可扩展的平台,用于托管带有OAuth/API密钥集成和连接器插件的MCP(模型上下文协议)服务器。

关于项目

Sage MCP 是一个就生产准备的平台,支持运行多台独立的 MCP 服务器,内置 OAuth/API 密钥认证,支持 23+ 服务。它提供 Web 界面和 CLI 用于管理租户和连接器,使 Claude Desktop 易于与各种外部服务集成。

主要功能:

  • 多租户架构,基于路径隔离
  • 支持完整的MCP协议(可流式HTTP、WebSocket、SSE),并支持协议版本协商
  • 带LRU驱逐的服务器池(最多5,000实例,30分钟TTL)
  • 通过Mcp-Session-Id进行会话管理,并可恢复SSE流
  • 令牌桶速率限制(每个租户可配置转速)
  • 通过 stdio 子进程([GenericMCPConnector)托管的外部 MCP 服务器
  • OAuth 2.0 与租户级和用户级令牌集成
  • 现场级静态加密(Fernet/AES)及API密钥认证
  • Prometheus 指标、结构化 JSON 日志和 Kubernetes 健康探针

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

About The Project

Sage MCP is a production-ready platform that enables you to run multiple isolated MCP servers with built-in OAuth/API key authentication for 23+ services. It provides a web interface and CLI for managing tenants and connectors, making it easy to integrate Claude Desktop with various external services.

Key Features:

  • Multi-tenant architecture with path-based isolation
  • Full MCP protocol support (Streamable HTTP, WebSocket, SSE) with protocol version negotiation
  • Server pooling with LRU eviction (5,000 max instances, 30-min TTL)
  • Session management via Mcp-Session-Id with resumable SSE streams
  • Token-bucket rate limiting (configurable RPM per tenant)
  • External MCP server hosting via stdio subprocess (GenericMCPConnector)
  • OAuth 2.0 integration with tenant-level and user-level tokens
  • Field-level encryption at rest (Fernet/AES) and API key authentication
  • Prometheus metrics, structured JSON logging, and Kubernetes health probes
  • Progressive rollout via feature flags (SAGEMCP_ENABLE_*)

Screenshots

Supported Connectors

340 tools across 23 native connectors, plus unlimited external MCP server support.

Code & Version Control

在 GitHub 查看完整 README

安装

npx -y @modelcontextprotocol/server-everything
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "sage-mcp": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-everything"], "env": { "MCP_SERVER_URL": "ws://localhost:8000/api/v1/{tenant-slug}/mcp" } } } }