{"_id":"@0xcurvy/curvy-mcp","name":"@0xcurvy/curvy-mcp","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@0xcurvy/curvy-mcp","version":"0.1.0","description":"MCP server exposing Curvy protocol operations as tools for AI agents","publishConfig":{"access":"public"},"type":"module","main":"build/index.js","exports":{".":"./build/index.js","./lib":"./build/lib.js"},"scripts":{"start":"tsc && node build/index.js","build":"tsc"},"keywords":[],"author":"","license":"ISC","packageManager":"pnpm@10.30.0","dependencies":{"@0xcurvy/curvy-sdk":"^0.0.6","@modelcontextprotocol/sdk":"^1.28.0","cors":"^2.8.6","dotenv":"^17.3.1","express":"^5.2.1","uuid":"^13.0.0","viem":"^2.47.6","zod":"^4.3.6"},"devDependencies":{"@types/cors":"^2.8.19","@types/express":"^5.0.6","@types/node":"^25.5.0","typescript":"^5.9.3"},"_id":"@0xcurvy/curvy-mcp@0.1.0","gitHead":"b940212309d663380a8fa7973e58deb3b197f5f0","types":"./build/index.d.ts","_nodeVersion":"22.9.0","_npmVersion":"10.8.3","dist":{"integrity":"sha512-Bn8lniuV0czCwlmuFP46opHKZo4iRHJ0R/lKaQGU6cZNtQ+fJhtzIFYU3vfTu/UpTjFWhRYptciWgtdPaLMg3Q==","shasum":"45d91d719546c2463fe4b00194c39739ac1379ab","tarball":"https://registry.npmjs.org/@0xcurvy/curvy-mcp/-/curvy-mcp-0.1.0.tgz","fileCount":29,"unpackedSize":36497,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDo3Lcheszwnbbg6LQTsb+F03ggbtvzKQxe1loyi5JhwQIgWEESYv4ySBuIyS88w5pDSmgVb2zGmmVMcRmug403Tb0="}]},"_npmUser":{"name":"lazartravica","email":"trav326@gmail.com"},"directories":{},"maintainers":[{"name":"lazartravica","email":"trav326@gmail.com"},{"name":"vanja99","email":"vanja.obradovic@mvpworkshop.co"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/curvy-mcp_0.1.0_1774880935898_0.05305176431928982"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-30T14:28:55.767Z","0.1.0":"2026-03-30T14:28:56.047Z","modified":"2026-03-30T14:28:56.273Z"},"maintainers":[{"name":"lazartravica","email":"trav326@gmail.com"},{"name":"vanja99","email":"vanja.obradovic@mvpworkshop.co"}],"description":"MCP server exposing Curvy protocol operations as tools for AI agents","keywords":[],"license":"ISC","readme":"# curvy-mcp\n\nAn MCP (Model Context Protocol) server that exposes [Curvy](https://curvy.box) protocol operations as tools for AI agents. Built with the `@modelcontextprotocol/sdk` and `@0xcurvy/curvy-sdk`.\n\n## Features\n\n- **Get Balances** — View aggregated token balances across all supported networks\n- **Send Funds (Internal)** — Transfer funds to other Curvy users by their `.curvy.name`\n- **Withdraw Funds** — Withdraw funds to any external wallet address on a supported network\n- **Get Supported Networks** — List all available networks and their IDs\n\n## Prerequisites\n\n- Node.js (ES2022+)\n- [pnpm](https://pnpm.io/)\n\n## Setup\n\n1. Install dependencies:\n\n```bash\npnpm install\n```\n\n2. Create a `.env` file (optional):\n\n```env\nCURVY_ENV=testnet  # or \"mainnet\"\n```\n\n3. Start the server:\n\n```bash\npnpm start\n```\n\nOn first run, a browser window will open for authentication via [app.curvy.box](https://app.curvy.box/auth). Your wallet credentials are saved to `~/.curvy/wallet.json` for subsequent runs.\n\n## Usage\n\nThe server runs on port `3001` and exposes two transport endpoints:\n\n| Endpoint | Method | Description |\n|---|---|---|\n| `/sse` | GET | Opens an SSE connection and creates a session |\n| `/messages?sessionId=<id>` | POST | Sends messages to an active session |\n\nConnect any MCP-compatible client to `http://localhost:3001/sse` to start using the tools.\n\n## Tools\n\n| Tool | Description |\n|---|---|\n| `curvy-get-balances` | Returns aggregated token balances for the authenticated wallet |\n| `curvy-send-funds-internal` | Sends funds to a `.curvy.name` recipient within the Curvy system |\n| `curvy-withdraw-funds` | Withdraws funds to an external wallet address on a specified network |\n| `curvy-get-supported-networks` | Lists all supported networks and their IDs |\n\n## Library Usage\n\nThe package also exports its tools and SDK helpers for use as a library:\n\n```ts\nimport { tools, initSDK, Tool } from \"curvy-mcp/lib\";\n```\n\n## Development\n\n```bash\npnpm build    # Compile TypeScript\npnpm start    # Build and run\n```\n\n## License\n\nISC\n","readmeFilename":"README.md","_rev":"1-a959cbfaabd912bfd91fbb4587b4d1f1"}