{"_id":"@agent_press/mcp-server","_rev":"3-cf438154e72a86f9e07f98b710d6d82d","name":"@agent_press/mcp-server","dist-tags":{"latest":"1.0.0","next":"1.0.0-rc.2"},"versions":{"1.0.0-rc.1":{"name":"@agent_press/mcp-server","version":"1.0.0-rc.1","keywords":["agents.txt","agentpress","mcp","model-context-protocol","ai-agents","claude-code","cursor","devin"],"license":"MIT","_id":"@agent_press/mcp-server@1.0.0-rc.1","maintainers":[{"name":"barneywohl","email":"barneywohl@gmail.com"}],"homepage":"https://github.com/barneywohl/agentpress/tree/main/packages/mcp-server","bugs":{"url":"https://github.com/barneywohl/agentpress/issues"},"bin":{"agentpress-mcp":"dist/index.js"},"dist":{"shasum":"97b5aa7b39e6419051be9f41b0e65cea7673b565","tarball":"https://registry.npmjs.org/@agent_press/mcp-server/-/mcp-server-1.0.0-rc.1.tgz","fileCount":5,"integrity":"sha512-NtTERFAj/10kDzNO+rbD6Y2w3NPSFBQl0bUv2SavM6p50kwa0n0CcabXfDkBsRn8r4lvc6yDvb8zrLSxvC107w==","signatures":[{"sig":"MEYCIQCYRIbS0OIavE/yEkBmDg1YRan6wfdRuxvcxBdRflQMuAIhALyqaszdzWr5z2Kqfco07fpLNPpo7q+JL28r9jknIOy3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27429},"main":"./dist/index.js","type":"module","engines":{"node":">=18"},"gitHead":"c45cf8d42c6d5dffc10faa966569007cf91337e2","scripts":{"build":"tsc -p tsconfig.json","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"barneywohl","email":"barneywohl@gmail.com"},"repository":{"url":"git+https://github.com/barneywohl/agentpress.git","type":"git","directory":"packages/mcp-server"},"_npmVersion":"10.9.4","description":"MCP server that exposes any agents.txt file as queryable tools and resources. Plug into Claude Code, Cursor, Devin, and any other MCP-speaking agent.","directories":{},"_nodeVersion":"22.22.0","dependencies":{"@agent_press/core":"^1.0.0-rc.1","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server_1.0.0-rc.1_1778651539920_0.6767723084500663","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-rc.2":{"name":"@agent_press/mcp-server","version":"1.0.0-rc.2","keywords":["agents.txt","agentpress","mcp","model-context-protocol","ai-agents","claude-code","cursor","devin"],"license":"MIT","_id":"@agent_press/mcp-server@1.0.0-rc.2","maintainers":[{"name":"barneywohl","email":"barneywohl@gmail.com"}],"homepage":"https://github.com/barneywohl/agentpress/tree/main/packages/mcp-server","bugs":{"url":"https://github.com/barneywohl/agentpress/issues"},"bin":{"agentpress-mcp":"dist/index.js"},"dist":{"shasum":"fdca2e683bb429d719f9b84773431bbb604f50e9","tarball":"https://registry.npmjs.org/@agent_press/mcp-server/-/mcp-server-1.0.0-rc.2.tgz","fileCount":5,"integrity":"sha512-EeWGKG7b0uvHZxHaprYjhwbYL0pQ/kZH9/RMy/UeWNIHOPeGooUdVM0E1BOMovgHeybv7REbSh+y04zNWm3/FQ==","signatures":[{"sig":"MEUCIQDv5PsDN6ebPWQ4oFz8AJjwHevpRBPEav3GVdBhJ5F+LgIgGxNkp09XoTkjwLNI8JUEZ9bWvBX0rvxdh2xVaj4eTYQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27429},"main":"./dist/index.js","type":"module","engines":{"node":">=18"},"gitHead":"f0cbc34b0458838f79e3ab9d461c85452a5b2f64","scripts":{"build":"tsc -p tsconfig.json","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"barneywohl","email":"barneywohl@gmail.com"},"repository":{"url":"git+https://github.com/barneywohl/agentpress.git","type":"git","directory":"packages/mcp-server"},"_npmVersion":"10.9.4","description":"MCP server that exposes any agents.txt file as queryable tools and resources. Plug into Claude Code, Cursor, Devin, and any other MCP-speaking agent.","directories":{},"_nodeVersion":"22.22.0","dependencies":{"@agent_press/core":"^1.0.0-rc.2","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typescript":"^5.4.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server_1.0.0-rc.2_1778692719125_0.1417946139705939","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@agent_press/mcp-server","version":"1.0.0","description":"MCP server that exposes any agents.txt file as queryable tools and resources. Plug into Claude Code, Cursor, Devin, and any other MCP-speaking agent.","type":"module","bin":{"agentpress-mcp":"dist/index.js"},"main":"./dist/index.js","scripts":{"build":"tsc -p tsconfig.json","start":"node dist/index.js","prepublishOnly":"npm run build"},"keywords":["agents.txt","agentpress","mcp","model-context-protocol","ai-agents","claude-code","cursor","devin"],"license":"MIT","homepage":"https://github.com/barneywohl/agentpress/tree/main/packages/mcp-server","repository":{"type":"git","url":"git+https://github.com/barneywohl/agentpress.git","directory":"packages/mcp-server"},"bugs":{"url":"https://github.com/barneywohl/agentpress/issues"},"engines":{"node":">=18"},"dependencies":{"@modelcontextprotocol/sdk":"^1.0.0","@agent_press/core":"^1.0.0"},"devDependencies":{"typescript":"^5.4.0"},"_id":"@agent_press/mcp-server@1.0.0","gitHead":"859639c49b983a1e757c27fee8aca5925763dec5","_nodeVersion":"22.22.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-wNRkzNBPNhOuO1uNFKEXAbcLoALrRN+J2BR0gTLnExWXhCuW4sAFXcxiDHHg71lFkFfGMB4j7QJ+xccFnbVXBg==","shasum":"8c0e663071cba39a132c9b3f7c837ec6ba88ff8c","tarball":"https://registry.npmjs.org/@agent_press/mcp-server/-/mcp-server-1.0.0.tgz","fileCount":5,"unpackedSize":27419,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGwV6WdihppuYI0PHR2hSvDWsnCL/th70VmVGcFuBWQZAiEA4z+uwQ5C1ew0OdLhX6H2U045Rl0ZNkIWc90meBViqwk="}]},"_npmUser":{"name":"barneywohl","email":"barneywohl@gmail.com"},"directories":{},"maintainers":[{"name":"barneywohl","email":"barneywohl@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp-server_1.0.0_1778698286464_0.20301315389636065"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-13T05:52:19.834Z","modified":"2026-05-13T18:51:27.099Z","1.0.0-rc.1":"2026-05-13T05:52:20.056Z","1.0.0-rc.2":"2026-05-13T17:18:39.277Z","1.0.0":"2026-05-13T18:51:26.630Z"},"bugs":{"url":"https://github.com/barneywohl/agentpress/issues"},"license":"MIT","homepage":"https://github.com/barneywohl/agentpress/tree/main/packages/mcp-server","keywords":["agents.txt","agentpress","mcp","model-context-protocol","ai-agents","claude-code","cursor","devin"],"repository":{"type":"git","url":"git+https://github.com/barneywohl/agentpress.git","directory":"packages/mcp-server"},"description":"MCP server that exposes any agents.txt file as queryable tools and resources. Plug into Claude Code, Cursor, Devin, and any other MCP-speaking agent.","maintainers":[{"name":"barneywohl","email":"barneywohl@gmail.com"}],"readme":"# @agent_press/mcp-server\n\n> Model Context Protocol (MCP) server that exposes `agents.txt` as queryable tools and resources for any MCP-speaking agent: Claude Code, Cursor, Devin, Aider, Continue, Replit Agent, etc.\n\n## Why\n\n`agents.txt` declares what an agent may do on a given repo or site. With this MCP server installed, an agent can ask, in real time:\n\n> \"Before I open this PR, fetch the repo's `agents.txt` and tell me if `merge_to_main` is allowed.\"\n\n…and get a structured, deterministic answer.\n\n## Install\n\n```bash\nnpm install -g @agent_press/mcp-server\n```\n\n## Wire into Claude Code\n\nEdit `~/.claude/mcp_settings.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"agentpress\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@agent_press/mcp-server\"]\n    }\n  }\n}\n```\n\nRestart Claude Code. The four `agents_txt_*` tools and two resources become available.\n\n## Wire into Cursor\n\nEdit `~/.cursor/mcp.json` (or via Settings → MCP):\n\n```json\n{\n  \"mcpServers\": {\n    \"agentpress\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@agent_press/mcp-server\"]\n    }\n  }\n}\n```\n\n## Tools surfaced\n\n| Tool | Description |\n|---|---|\n| `agents_txt_fetch(url)` | Fetch + parse an agents.txt file from a URL. Returns the typed contract. |\n| `agents_txt_check_action(url, action)` | Decide if an action is `allow` / `deny` / `requires_approval` / `unknown`. |\n| `agents_txt_validate(text)` | Validate raw agents.txt content against the v1.0 spec. |\n| `agents_txt_summarize(url)` | One-paragraph human summary of a contract. |\n\n## Resources surfaced\n\n| URI | Description |\n|---|---|\n| `agentstxt://spec` | The full v1.0 specification (markdown). |\n| `agentstxt://example` | A canonical example agents.txt with sensible defaults. |\n\n## Example interaction\n\n```\nUser: Run `gh repo clone someorg/somerepo` and start working on issue #42.\nAgent: [calls agents_txt_fetch(\"https://github.com/someorg/somerepo/raw/main/agents.txt\")]\n       → contract requires PR label \"agent-authored\", prohibits merge_to_main,\n         and requires human approval for changes_touching=payments/**.\n       I'll branch, label the PR, and skip touching payments/.\n```\n\n## Privacy\n\n- Stdio-only. No network telemetry from the server itself.\n- `agents_txt_fetch` and `agents_txt_summarize` make outbound HTTPS requests to the URLs you (or the calling agent) pass.\n- No data is persisted on disk.\n\n## Development\n\n```bash\ncd packages/mcp-server\nnpm install\nnpm run build\nnpm start  # speaks MCP over stdio; pipe to an MCP host\n```\n\n## License\n\nMIT.\n","readmeFilename":"README.md"}