{
  "markdown": "# Get Joke MCP Server\n\nMinimal Model Context Protocol (MCP) server (Node.js) that exposes one tool: `get_joke`.\n\n## Setup\n\n```bash\nnpm install\n```\n\n## Run\n\n```bash\nnode index.js\n```\n\nOr:\n\n```bash\nnpm start\n```\n\n## Test (without Inspector)\n\nThis repo includes a tiny SDK-based client that spawns the server over stdio, lists tools, and calls `get_joke`:\n\n```bash\nnpm run test:mcp\n```\n\n## Tool response shape\n\nThe `get_joke` tool returns JSON like:\n\n```json\n{\n  \"joke\": \"Why do programmers prefer dark mode? Because light attracts bugs.\"\n}\n```\n\n## Publish to the MCP Registry (official)\n\nThe official MCP Registry stores **metadata** only, so you must publish the package to **npm** first.\n\n1) Publish to npm (once):\n\n```bash\nnpm adduser\nnpm publish --access public\n```\n\n2) Publish metadata to the MCP Registry:\n\n```bash\nbrew install mcp-publisher\nmcp-publisher login github\nmcp-publisher publish\n```\n\nNotes:\n- `package.json` includes `mcpName` and `server.json` uses the same `name` (required for verification).\n- If you change the version, bump it in **both** `package.json` and `server.json` (and republish to npm).\n",
  "bytes": 1117,
  "sha": "457460068716f4f3fb87131f528ce011e5335c218c819578543e2c3ac2241b54",
  "repo_slug": "hamzaaamin/get-joke",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_hamzaaamin_get_joke_d8d23a86/readme"
}