{"_id":"@1pxlabs/1px-mcp","_rev":"2-92628c124321aa1e63b7ddbc93ea79ed","name":"@1pxlabs/1px-mcp","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@1pxlabs/1px-mcp","version":"1.0.0","keywords":["mcp","1px","url-shortener","pastebin","markdown","file-upload"],"author":{"name":"1px"},"license":"MIT","_id":"@1pxlabs/1px-mcp@1.0.0","maintainers":[{"name":"1pxlabs","email":"team@1px.ch"}],"bin":{"1px-mcp":"dist/index.js"},"dist":{"shasum":"5adcf8b2dc3d2ca8598a9d195bc203ca5644e89c","tarball":"https://registry.npmjs.org/@1pxlabs/1px-mcp/-/1px-mcp-1.0.0.tgz","fileCount":5,"integrity":"sha512-AFQCpMWpeBGukluYPz9w3u7DluJi3OWi6xOsl2gqZT/ifTfpOSHzrTSYRZZVqiEfg9utgxsGn0wMhAYekWssxQ==","signatures":[{"sig":"MEQCICuSf/AEiVwR3ow7Hlo4IhheQCjXVzbyclPz0DZ+BTTcAiBxrXIWNHrqNqlFMb9kgadqdIDOrOo3HSo1rvCM9vHRZQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25516},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"096bad7b57bc65911c5dbc427617b2932766ed01","scripts":{"dev":"tsc --watch","build":"tsc","start":"node dist/index.js","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"1pxlabs","email":"team@1px.ch"},"_npmVersion":"11.9.0","description":"MCP server for 1px — URL shortener, paste bin, markdown host, and file upload","directories":{},"_nodeVersion":"24.14.0","dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5","@types/node":"^26.4.1"},"_npmOperationalInternal":{"tmp":"tmp/1px-mcp_1.0.0_1788636141725_0.3446307143196763","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@1pxlabs/1px-mcp","version":"1.0.1","description":"MCP server for 1px: URL shortener, paste bin, markdown host, and file upload","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","bin":{"1px-mcp":"dist/index.js"},"scripts":{"build":"tsc","dev":"tsc --watch","typecheck":"tsc --noEmit","start":"node dist/index.js","prepublishOnly":"npm run build"},"keywords":["mcp","1px","url-shortener","pastebin","markdown","file-upload"],"author":{"name":"1px"},"license":"MIT","engines":{"node":">=18.0.0"},"dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"devDependencies":{"@types/node":"^26.4.1","typescript":"^5"},"gitHead":"096bad7b57bc65911c5dbc427617b2932766ed01","_id":"@1pxlabs/1px-mcp@1.0.1","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-yNjMz637MAyvYnJ/hq1oCz7dYB10ElP6B8bjHSOFvR41n5sjDHOHRL7xggYnc446Gs1aeHuT1m4RhS6ZT5KQ2Q==","shasum":"d26a76e79a6e169ef4652d7f273d7ff9366432b2","tarball":"https://registry.npmjs.org/@1pxlabs/1px-mcp/-/1px-mcp-1.0.1.tgz","fileCount":5,"unpackedSize":25484,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC+H6bcW0k3inJV/rEER3klFPPJc5wEGmnbSBHQF+HAQwIhAMI6ic6HuTPouQ9zBzl1rK6rYHSM3xQdOxoInfGlTyDo"}]},"_npmUser":{"name":"1pxlabs","email":"team@1px.ch"},"directories":{},"maintainers":[{"name":"1pxlabs","email":"team@1px.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/1px-mcp_1.0.1_1788636409870_0.935147265862136"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-05T19:22:21.627Z","modified":"2026-09-05T19:26:50.152Z","1.0.0":"2026-09-05T19:22:21.855Z","1.0.1":"2026-09-05T19:26:50.001Z"},"author":{"name":"1px"},"license":"MIT","keywords":["mcp","1px","url-shortener","pastebin","markdown","file-upload"],"description":"MCP server for 1px: URL shortener, paste bin, markdown host, and file upload","maintainers":[{"name":"1pxlabs","email":"team@1px.ch"}],"readme":"# 1px MCP\n\nModel Context Protocol server for [1px](https://1px.ch), a minimalist utility suite for the web.\n\n## What it does\n\nThis MCP server lets AI assistants (Claude, Cursor, etc.) interact with your 1px account:\n\n- **Shorten URLs**: `create_short_url`\n- **Create pastes**: `create_paste`\n- **Host markdown**: `create_markdown`\n- **Upload files**: `upload_file`\n- **List items**: `list_items`\n- **Update pastes/markdowns**: `update_paste`, `update_markdown`\n- **Delete items**: `delete_item`\n\n## Setup\n\n### 1. Get an API key\n\nGo to [https://1px.ch/dashboard/api](https://1px.ch/dashboard/api) and create an API key.\n\n### 2. Install\n\n```bash\nnpx @1pxlabs/1px-mcp\n```\n\nOr clone and run locally:\n```bash\ngit clone https://github.com/1px-labs/1px.git\ncd 1px/1px-mcp\nnpm install\nnpm run build\nnpm start\n```\n\n### 3. Configure with Claude Desktop\n\nOpen your Claude Desktop config:\n\n**macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`\n**Windows:** `%APPDATA%/Claude/claude_desktop_config.json`\n\nAdd the 1px server:\n\n```json\n{\n  \"mcpServers\": {\n    \"1px\": {\n      \"command\": \"node\",\n      \"args\": [\"/absolute/path/to/1px-mcp/dist/index.js\"],\n      \"env\": {\n        \"ONE_PX_API_KEY\": \"your_api_key_here\"\n      }\n    }\n  }\n}\n```\n\nOr use the published npm package:\n\n```json\n{\n  \"mcpServers\": {\n    \"1px\": {\n      \"command\": \"npx\",\n      \"args\": [\"@1pxlabs/1px-mcp\"],\n      \"env\": {\n        \"ONE_PX_API_KEY\": \"your_api_key_here\"\n      }\n    }\n  }\n}\n```\n\n### 4. Restart Claude Desktop\n\nQuit and reopen Claude. The 1px tools will appear in the MCP tools panel.\n\n## Environment variables\n\n| Variable | Default | Description |\n|----------|---------|-------------|\n| `ONE_PX_API_KEY` | *(required)* | Your 1px API key |\n| `ONE_PX_API_BASE` | `https://api.1px.ch` | API base URL (override for self-hosted) |\n\n## Example prompts\n\n> \"Shorten this link for me: https://example.com/very/long/path\"\n\n> \"Save this error log to 1px so I can share it\"\n\n> \"Create a markdown page with my meeting notes\"\n\n> \"What files have I uploaded recently?\"\n\n> \"Delete that paste abc123\"\n\n## Development\n\n```bash\nnpm install\nnpm run build\nONE_PX_API_KEY=your_key node dist/index.js\n```\n\nThe server is written in TypeScript in `src/` and compiles to `dist/`. Use `npm run dev`\nto rebuild on save, or `npm run typecheck` to type-check without emitting.\n\nThe server runs over stdio (standard input/output) as required by the MCP protocol. It does not expose an HTTP server.\n","readmeFilename":"README.md"}