MCPCentral - MCP Server Discovery
Discover and search MCP servers using two real data sources:
- 1. Official MCP Registry (
registry.modelcontextprotocol.io) — canonical source for server metadata, versions, packages, transport config, and environment variables. Public, no auth required. - MCPCentral (
mcpcentral.io) — enrichment data: GitHub stars, npm downloads, editorial picks. Paginated bulk endpoint.
Gotchas
- - Server names contain
/ and must be URL-encoded. Names like io.github.owner/server-name must be encoded as io.github.owner%2Fserver-name in URL path segments. Forgetting this causes 404 "Endpoint not found" errors. cursor vs next_cursor naming inconsistency. The MCPCentral API accepts a cursor query parameter for pagination, but the response field containing the next token is named next_cursor. These are different names for input and output.- MCPCentral has no search parameter. The
mcpcentral.io/api/servers endpoint only supports paginated browsing sorted by stars. Use the official registry for keyword search. title and websiteUrl may be null. Fall back to name for display and repository.url for linking when these fields are absent.- MCPCentral enrichment data may lag the official registry. Always use the official registry for authoritative version and package data; treat MCPCentral metrics as supplemental.
Important: What the Registry Contains (and Doesn't)
Contains: Package metadata (npm/pypi/docker identifiers), install commands, transport configuration (stdio/SSE/streamable-http), environment variables, remote URLs, repository links, version history.
Does NOT contain: Tool schemas, tool lists, or runtime behavior. The registry stores how to install and connect to a server, not what tools it exposes.
To discover a server's actual tools: Install it and call tools/list via MCP protocol, or read its README/documentation.
API Reference
All endpoints are public. No authentication required.
Official Registry Endpoints
Search servers:
curl "https://registry.modelcontextprotocol.io/v0.1/servers?search=QUERY&limit=N&version=latest"
Parameters:
search (substring match on name/description),
limit (results per page, default 100),
cursor (pagination token from previous response),
updated_since (ISO 8601 datetime),
version=latest (only latest versions).
Get specific server version:
curl "https://registry.modelcontextprotocol.io/v0.1/servers/SERVER_NAME_URL_ENCODED/versions/latest"
The server name contains a
/ (e.g.,
io.github.owner/server-name), so it must be URL-encoded as
%2F in the path. Example:
io.github.Digital-Defiance%2Fmcp-filesystem.
List all versions:
CODEBLOCK2
MCPCentral Endpoint
Browse servers with enrichment data:
curl "https://mcpcentral.io/api/servers?limit=N&cursor=TOKEN"
Returns servers sorted by stars (descending). Response includes:
count (total),
limit,
next_cursor (base64 pagination token),
servers[]. No search parameter — use for browsing popular servers or enriching data from the official registry.
Note: The pagination query parameter is cursor, but the response field containing the next token is next_cursor.
Capabilities
Searching for Servers
Use the official registry search endpoint. The search is a substring match on server names and descriptions — it is not NLP or semantic search.
CODEBLOCK4
Parse the response: Each result is in servers[].server with fields: name, description, version, repository.url, packages[], remotes[]. Metadata is in servers[]._meta["io.modelcontextprotocol.registry/official"] with status, publishedAt, updatedAt, isLatest.
Pagination: If metadata.nextCursor is present, pass it as cursor to get the next page.
Fallback strategies for few/no results:
- - Try shorter or alternative keywords (e.g., "db" instead of "database")
- Try the package name (e.g., "mcp-server-sqlite" instead of "sqlite tool")
- Browse recent servers without a search term
Getting Server Details
Fetch the latest version of a specific server by name:
CODEBLOCK5
Key fields to extract from the response:
- -
server.name — canonical identifier - INLINECODE45 — human-readable display name (may be null)
- INLINECODE46 — what it does
- INLINECODE47 — current version
- INLINECODE48 — source code link
- INLINECODE49 — project homepage (may be absent)
- INLINECODE50 — install methods, each with:
-
registryType (npm, pypi, docker)
-
identifier (package name)
-
transport.type (stdio, sse, streamable-http)
-
environmentVariables[] (name, description, isRequired, isSecret)
-
runtimeHint (e.g., "node", "python", "uvx")
-
runtimeArguments[],
packageArguments[]
- -
server.remotes[] — hosted endpoints (type, url, headers) - INLINECODE59 — server icons (src, theme, sizes)
- INLINECODE60 — active, deprecated, or deleted
- INLINECODE61 ,
.updatedAt, INLINECODE63
Listing Versions
Get all published versions of a server:
CODEBLOCK6
Response is servers[] array, each with full server metadata. Version status is in _meta["io.modelcontextprotocol.registry/official"] with status (active/deprecated/deleted) and isLatest (boolean).
Browsing Recent/Popular Servers
To explore without a specific search term:
Browse by recency (official registry):
CODEBLOCK7
Browse by popularity (MCPCentral):
curl "https://mcpcentral.io/api/servers?limit=10"
Results are sorted by GitHub stars descending. Pass the
next_cursor value from the response as the
cursor query parameter to get the next page.
Recommending Servers (AI-Synthesized)
There is no recommendation API. To recommend servers for a user's task:
- 1. Extract keywords from the user's request (e.g., "I need to query a database" → search "database", "query", "sql")
- Run multiple searches with different keywords against the official registry
- Merge and rank results based on: description relevance, number of keyword matches, whether the server has packages (installable) vs only remotes (hosted)
- Present as AI recommendations — clearly label these as your synthesis, not an API result
Generating Setup Guides
Extract installation and configuration from real server metadata. After fetching a server's details:
1. Determine install method from packages[]:
For registryType: "npm":
CODEBLOCK9
For registryType: "pypi":
CODEBLOCK10
For registryType: "docker":
CODEBLOCK11
2. Extract environment variables from packages[].environmentVariables[]:
List each with its name, description, and whether isRequired/isSecret.
3. Check for remote endpoints in remotes[]:
If the server has remotes[], it can be used without local installation via its hosted URL.
4. Generate MCP client configuration (see "Next Steps After Discovery" below).
Reading Server Documentation
The registry does not store READMEs. To discover a server's actual tools and capabilities:
- 1. Extract
repository.url from the server metadata - Construct the raw README URL:
- GitHub:
https://raw.githubusercontent.com/OWNER/REPO/HEAD/README.md
- If the repo has a
subfolder, try:
https://raw.githubusercontent.com/OWNER/REPO/HEAD/SUBFOLDER/README.md
- 3. Fetch and summarize the README content
This is the best way to discover what tools a server actually exposes, since the registry only stores package metadata.
MCPCentral Enrichment
Use the MCPCentral endpoint to add community metrics when presenting servers to users:
CODEBLOCK12
Enrichment fields per server:
- -
stars — GitHub stars count - INLINECODE86 — npm download volume
- INLINECODE87 — package license
- INLINECODE88 — MCPCentral editorial recommendation (boolean or null)
- INLINECODE89 — MCPCentral staff pick (boolean or null)
- INLINECODE90 — officially maintained (boolean or null)
- INLINECODE91 ,
owner.avatar_url — author info
When to use: When a user wants to compare servers by popularity, or when browsing for well-maintained options. Match servers between the two sources using the name field (format: io.github.owner/server-name).
Note: MCPCentral has no search parameter. To find a specific server's enrichment data, fetch pages and filter client-side by name, or use it for popularity-sorted browsing.
Next Steps After Discovery
After a user finds a server, provide setup configuration for their MCP client. Generate these from the server's real packages[], remotes[], and environmentVariables[] data.
For stdio-based servers (local install)
Claude Desktop (claude_desktop_config.json):
CODEBLOCK13
VS Code (.vscode/mcp.json):
CODEBLOCK14
Generic (.mcp.json / mcp.json):
CODEBLOCK15
Adapt the command and args based on registryType:
- - npm: INLINECODE105
- pypi: INLINECODE106
- docker: INLINECODE107
If the package has runtimeHint or runtimeArguments, use those to build the command instead.
For remote servers (hosted endpoint)
If the server has remotes[] entries, provide the URL-based config:
CODEBLOCK16
Use the remotes[].type to set the transport (sse, streamable-http).
Required environment variables
Always list any environment variables from packages[].environmentVariables[], noting which are required and which are secrets. Example:
Required environment variables:
- -
DATABASE_URL (required) — PostgreSQL connection string - INLINECODE116 (required, secret) — Authentication token
Error Handling
404 "Endpoint not found": The server name must be URL-encoded. The / in names like io.github.owner/repo must be encoded as %2F.
Empty search results: Try shorter keywords, alternative terms, or browse without a search term. The search is substring-based, not fuzzy.
Rate limiting: The official registry is public with generous limits. If you encounter rate limits, add a brief pause between requests.
Stale MCPCentral data: The MCPCentral bulk endpoint may lag behind the official registry. Always prefer the official registry for version and package data; use MCPCentral only for enrichment metrics.
Limitations
- - No tool schemas in the registry. The registry stores package/install metadata only. To see what tools a server exposes, read its README or install it and call
tools/list. - Search is substring-based. The official registry search matches substrings in name and description fields. It does not support semantic/NLP search, relevance scoring, or category filtering.
- MCPCentral has no search. The MCPCentral endpoint returns servers sorted by stars with pagination, but has no search parameter.
- Server names must be URL-encoded in path parameters since they contain
/.
MCPCentral - MCP服务器发现
使用两个真实数据源发现和搜索MCP服务器:
- 1. 官方MCP注册表(registry.modelcontextprotocol.io)— 服务器元数据、版本、包、传输配置和环境变量的权威来源。公开,无需认证。
- MCPCentral(mcpcentral.io)— 增强数据:GitHub星标、npm下载量、编辑推荐。分页批量端点。
注意事项
- - 服务器名称包含/,必须进行URL编码。 像io.github.owner/server-name这样的名称在URL路径段中必须编码为io.github.owner%2Fserver-name。忘记此操作会导致404端点未找到错误。
- cursor与nextcursor命名不一致。 MCPCentral API接受cursor查询参数进行分页,但包含下一个令牌的响应字段名为nextcursor。输入和输出使用了不同的名称。
- MCPCentral没有搜索参数。 mcpcentral.io/api/servers端点仅支持按星标排序的分页浏览。请使用官方注册表进行关键词搜索。
- title和websiteUrl可能为null。 当这些字段缺失时,使用name进行显示,使用repository.url进行链接。
- MCPCentral增强数据可能滞后于官方注册表。 始终使用官方注册表获取权威版本和包数据;将MCPCentral指标视为补充信息。
重要提示:注册表包含的内容(及不包含的内容)
包含: 包元数据(npm/pypi/docker标识符)、安装命令、传输配置(stdio/SSE/streamable-http)、环境变量、远程URL、仓库链接、版本历史。
不包含: 工具模式、工具列表或运行时行为。注册表存储的是如何安装和连接到服务器,而不是它暴露了哪些工具。
要发现服务器的实际工具: 安装它并通过MCP协议调用tools/list,或阅读其README/文档。
API参考
所有端点均为公开。无需认证。
官方注册表端点
搜索服务器:
curl https://registry.modelcontextprotocol.io/v0.1/servers?search=QUERY&limit=N&version=latest
参数:search(名称/描述的子串匹配),limit(每页结果数,默认100),cursor(来自前一个响应的分页令牌),updated_since(ISO 8601日期时间),version=latest(仅最新版本)。
获取特定服务器版本:
curl https://registry.modelcontextprotocol.io/v0.1/servers/SERVERNAMEURL_ENCODED/versions/latest
服务器名称包含/(例如io.github.owner/server-name),因此必须在路径中编码为%2F。示例:io.github.Digital-Defiance%2Fmcp-filesystem。
列出所有版本:
curl https://registry.modelcontextprotocol.io/v0.1/servers/SERVERNAMEURL_ENCODED/versions
MCPCentral端点
浏览带有增强数据的服务器:
curl https://mcpcentral.io/api/servers?limit=N&cursor=TOKEN
返回按星标降序排列的服务器。响应包括:count(总数),limit,next_cursor(base64分页令牌),servers[]。无搜索参数 — 用于浏览热门服务器或增强来自官方注册表的数据。
注意: 分页查询参数是cursor,但包含下一个令牌的响应字段是next_cursor。
能力
搜索服务器
使用官方注册表搜索端点。搜索是服务器名称和描述的子串匹配 — 不是NLP或语义搜索。
curl https://registry.modelcontextprotocol.io/v0.1/servers?search=postgres&limit=5&version=latest
解析响应: 每个结果在servers[].server中,包含字段:name,description,version,repository.url,packages[],remotes[]。元数据在servers[]._meta[io.modelcontextprotocol.registry/official]中,包含status,publishedAt,updatedAt,isLatest。
分页: 如果存在metadata.nextCursor,将其作为cursor传递以获取下一页。
结果很少/无结果的备用策略:
- - 尝试更短或替代关键词(例如,用db代替database)
- 尝试包名称(例如,用mcp-server-sqlite代替sqlite tool)
- 不使用搜索词浏览最近的服务器
获取服务器详情
按名称获取特定服务器的最新版本:
curl https://registry.modelcontextprotocol.io/v0.1/servers/io.github.owner%2Fserver-name/versions/latest
从响应中提取的关键字段:
- - server.name — 规范标识符
- server.title — 人类可读的显示名称(可能为null)
- server.description — 功能描述
- server.version — 当前版本
- server.repository.url — 源代码链接
- server.websiteUrl — 项目主页(可能缺失)
- server.packages[] — 安装方法,每个包含:
- registryType(npm, pypi, docker)
- identifier(包名称)
- transport.type(stdio, sse, streamable-http)
- environmentVariables[](名称,描述,isRequired,isSecret)
- runtimeHint(例如node,python,uvx)
- runtimeArguments[],packageArguments[]
- - server.remotes[] — 托管端点(类型,url,headers)
- server.icons[] — 服务器图标(src,theme,sizes)
- meta[io.modelcontextprotocol.registry/official].status — active,deprecated或deleted
- meta[io.modelcontextprotocol.registry/official].publishedAt,.updatedAt,.isLatest
列出版本
获取服务器的所有已发布版本:
curl https://registry.modelcontextprotocol.io/v0.1/servers/io.github.owner%2Fserver-name/versions
响应为servers[]数组,每个包含完整的服务器元数据。版本状态在_meta[io.modelcontextprotocol.registry/official]中,包含status(active/deprecated/deleted)和isLatest(布尔值)。
浏览最近/热门服务器
无需特定搜索词进行探索:
按最近更新浏览(官方注册表):
curl https://registry.modelcontextprotocol.io/v0.1/servers?limit=10&version=latest&updated_since=2026-01-01T00:00:00Z
按流行度浏览(MCPCentral):
curl https://mcpcentral.io/api/servers?limit=10
结果按GitHub星标降序排列。将响应中的next_cursor值作为cursor查询参数传递以获取下一页。
推荐服务器(AI合成)
没有推荐API。为用户任务推荐服务器:
- 1. 提取关键词从用户请求中(例如,我需要查询数据库 → 搜索database,query,sql)
- 使用不同关键词多次搜索官方注册表
- 合并并排序结果基于:描述相关性,关键词匹配数量,服务器是否有包(可安装)还是仅有远程(托管)
- 呈现为AI推荐 — 明确标注这是你的合成结果,而非API结果
生成设置指南
从真实服务器元数据中提取安装和配置信息。获取服务器详情后:
1. 从packages[]确定安装方法:
对于registryType: npm:
bash
npx -y PACKAGE_IDENTIFIER
对于registryType: pypi:
bash
uvx PACKAGE_IDENTIFIER
或:pip install PACKAGEIDENTIFIER && python -m PACKAGEIDENTIFIER
对于registryType: docker:
bash
docker run PACKAGE_IDENTIFIER
2. 从packages[].environmentVariables[]提取环境变量:
列出每个变量的name,description,以及是否isRequired/isSecret。
3. 检查remotes[]中的远程端点:
如果服务器有remotes[],可以通过其托管URL使用,无需本地安装。
4. 生成MCP客户端配置(见下文发现后的后续步骤)。
阅读服务器文档
注册表不存储README。要发现服务器的实际工具和能力:
- 1. 从服务器元数据中提取repository.url
- 构建原始README