add-mcp-server
БесплатноБез исполняемых скриптовНе проверенAdd new MCP server entries to the ToolHive registry. Creates server.json and icon.svg files with correct schema, _meta extensions, and validation. Use when…
от stacklok★ 27 звёзд на GitHubОб этом скилле
Add MCP Server to ToolHive Registry
Each entry is a server.json file in registries/toolhive/servers/<name>/ following the
MCP ServerJSON schema
with ToolHive extensions in _meta.
Workflow
- Determine type: Docker/OCI image → Container (
packages). HTTP endpoint → Remote (remotes). - Choose name: lowercase, numbers, hyphens only. Append
-remotefor remote variants. - Create directory:
mkdir -p registries/toolhive/servers/<name> - Gather info if needed: fetch README/docs for tools, transport, env vars, auth.
- Create
icon.svg: service logo, simple, standard SVG format. - Create
server.json: use templates below. - Validate:
task catalog:validate && task catalog:build
Minimal Container Template
{
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"name": "io.github.stacklok/<server-name>",
"description": "Clear, concise one-line description",
"title": "<Human-Readable Title>",
"repository": {
"url": "https://github.com/org/repo",
"source": "github"
},
"version": "1.0.0",
"packages": [
{
"registryType": "oci",
"identifier": "ghcr.io/org/server:v1.0.0",
"transport": {
"type": "stdio"
}
}
],
"icons": [
{
"src": "https://raw.githubusercontent.com/stacklok/toolhive-registry/main/registries/toolhive/servers/<server-name>/icon.svg",
"mimeType": "image/svg+xml",
"sizes": ["any"]
}
],
"_meta": {
"io.modelcontextprotocol.registry/publisher-provided": {
"io.github.stacklok": {
"ghcr.io/org/server:v1.0.0": {
"tier": "Community",
"status": "Active",
"tags": ["category1", "category2"],
"tools": ["tool_name"],
"overview": "## Server Title\n\nA 3-5 sentence markdown description of purpose and capabilities."
}
}
}
}
}
For complete templates with env vars, permissions, provenance: see references/container-servers.md.
Minimal Remote Template
{
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"name": "io.github.stacklok/<server-name>",
"description": "Clear, concise one-line description",
"title": "<Human-Readable Title> (Remote)",
"repository": {
"url": "https://github.com/org/repo",
"source": "github"
},
"version": "1.0.0",
"remotes": [
{
"type": "streamable-http",
"url": "https://api.example.com/mcp"
}
],
"icons": [
{
"src": "https://raw.githubusercontent.com/stacklok/toolhive-registry/main/registries/toolhive/servers/<server-name>/icon.svg",
"mimeType": "image/svg+xml",
"sizes": ["any"]
}
],
"_meta": {
"io.modelcontextprotocol.registry/publisher-provided": {
"io.github.stacklok": {
"https://api.example.com/mcp": {
"tier": "Community",
"status": "Active",
"tags": ["remote", "category1"],
"tools": ["tool_name"],
"overview": "## Server Title (Remote)\n\nA 3-5 sentence markdown description of purpose and capabilities."
}
}
}
}
}
For complete templates with OAuth, custom_metadata: see references/remote-servers.md.
Critical Rules
| Rule | Detail |
|---|---|
| Extension key | _meta key MUST exactly match packages[0].identifier (containers) or remotes[0].url (remotes) |
| Icons | Every entry needs icons array + icon.svg file in server directory |
| Overview | Markdown string starting with ## Title\n\n followed by 3-5 sentences |
| Name format | io.github.stacklok/<server-name> |
| Title | Human-readable display name (e.g., "Fetch", "GitHub (Remote)", "AWS Knowledge Bases") |
| Tier | Exactly "Official" or "Community". Default to "Community" — "Official" is reserved for servers maintained by the ToolHive team, the MCP spec authors, or the platform owner of the integrated service |
| Status | Exactly "Active" or "Deprecated" |
| Remote tags | Must include "remote" in tags |
| Remote transport | "streamable-http" or "sse" only (NEVER "stdio") |
| Container transport | "stdio" (default) or "streamable-http" with "url": "http://localhost:8080" |
| No filesystem paths | NEVER include filesystem paths in permissions — network only |
| Image tags | Always pin version tags (never latest) |
Auto-Populated Fields (Do NOT Include)
CI workflows automatically populate these — omit from new entries:
metadata.stars,metadata.pulls,metadata.last_updatedtool_definitions(full MCP Tool objects with inputSchema)
The tools list is also auto-updated by CI on PR, but include your best-effort list in new entries.
Information Gathering
When the user provides
Установить add-mcp-server в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadGrepGlobBashWriteEditWebFetchWebSearchВложенные файлы
FAQ
Что делает скилл add-mcp-server?
Add new MCP server entries to the ToolHive registry. Creates server.json and icon.svg files with correct schema, _meta extensions, and validation. Use when adding a server, creating a registry entry, onboarding an MCP server, or writing server.json. NOT for reviewing existing entries (use mcp-review).
Как установить скилл add-mcp-server?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл add-mcp-server запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic