{"_id":"@astropress-diy/mcp","_rev":"2-9e6cd97e3d227eb54e951894ed4e647e","name":"@astropress-diy/mcp","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.1":{"name":"@astropress-diy/mcp","version":"0.0.1","license":"MIT","_id":"@astropress-diy/mcp@0.0.1","maintainers":[{"name":"astropress.diy","email":"hello@astropress.diy"}],"bin":{"astropress-mcp":"dist/server.js"},"dist":{"shasum":"4e5eff0715b2bd794c5bf1ed4d519107a9a982c2","tarball":"https://registry.npmjs.org/@astropress-diy/mcp/-/mcp-0.0.1.tgz","fileCount":2,"integrity":"sha512-54Iplt5VpXGgwQyxX2ePiYX3TOOjxrdwH5aKC+n5Vsg31IhkZ47uXRJTuOH7VRqmQa64Aw3c9exEA5n8+6RzXQ==","signatures":[{"sig":"MEUCIQDyAvD8k38u13y8C0PgMDXl8ysaFg7p6E+uTsXflMsKzgIgE8rBHzIeHSJg8PM5rDAq6dZF6UAqwzHudyrGpm5z+a0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8446},"main":"./dist/server.js","type":"module","shasum":"4e5eff0715b2bd794c5bf1ed4d519107a9a982c2","engines":{"node":">=24.8.0"},"scripts":{"build":"tsc --project tsconfig.json","start":"node dist/server.js"},"_npmUser":{"name":"astropress.diy","email":"hello@astropress.diy"},"_integrity":"sha512-54Iplt5VpXGgwQyxX2ePiYX3TOOjxrdwH5aKC+n5Vsg31IhkZ47uXRJTuOH7VRqmQa64Aw3c9exEA5n8+6RzXQ==","_npmVersion":"10.8.3","description":"MCP server for Astropress — lets AI agents read and write content via the REST API","directories":{},"_nodeVersion":"24.3.0","dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.0.1_1776144998345_0.38417416256773107","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@astropress-diy/mcp","version":"0.0.3","description":"MCP server for Astropress — lets AI agents read and write content via the REST API","type":"module","bin":{"astropress-mcp":"dist/server.js"},"main":"./dist/server.js","scripts":{"build":"tsc --project tsconfig.json","prepublishOnly":"bun run build","start":"node dist/server.js"},"dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"devDependencies":{"@types/node":"^22.0.0","typescript":"^6.0.2"},"engines":{"node":">=24.8.0"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Astropress/astropress.git"},"bugs":{"url":"https://github.com/Astropress/astropress/issues"},"homepage":"https://astropress.diy","_id":"@astropress-diy/mcp@0.0.3","gitHead":"d0b80be02e172bcf54401e1afdeec11d78711e35","_nodeVersion":"24.8.0","_npmVersion":"11.6.0","dist":{"integrity":"sha512-FPED9YaGnz8z/4YuE/RKoyzNSTu9PRVulBbLxsSK1AfsyJ7ScYXoZtEcrFrMBgZr8hqteUjNsdCF+TRK10XutA==","shasum":"8d6e698303df4da04c9bb5701a70876881f025e4","tarball":"https://registry.npmjs.org/@astropress-diy/mcp/-/mcp-0.0.3.tgz","fileCount":3,"unpackedSize":10761,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@astropress-diy%2fmcp@0.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFBk4PBR27vgkkmpnyRmaimH9JBMVmoPAVbY89pPwIAGAiEA2VYiO9YJWAqAoC/NSHUS9S+1T2z3Jy74BUYop2etenI="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ac63b750-1f15-4f64-9efb-dadce6459323"}},"directories":{},"maintainers":[{"name":"astropress.diy","email":"hello@astropress.diy"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_0.0.3_1776242191825_0.853475630615105"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-14T05:36:38.229Z","modified":"2026-04-15T08:36:32.316Z","0.0.1":"2026-04-14T05:36:38.480Z","0.0.3":"2026-04-15T08:36:31.987Z"},"license":"MIT","description":"MCP server for Astropress — lets AI agents read and write content via the REST API","maintainers":[{"name":"astropress.diy","email":"hello@astropress.diy"}],"readme":"# @astropress-diy/mcp\n\nMCP server for [Astropress](https://astropress.diy) — lets AI agents read and write content via the Astropress REST API.\n\nConnect Claude, Cursor, or any MCP-compatible AI tool directly to your Astropress site so it can list, draft, update, and inspect content without leaving the editor.\n\n## Prerequisites\n\nA running Astropress site with API access enabled. Any deployment target works (local SQLite, Cloudflare D1, Supabase, etc.).\n\n## Configuration\n\nSet two environment variables before starting the server:\n\n| Variable | Description |\n|---|---|\n| `ASTROPRESS_API_URL` | Base URL of your Astropress site, e.g. `https://example.com` |\n| `ASTROPRESS_API_TOKEN` | API token from the Astropress admin panel (Settings → API Tokens) |\n\n## Usage\n\n### Claude Desktop\n\nAdd to `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"astropress\": {\n      \"command\": \"npx\",\n      \"args\": [\"astropress-mcp\"],\n      \"env\": {\n        \"ASTROPRESS_API_URL\": \"https://your-site.com\",\n        \"ASTROPRESS_API_TOKEN\": \"your-token\"\n      }\n    }\n  }\n}\n```\n\n### Cursor / other MCP clients\n\n```bash\nASTROPRESS_API_URL=https://your-site.com \\\nASTROPRESS_API_TOKEN=your-token \\\nnpx astropress-mcp\n```\n\n### Run directly\n\n```bash\nnpm install -g @astropress-diy/mcp\nASTROPRESS_API_URL=https://your-site.com ASTROPRESS_API_TOKEN=your-token astropress-mcp\n```\n\n## Tools\n\n| Tool | Description |\n|---|---|\n| `list_content` | List content records, optionally filtered by type (`post`/`page`) and status (`draft`/`published`/`archived`) |\n| `get_content` | Get a single content record by ID or slug |\n| `create_content` | Create a new content record |\n| `update_content` | Update an existing content record by ID or slug |\n| `list_media` | List all media assets |\n| `get_site_settings` | Get site settings (title, tagline, etc.) |\n| `get_health` | Check the health of the Astropress site |\n| `get_revisions` | Get the full revision history for a content record |\n\n## License\n\nMIT — see the [Astropress repository](https://github.com/astropress/astropress).\n","readmeFilename":"README.md","homepage":"https://astropress.diy","repository":{"type":"git","url":"git+https://github.com/Astropress/astropress.git"},"bugs":{"url":"https://github.com/Astropress/astropress/issues"}}