GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
Security-first MCP server that connects any OpenAPI, GraphQL, gRPC or SOAP API to AI agents.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
UCMCP_ALLOWED_HOSTS, UCMCP_APIS_CONFIG, UCMCP_CACHE_TTL, UCMCP_BLOCK_PRIVATE_IPS, GITHUB_TOKEN标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"universal-connector": {
"command": "uvx",
"args": [
"universal-connector-mcp"
],
"env": {
"UCMCP_ALLOWED_HOSTS": "your-value",
"UCMCP_APIS_CONFIG": "your-value",
"UCMCP_CACHE_TTL": "your-value",
"UCMCP_BLOCK_PRIVATE_IPS": "your-value",
"GITHUB_TOKEN": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add universal-connector --env UCMCP_ALLOWED_HOSTS=your-value --env UCMCP_APIS_CONFIG=your-value --env UCMCP_CACHE_TTL=your-value --env UCMCP_BLOCK_PRIVATE_IPS=your-value --env GITHUB_TOKEN=your-value -- uvx universal-connector-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"universal-connector": {
"command": "uvx",
"args": [
"universal-connector-mcp"
],
"env": {
"UCMCP_ALLOWED_HOSTS": "your-value",
"UCMCP_APIS_CONFIG": "your-value",
"UCMCP_CACHE_TTL": "your-value",
"UCMCP_BLOCK_PRIVATE_IPS": "your-value",
"GITHUB_TOKEN": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"universal-connector": {
"type": "stdio",
"command": "uvx",
"args": [
"universal-connector-mcp"
],
"env": {
"UCMCP_ALLOWED_HOSTS": "your-value",
"UCMCP_APIS_CONFIG": "your-value",
"UCMCP_CACHE_TTL": "your-value",
"UCMCP_BLOCK_PRIVATE_IPS": "your-value",
"GITHUB_TOKEN": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
UCMCP_ALLOWED_HOSTS envUCMCP_APIS_CONFIG envUCMCP_CACHE_TTL envUCMCP_BLOCK_PRIVATE_IPS env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 TeodorMCP 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:GITHUB_TOKEN
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.2.0)于4个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:GitHub, Desktop Commander, Cloudflare MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Stop installing a new MCP server for every service: point this one at any OpenAPI/Swagger, GraphQL,
gRPC or SOAP spec - or pick one from the built-in catalog of 2500+ public APIs - and your AI agent
can call it. Securely, in fewer steps, with fewer tokens.
Installation · Meta-tools · API catalog · Examples · Configuration · Security
Most "universal API" MCP servers only speak REST/OpenAPI. This project is built around three differentiators:
Operation model with pluggable spec adapters (OpenAPI, GraphQL, gRPC, SOAP). Tools and executors never care which protocol produced an operation.The agent explores APIs like a filesystem instead of loading hundreds of tools at once (which would blow up the context window on large APIs like Stripe). It searches for operations, inspects the ones it needs, then executes them.
Architecture (click to expand)
flowchart TD
Agent["AI Agent"] -->|"MCP stdio"| Server["FastMCP Server"] Server --> Tools["Meta-tools"] Tools --> Registry["Operation Registry (normalized)"] Adapters["Spec Adapters"] --> Registry Tools --> Guard["Security Guard"] Guard --> Executor["Protocol Executors"] Executor --> Auth["Auth Manager"] Executor --> UpstreamAPI["Upstream API"]
| Tool | Purpose |
|---|---|
search_catalog | Find ready-to-load public APIs (curated list + APIs.guru directory, 2500+ specs) |
load_api | Register an API from a spec URL/file (protocol auto-detected) |
list_apis | List loaded APIs |
search_operations | Fuzzy-search operations across loaded APIs |
get_operation | Full parameter/response schema for one operation |
execute | Call an operation (auth + security guard applied); extract returns only the fields you ask for |
execute_chained | Run a sequence of operations in one call, piping results between steps; nested lists run in parallel |
execute_graph | Run a dependency graph of operations; order is inferred from ${id.path} references and independent nodes run in parallel automatically |
unload_api | Remove a loaded API |
audit_log | Recent outbound calls (method, host, path, status) |
Where a per-API MCP server needs one tool round-trip per call - each returning a full JSON payload into the agent's context - this server collapses whole workflows:
execute(..., extract=["items.*.name", "total_count"]) returns just those fields instead of a multi-kilobyte response. * fans out over arrays.execute_chained pipes step results into later params via ${save_as.path} references: one tool call instead of N.execute_chained(steps=[
[ {"operation_id": "github.repos_get", "params": {"owner": "o", "repo": "r"}, "save_as": "gh", "extract": ["stargazers_count"]}, {"operation_id": "open_meteo.get_v1_forecast", "params": {"latitude": 52.5, "longitude": 13.4}, "save_as": "weather", "extract": ["current_weather.temperature"]} ], {"operation_id": "github.issues_list_for_repo", "params": {"owner": "o", "repo": "r"}, "extract": ["*.title"]} ])
UCMCP_CACHE_TTL seconds (default 60), so repeated lookups are instant and free; pass fresh: true to bypass. Successful mutations invalidate that API's cached reads.You don't need to hunt for spec URLs. search_catalog searches two sources:
search_catalog(query="weather forecast")
-> [{"name": "open_meteo", "spec": "https://...forecast.yml", "base_url": "https://api.open-meteo.com", ...}] load_api(spec="https://...forecast.yml", name="open_meteo", base_url="https://api.open-meteo.com") execute(operation_id="open_meteo.get_v1_forecast", params={"latitude": 52.52, "longitude": 13.41, "hourly": "temperature_2m"})
The catalog is discovery-only: it returns spec URLs, never loads or executes anything itself, so the security guard still applies to everything you load from it.
The server runs in any MCP host via uvx - no manual install needed, the package is fetched from PyPI automatically (add [all] for GraphQL/gRPC/SOAP support):
{
"mcpServers": { "universal-connector": { "command": "uvx", "args": ["universal-connector-mcp"], "env": { "UCMCP_ALLOWED_HOSTS": "api.github.com" } } } }
From source (development): pip install -e ".[all,dev]" and use "command": "universal-connector-mcp" instead. Extras: graphql, grpc, soap, keyring, all, dev; the core install supports OpenAPI/REST only.
One click via the badge above, or add the JSON block to .cursor/mcp.json in your project (shared with your team) or ~/.cursor/mcp.json (personal, all projects). See examples/mcp.json for a full config with credentials.
Add the same mcpServers block to claude_desktop_config.json (Settings > Developer > Edit Config).
claude mcp add universal-connector -- uvx universal-connector-mcp
Add the server under "servers" in .vscode/mcp.json:
{
"servers": { "universal-connector": { "command": "uvx", "args": ["universal-connector-mcp"] } } }
All major MCP hosts accept the same mcpServers block shown above in their respective config files (~/.codeium/windsurf/mcp_config.json, Cline's MCP settings, etc.).
AI agents installing this server for a user: follow llms-install.md.
Point UCMCP_APIS_CONFIG at a YAML file to auto-load APIs at startup - see examples/apis.example.yaml.
You never edit config files to manage APIs - just tell your agent:
list_apis shows them.unload_api removes it (and from the remembered state).When an API needs credentials, load_api tells the agent exactly which environment variable to set (e.g. STRIPE_API_KEY), whether it is already configured, and the agent relays copy-pasteable instructions - you add the variable to the env block of your MCP config and restart. Secrets are never typed into the chat.
The server remembers which APIs you loaded (their spec locations - never credentials or response data) in UCMCP_STATE_FILE and restores them automatically on the next start, so the agent can pick up right where it left off. Set UCMCP_STATE_FILE=off to disable.
| Protocol | Spec source | Notes |
|---|---|---|
| OpenAPI / Swagger | OpenAPI 3.x or Swagger 2.0 (JSON/YAML), URL/file/raw | Core install. Local $ref resolution, all HTTP methods. |
| GraphQL | Introspection JSON or SDL | pip install '.[graphql]'. Auto-generates selection sets; execute accepts a fields override. |
| gRPC | Server reflection (grpc://host:port) | pip install '.[grpc]'. Unary-unary methods; reflection must be enabled server-side. |
| SOAP | WSDL (URL/file/raw) | pip install '.[soap]'. One body object parameter per operation. |
Each loaded operation gets an id namespaced as . (e.g. github.repos_get).
More walkthroughs (weather, GitHub with auth, GraphQL, parallel multi-API workflows, internal APIs): docs/EXAMPLES.md
search_catalog(query="github")
load_api(spec="https://raw.githubusercontent.com/github/rest-api-description/main/descriptions/api.github.com/api.github.com.json", name="github") search_operations(query="list repositories for user", api="github") get_operation(operation_id="github.repos_list_for_user") execute(operation_id="github.repos_list_for_user", params={"username": "torvalds"}, extract=["*.name", "*.stargazers_count"])
GraphQL with field selection:
load_api(spec="https://countries.trevorblades.com/", protocol="graphql", name="countries")
execute(operation_id="countries.country", params={"code": "US", "fields": "name capital currency"})
Chaining (feed one result into the next; wrap steps in a nested list to run them in parallel):
execute_chained(steps=[
{"operation_id": "github.repos_list_for_user", "params": {"username": "torvalds"}, "save_as": "repos"}, {"operation_id": "github.repos_get", "params": {"owner": "torvalds", "repo": "${repos.data.0.name}"}, "extract": ["description", "stargazers_count"]} ])
All settings are environment variables prefixed with UCMCP_:
| Variable | Default | Description |
|---|---|---|
UCMCP_ALLOWED_HOSTS | (empty) | Comma-separated extra hosts allowed for outbound calls. Prefix with . for suffix matches. |
| UCMCP_DENIED_HOSTS | (
只显示了开头部分;其余内容请在仓库中阅读