Search Registry 标志

Search Registry

组织
agentic-community
search-registry

使用语义搜索查询 MCP Gateway Registry。输入自然语言查询后,调用 /api/search/semantic 端点,并将格式化结果直接返回到对话中。

概览

发布者agentic-community
代码仓库mcp-gateway-registry
技能名称search-registry
星标数
969
复刻数
244
附带文件
仅含指令
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 agentic-community 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Search Registry AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/agentic-community/mcp-gateway-registry/tree/main/.claude/skills/search-registry
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/agentic-community/mcp-gateway-registry.git /tmp/mcp-gateway-registry
mkdir -p .claude/skills
cp -r /tmp/mcp-gateway-registry/.claude/skills/search-registry .claude/skills/search-registry
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Search Registry,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Search Registry。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Search Registry 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Search Registry Skill

Search the MCP Gateway Registry for MCP servers, tools, A2A agents, skills, and virtual servers using the ai-registry-tools MCP server.

Prerequisites

The user must have the AI Registry MCP server connected to their AI Assistant session. It may be registered under various names including:

  • ai-registry-tools
  • airegistry-tools
  • ai_registry_tools
  • registry-tools
  • mcp-registry

The key indicator is that one of these tools should be available:

  • mcp__ai-registry-tools__search_registry
  • mcp__airegistry-tools__search_registry
  • or similar variations

Input

The skill accepts a natural language search query:

/search-registry <query>
  • query - What capability, tool, server, or agent the user is looking for (natural language)

If no query is provided, ask the user: "What would you like to search for in the registry?"

Examples

/search-registry tools for weather data
/search-registry exchange rates currency conversion
/search-registry document processing PDF
/search-registry travel booking flights

Workflow

Step 1: Find the Registry Search Tool

Look for the search_registry tool from the ai-registry-tools MCP server. It may be available under different prefixes depending on how the user registered the server. Try these in order:

  1. mcp__ai-registry-tools__search_registry
  2. mcp__airegistry-tools__search_registry
  3. mcp__ai_registry_tools__search_registry
  4. mcp__registry-tools__search_registry
  5. mcp__mcp-registry__search_registry

Use ToolSearch to find the correct tool name if none of the above work. Search for "search_registry" or "registry search".

If the tool cannot be found, tell the user:

"The AI Registry MCP server is not connected to this AI Assistant session. You need to add it first. See the registry documentation for connection instructions specific to your AI Assistant (Claude Code, Codex CLI, etc.)."

Step 2: Execute the Search

Call the search_registry tool with:

  • query: the user's natural language query
  • max_results: 10

Step 3: Present Results

Display the results in this format:

### Registry Search Results

**Query:** {query}
**Found:** {count} servers, {count} tools, {count} agents, {count} skills

---

For each result category that has results, show a table:

MCP Servers
NamePathScoreToolsTransportEndpoint
{server_name}{path}{relevance_score}{num_tools}{supported_transports}{endpoint_url}

For servers with matching_tools, list them below:

{server_name} matching tools:

ToolDescription
{tool_name}{description truncated to 80 chars}
Tools
ToolServerScoreEndpointDescription
{tool_name}{server_name}{relevance_score}{endpoint_url}{description truncated to 80 chars}
A2A Agents
NamePathScoreURLDescription
{name}{path}{relevance_score}{url}{description truncated to 80 chars}
Skills
NamePathScoreDescription
{skill_name}{path}{relevance_score}{description truncated to 80 chars}

After the tables, provide a brief plain-text summary of the top 3-5 most relevant results.

Step 4: Offer to Add MCP Servers

IMPORTANT: After presenting results, if any MCP servers were found that have an endpoint_url, ask the user:

"Would you like to add any of these MCP servers to your AI Assistant configuration? If so, which one(s)?"

Present the available servers as options (only those with a valid endpoint_url).

Step 5: Add Server to AI Assistant

If the user says yes and picks a server, determine which AI Assistant is being used and add the server using the appropriate method for that assistant.

Detecting the AI Assistant

Check for configuration files to determine the assistant in use:

  1. Claude Code: Look for .mcp.json in the project root or ~/.claude/settings.json
  2. Codex CLI: Look for codex.json or .codex/ configuration directory
  3. Other assistants: Ask the user which assistant they are using if it cannot be determined automatically
Adding for Claude Code

Method 1 (preferred): Use the claude mcp add command

Run this command (either in a terminal or prefixed with ! inside a Claude Code session):

bash
claude mcp add --transport http --scope user <server-name> <endpoint_url>

For example:

bash
claude mcp add --transport http --scope user real-server-fake-tools https://mcpgateway.ddns.net/realserverfaketools/mcp

This saves the server to ~/.claude.json at user scope, making it available across all projects.

Method 2: Update ~/.claude.json directly

Add the new server to the mcpServers object in ~/.claude.json (the user-level config file where ai-registry-tools and other MCP Gateway servers are configured):

json
{
  "mcpServers": {
    "existing-server": { ... },
    "new-server-name": {
      "type": "http",
      "url": "<endpoint_url from the search result>"
    }
  }
}

Note: Do NOT add servers to the project-level .mcp.json file. That file is committed to git and should not contain user-specific MCP server configurations. Use ~/.claude.json (user scope) for servers that persist across projects.

Adding for Codex CLI

Update the Codex MCP configuration file (typically ~/.codex/mcp.json or the project-level equivalent):

json
{
  "servers": {
    "new-server-name": {
      "url": "<endpoint_url from the search result>"
    }
  }
}

Or use the Codex CLI command if available:

bash
codex mcp add <server-name> --url <endpoint_url>
Adding for Other Assistants

If the AI Assistant cannot be determined or is not one of the above, provide the user with the raw connection details and let them configure it manually:

"Here are the connection details for the server:

  • Name: {server_name}
  • Endpoint URL: {endpoint_url}
  • Transport: streamable-http

Add this to your AI Assistant's MCP server configuration using the method appropriate for your tool."

Server Name Convention

Claude Code only allows server names containing letters, numbers, hyphens, and underscores. Dots and slashes are not allowed.

To derive a valid server name from the server's path field:

  1. Remove the leading slash
  2. Replace slashes with hyphens
  3. Remove dots or replace them with hyphens
  4. If the result is still unclear, use the server_name field as inspiration for a short, descriptive name

Examples:

  • Path /ai.agenticshelf-graffeo with server_name "ai.agenticshelf/graffeo" (a coffee catalog) becomes graffeo-coffee
  • Path /realserverfaketools/ becomes real-server-fake-tools
  • Path /ai.com.mcp-openai-tools becomes openai-tools

Step 6: Inform User About New Session

After successfully adding the server, tell the user:

"Server '{server_name}' has been added to your AI Assistant's MCP configuration.

You will need to start a new session to use this server's tools. I cannot start the new session for you, but you can continue this conversation in that session. The new tools from '{server_name}' will be available once you restart."

Fallback: Browse the Full Catalog

If the semantic search returns no relevant results (or the user is unsure what to search for), fall back to listing the full catalog using these tools:

  • list_services - Lists all registered MCP servers (unfiltered). Good for browsing what is available.
  • list_agents - Lists all registered A2A agents.
  • list_skills - Lists all registered skills.

Tell the user:

"The semantic search did not find a close match. Let me list the full catalog so you can browse what is available."

Then call the appropriate listing tool(s) and present the results in a similar table format. If the user finds something of interest from the listing, continue with Step 4 (offer to add it).

Additionally, if a skill is found that looks useful, offer to fetch its full instructions using get_skill_content with the skill name.

Available Registry Tools Reference

The ai-registry-tools MCP server provides these tools:

ToolPurpose
search_registrySemantic search across all entity types (primary search tool)
list_servicesList all MCP servers in the registry (unfiltered)
list_agentsList all A2A agents in the registry (unfiltered)
list_skillsList all skills in the registry (unfiltered)
get_skill_contentFetch full SKILL.md instructions for a skill by name
healthcheckCheck registry health status and statistics

Error Handling

  • Tool not found: Tell the user the ai-registry-tools MCP server is not connected and how to add it.
  • No results from search: Tell the user no results were found, then offer to list the full catalog using list_services, list_agents, or list_skills so they can browse what is available.
  • Search error: Display the error message from the tool response and suggest the user check their registry connection.
  • Server already exists in config: If the user picks a server that's already in their MCP configuration, tell them it's already configured.

Notes

  • Always search ALL entity types. Do not ask the user to filter by category.
  • The endpoint_url field on servers is the streamable-http MCP endpoint that can be added directly to any AI Assistant that supports MCP.
  • Some servers may have authentication requirements. If the endpoint requires auth headers, note this to the user when offering to add the server. They may need to add headers manually to the config after.
  • Do NOT add servers without user confirmation. Always ask first.

常见问题

Search Registry AI 技能有什么作用?

使用语义搜索查询 MCP Gateway Registry。输入自然语言查询后,调用 /api/search/semantic 端点,并将格式化结果直接返回到对话中。

为什么在 TypingMind 中使用 Search Registry?

因为您只需安装一次,就能搭配任何模型使用。Search Registry 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Search Registry?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/agentic-community/mcp-gateway-registry/tree/main/.claude/skills/search-registry。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Search Registry?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Search Registry 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Search Registry 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Search Registry AI 技能免费吗?

是的。agentic-community 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇