AI代理群平台

VegaMCP是一个生产级的MCP服务器,提供自主AI代理群、持久语义记忆、浏览器自动化、多模型推理、安全网关等功能,适用于AI测试和自动化场景。

  • by Pastarafian
  • TypeScript
  • 本地部署
  • 3 星标
  • 更新于
在 GitHub 查看 Pastarafian/VegaMCP

使用说明

🚀 VegaMCP v7.2

Full Spectrum Testing Edition — AI Agent Swarm Platform

Features • Quick Start • Configuration


VegaMCP 是一个生产级MCP(模型上下文协议)服务器,提供自主AI代理群、持久语义记忆、浏览器自动化、多模型推理、安全网关、代理图、零信任身份、A2A协议、Docker沙箱v5.0、AI第一测试套件(移动、web、API、桌面、可访问性、安全性、可视化)和78+工具,所有这些都可以通过任何兼容MCP的客户端访问。

7.2版(Sovereign Intelligence)引入了生产级Claw Command Center、超快速SQLite聊天同步、本地向量语义记忆、LLM输出评估和6个统一Omni集群。

📖 完整功能

阅读 功能.md 查看包括Docker Sandbox v5.0在内的所有17个统一V7功能集群的完整列表。

快速开始

先决条件

  • Node.js 20+
  • npm 9+

安装

# Clone the repository
git clone https://github.com/Pastarafian/VegaMCP.git
cd VegaMCP

# Install dependencies
npm install

# Copy environment config
cp .env.example .env
# Edit .env with your API keys

# Build
npm run build

连接到VS代码(双子座/副驾驶)

创建 .vscode/mcp.json 在您的工作空间中:

{
  "servers": {
    "vegamcp": {
      "type": "stdio",
      "command": "node",
      "args": ["/path/to/VegaMCP/build/index.js"],
      "cwd": "/path/to/VegaMCP"
    }
  }
}

注: API密钥可以在 env 一块 mcp.json 或在 .env 文件(dotenv 自动加载)。

配置

复制 .env.example 到 .env 并配置:

# At least one reasoning model key required
OPENROUTER_API_KEY=          # Supports ALL models via OpenRouter
DEEPSEEK_API_KEY=            # Direct DeepSeek API (R1 + Chat)
KIMI_API_KEY=                # Kimi K2.5 for coding

# Optional integrations
GITHUB_TOKEN=                # GitHub API (60→5000 req/hr)
TAVILY_API_KEY=              # AI-powered web search
SEARXNG_URL=                 # Self-hosted search fallback
SENTRY_AUTH_TOKEN=           # Error tracking
SENTRY_ORG=
SENTRY_PROJECT=

# Budget controls
TOKEN_DAILY_BUDGET_USD=5.00
TOKEN_HOURLY_BUDGET_USD=1.00

# Tool profiles
VEGAMCP_TOOL_PROFILE=full    # full | minimal | research | coding | ops

项目结构

VegaMCP/
├── src/
│   ├── index.ts                     # Server entry point + hub router
│   ├── mcp-extensions.ts            # Sampling, logging, progress, roots
│   ├── mcp-protocol/               # v6.0 / v7.0 protocol modules
│   ├── db/                          # SQLite + vector store
│   ├── swarm/                       # Agent swarm (10 agents)
│   ├── tools/                       # All tool implementations
│   ├── resources/                   # MCP resource providers
│   ├── prompts/                     # MCP prompt templates
│   └── security/                    # Rate limiter, validator, guard
├── .env.example                     # Environment template
├── package.json
└── tsconfig.json

许可证

麻省理工学院


Built with TypeScript • MCP SDK • sql.js • Playwright • DeepSeek • A2A Protocol