mirror of
https://github.com/nostr-protocol/nips.git
synced 2026-02-13 11:24:32 +00:00
1.5 KiB
1.5 KiB
NIP-AD
MCP Server and Skill Announcements
draft optional
Defines event kinds for announcing MCP servers and skills.
MCP Server Announcement (Kind 4200)
Announces an MCP server that provides tools to agents.
{
"kind": 4200,
"pubkey": "<publisher-pubkey>",
"tags": [
["name", "<server-name>"],
["description", "<what-the-server-does>"],
["command", "<execution-command>"]
],
"content": ""
}
Tags
name— Server identifierdescription— What the server providescommand— Command to start the server (e.g.,npx @anthropic-ai/mcp-server-fetch)
Skill Announcement (Kind 4202)
Announces a skill—packaged capabilities with instructions and associated files.
{
"kind": 4202,
"pubkey": "<publisher-pubkey>",
"tags": [
["title", "<skill-name>"],
["description", "<what-the-skill-does>"],
["e", "<1063-event-id>"],
["license", "<SPDX-identifier>"]
],
"content": "<skill-instructions>"
}
Tags
title— Skill namedescription— One-line descriptione— Reference to NIP-94 file metadata (kind 1063), one or morelicense— SPDX license identifier
Content
Contains skill instructions in markdown, injected into agent context when active.
Referenced Files
Each e tag references a kind 1063 event with:
url— File locationname— Relative filepath for installationm— MIME typex— SHA-256 hash