{"_id":"@deloraprotocol/mcp","_rev":"6-ce87df54ed6f14bd4798daf30c0e0a46","name":"@deloraprotocol/mcp","dist-tags":{"latest":"0.1.5"},"versions":{"0.1.0":{"name":"@deloraprotocol/mcp","version":"0.1.0","keywords":["delora","mcp","cross-chain","bridge","defi","quote"],"license":"MIT","_id":"@deloraprotocol/mcp@0.1.0","maintainers":[{"name":"delora","email":"deloraprotocol@gmail.com"}],"homepage":"https://github.com/DeloraProtocol/delora-mcp#readme","bugs":{"url":"https://github.com/DeloraProtocol/delora-mcp/issues"},"bin":{"delora-mcp":"dist/index.js"},"dist":{"shasum":"f639764b380eb4dde256ad73b9e44cda07c6a8fe","tarball":"https://registry.npmjs.org/@deloraprotocol/mcp/-/mcp-0.1.0.tgz","fileCount":12,"integrity":"sha512-SXbW6R3JWgjNYtKKUG9GHO7tTsRXL39wnLkpGeNj9Pgdj5WxsdanrA8OcP+YFg8y+2X4i/XdqNRUcBaaEjMh3g==","signatures":[{"sig":"MEYCIQDzLLuCFwBPNjf8f4PFSeERWm7GJ4swRTs9oD0YlpwMwQIhAJo+mIeL8URu+cWgldzUKGtFtQy9qiVBDM4Bm/08VGMd","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16362},"main":"dist/index.js","type":"module","scope":"deloraprotocol","gitHead":"0e3e291b6e70c1598a44b45d0c065d6ee648f230","scripts":{"dev":"tsx src/index.ts","build":"tsc","start":"node dist/index.js","dev:http":"MCP_TRANSPORT=http PORT=3000 tsx src/index.ts","start:http":"MCP_TRANSPORT=http node dist/index.js","prepublishOnly":"node -e \"const p=require('./package.json'); const scope=p.scope||'delora'; const prefix='@'+scope+'/'; if(!p.name.startsWith(prefix)) throw new Error('package name must start with '+prefix);\""},"_npmUser":{"name":"delora","email":"deloraprotocol@gmail.com"},"repository":{"url":"git+https://github.com/DeloraProtocol/delora-mcp.git","type":"git"},"_npmVersion":"10.9.0","description":"Delora MCP server for cross-chain quotes and tools","directories":{},"_nodeVersion":"22.12.0","dependencies":{"zod":"^4.3.6","express":"^5.2.1","@modelcontextprotocol/sdk":"^1.26.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","typescript":"^5.9.3","@types/node":"^22.19.9","@types/express":"^5.0.6"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.1.0_1772134003507_0.16555433598150615","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@deloraprotocol/mcp","version":"0.1.1","keywords":["delora","mcp","cross-chain","bridge","defi","quote"],"license":"MIT","_id":"@deloraprotocol/mcp@0.1.1","maintainers":[{"name":"delora","email":"deloraprotocol@gmail.com"}],"homepage":"https://github.com/DeloraProtocol/delora-mcp#readme","bugs":{"url":"https://github.com/DeloraProtocol/delora-mcp/issues"},"bin":{"delora-mcp":"dist/index.js"},"dist":{"shasum":"93ab80b60088f425b6b7abe1cc1a50591e6bdc5a","tarball":"https://registry.npmjs.org/@deloraprotocol/mcp/-/mcp-0.1.1.tgz","fileCount":13,"integrity":"sha512-kuJU73/Zk9aDLPP/iH9DIKo6KSBabPfzIUVIrlYm29/cGu3KSgzMD10Sn3dzQnccDOL4k2crzliY1yNEUNjvZw==","signatures":[{"sig":"MEUCIQCUs3T8ok60M+OQ/3H+mDOEdKtFB6lfriZXBR+2oK1ITgIgd+O86cYjOUCesBuU9qCTdomW3a3qZM+BsEfpYBTFyjU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18000},"main":"dist/index.js","type":"module","scope":"deloraprotocol","gitHead":"a0153b25d9594693ff1abb9d5bf329a46d567206","scripts":{"dev":"tsx src/index.ts","build":"tsc","start":"node dist/index.js","dev:http":"MCP_TRANSPORT=http PORT=3000 tsx src/index.ts","start:http":"MCP_TRANSPORT=http node dist/index.js","prepublishOnly":"node -e \"const p=require('./package.json'); const scope=p.scope||'delora'; const prefix='@'+scope+'/'; if(!p.name.startsWith(prefix)) throw new Error('package name must start with '+prefix);\""},"_npmUser":{"name":"delora","email":"deloraprotocol@gmail.com"},"repository":{"url":"git+https://github.com/DeloraProtocol/delora-mcp.git","type":"git"},"_npmVersion":"10.9.0","description":"Delora MCP server for cross-chain quotes and tools","directories":{},"_nodeVersion":"22.12.0","dependencies":{"zod":"^4.3.6","express":"^5.2.1","@modelcontextprotocol/sdk":"^1.26.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","typescript":"^5.9.3","@types/node":"^22.19.9","@types/express":"^5.0.6"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.1.1_1776714071932_0.45391504858240594","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@deloraprotocol/mcp","version":"0.1.2","keywords":["delora","mcp","cross-chain","bridge","defi","quote"],"license":"MIT","_id":"@deloraprotocol/mcp@0.1.2","maintainers":[{"name":"delora","email":"deloraprotocol@gmail.com"}],"homepage":"https://github.com/DeloraProtocol/delora-mcp#readme","bugs":{"url":"https://github.com/DeloraProtocol/delora-mcp/issues"},"bin":{"delora-mcp":"dist/index.js"},"dist":{"shasum":"d7024b0e0dcf9e051f6a453d8845a0ca7896eb80","tarball":"https://registry.npmjs.org/@deloraprotocol/mcp/-/mcp-0.1.2.tgz","fileCount":13,"integrity":"sha512-JwpY60IyUDaZgR2LQyyO/ICx9LcFyH6Yw3vDt7KXEpJoG0Fna7Sp32yAmlNbyfpCsGjEktbKOclMmmQz6nEeeA==","signatures":[{"sig":"MEQCIGMRFFNXfEXo8ctrwIX3/hiOGpaqaYrbV2meZ6PgFUpbAiBaSpyqbqkxF9HDlnGdpPWoc53INLZKTzmzQuoiDsaAjA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19654},"main":"dist/index.js","type":"module","scope":"deloraprotocol","gitHead":"0e9fc9026139012786199023c6f2ae40e5f57623","scripts":{"dev":"tsx src/index.ts","build":"tsc","start":"node dist/index.js","dev:http":"MCP_TRANSPORT=http PORT=3000 tsx src/index.ts","start:http":"MCP_TRANSPORT=http node dist/index.js","prepublishOnly":"node -e \"const p=require('./package.json'); const scope=p.scope||'delora'; const prefix='@'+scope+'/'; if(!p.name.startsWith(prefix)) throw new Error('package name must start with '+prefix);\""},"_npmUser":{"name":"delora","email":"deloraprotocol@gmail.com"},"repository":{"url":"git+https://github.com/DeloraProtocol/delora-mcp.git","type":"git"},"_npmVersion":"10.9.0","description":"Delora MCP server for cross-chain quotes and tools","directories":{},"_nodeVersion":"22.12.0","dependencies":{"zod":"^4.3.6","express":"^5.2.1","@modelcontextprotocol/sdk":"^1.26.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","typescript":"^5.9.3","@types/node":"^22.19.9","@types/express":"^5.0.6"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.1.2_1776716045745_0.7969462800686147","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@deloraprotocol/mcp","version":"0.1.3","keywords":["delora","mcp","cross-chain","bridge","defi","quote"],"license":"MIT","_id":"@deloraprotocol/mcp@0.1.3","maintainers":[{"name":"delora","email":"deloraprotocol@gmail.com"}],"homepage":"https://github.com/DeloraProtocol/delora-mcp#readme","bugs":{"url":"https://github.com/DeloraProtocol/delora-mcp/issues"},"bin":{"delora-mcp":"dist/index.js"},"dist":{"shasum":"1efeab652cb7cdafa84406002addef81da236149","tarball":"https://registry.npmjs.org/@deloraprotocol/mcp/-/mcp-0.1.3.tgz","fileCount":13,"integrity":"sha512-WhLMGCCItbGZwyi/fDmsFfe0tZV6Q009i8VRBg8PNWDCA2XttNNGuKyHFfdzUFPPFMdJeGa4Y2c7EWDwlB00Pw==","signatures":[{"sig":"MEUCIQDh+rTx7H/R2YoszbsVxTr3ZUKqAwufs6QfJ57DCit+pQIgIKDdnJ5OUHnVe7Zvu/2WEgCi6tuBwHH31wXfno8dFNs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19645},"main":"dist/index.js","type":"module","scope":"deloraprotocol","gitHead":"89d7ea9c139161c272bbf2fc1b6336844a5b8501","scripts":{"dev":"tsx src/index.ts","build":"tsc","start":"node dist/index.js","dev:http":"MCP_TRANSPORT=http PORT=3000 tsx src/index.ts","start:http":"MCP_TRANSPORT=http node dist/index.js","prepublishOnly":"node -e \"const p=require('./package.json'); const scope=p.scope||'delora'; const prefix='@'+scope+'/'; if(!p.name.startsWith(prefix)) throw new Error('package name must start with '+prefix);\""},"_npmUser":{"name":"delora","email":"deloraprotocol@gmail.com"},"repository":{"url":"git+https://github.com/DeloraProtocol/delora-mcp.git","type":"git"},"_npmVersion":"10.9.0","description":"Delora MCP server for cross-chain quotes and tools","directories":{},"_nodeVersion":"22.12.0","dependencies":{"zod":"^4.3.6","express":"^5.2.1","@modelcontextprotocol/sdk":"^1.26.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","typescript":"^5.9.3","@types/node":"^22.19.9","@types/express":"^5.0.6"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.1.3_1776886180696_0.6571343650689587","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@deloraprotocol/mcp","version":"0.1.4","keywords":["delora","mcp","cross-chain","bridge","defi","quote"],"license":"MIT","_id":"@deloraprotocol/mcp@0.1.4","maintainers":[{"name":"delora","email":"deloraprotocol@gmail.com"}],"homepage":"https://github.com/DeloraProtocol/delora-mcp#readme","bugs":{"url":"https://github.com/DeloraProtocol/delora-mcp/issues"},"bin":{"delora-mcp":"dist/index.js"},"dist":{"shasum":"79fe1a0a5995a33eb092c9c92ba15b13882dc062","tarball":"https://registry.npmjs.org/@deloraprotocol/mcp/-/mcp-0.1.4.tgz","fileCount":13,"integrity":"sha512-/US07Nyz7/Usd97F7Q5WyvcJ4IHs6yApM4ySFD1Hnaud3DhSAbqxmsUsrukhS/E/cv9fUf4MgmXuE9qAWbkPVw==","signatures":[{"sig":"MEUCIQCixDSE0IGzaWaard2TzZm0Htc+f2cuZPxXtV2Pi268nQIgGn0xRFRYgbCp7GMglSu7vJf9fyw0jcZO1PzVXwAavns=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19697},"main":"dist/index.js","type":"module","scope":"deloraprotocol","gitHead":"39c1c286db9c9fcd8ccd5417150fab3894fc234f","mcpName":"io.github.deloraprotocol/delora-mcp","scripts":{"dev":"tsx src/index.ts","build":"tsc","start":"node dist/index.js","dev:http":"MCP_TRANSPORT=http PORT=3000 tsx src/index.ts","start:http":"MCP_TRANSPORT=http node dist/index.js","prepublishOnly":"node -e \"const p=require('./package.json'); const scope=p.scope||'delora'; const prefix='@'+scope+'/'; if(!p.name.startsWith(prefix)) throw new Error('package name must start with '+prefix);\""},"_npmUser":{"name":"delora","email":"deloraprotocol@gmail.com"},"repository":{"url":"git+https://github.com/DeloraProtocol/delora-mcp.git","type":"git"},"_npmVersion":"10.9.0","description":"Delora MCP server for cross-chain quotes and tools","directories":{},"_nodeVersion":"22.12.0","dependencies":{"zod":"^4.3.6","express":"^5.2.1","@modelcontextprotocol/sdk":"^1.26.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","typescript":"^5.9.3","@types/node":"^22.19.9","@types/express":"^5.0.6"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.1.4_1778784711185_0.8537233357858511","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@deloraprotocol/mcp","scope":"deloraprotocol","version":"0.1.5","mcpName":"io.github.DeloraProtocol/delora-mcp","description":"Delora MCP server for cross-chain quotes and tools","type":"module","main":"dist/index.js","bin":{"delora-mcp":"dist/index.js"},"scripts":{"build":"tsc","dev":"tsx src/index.ts","dev:http":"MCP_TRANSPORT=http PORT=3000 tsx src/index.ts","start":"node dist/index.js","start:http":"MCP_TRANSPORT=http node dist/index.js","prepublishOnly":"node -e \"const p=require('./package.json'); const scope=p.scope||'delora'; const prefix='@'+scope+'/'; if(!p.name.startsWith(prefix)) throw new Error('package name must start with '+prefix);\""},"keywords":["delora","mcp","cross-chain","bridge","defi","quote"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/DeloraProtocol/delora-mcp.git"},"publishConfig":{"access":"public"},"dependencies":{"@modelcontextprotocol/sdk":"^1.26.0","express":"^5.2.1","zod":"^4.3.6"},"devDependencies":{"@types/express":"^5.0.6","@types/node":"^22.19.9","tsx":"^4.21.0","typescript":"^5.9.3"},"_id":"@deloraprotocol/mcp@0.1.5","gitHead":"39c1c286db9c9fcd8ccd5417150fab3894fc234f","bugs":{"url":"https://github.com/DeloraProtocol/delora-mcp/issues"},"homepage":"https://github.com/DeloraProtocol/delora-mcp#readme","_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-0YrMgScYi3IzX8oHDzz4EFt60PW2yhuqFL7A/qRbm/zmiq12cocw5cEYlQDbD9S0uSVq4nayLCi2yf7c41ClVg==","shasum":"4e24c54709ce1c193dfb994bc0ac4ca6466a216c","tarball":"https://registry.npmjs.org/@deloraprotocol/mcp/-/mcp-0.1.5.tgz","fileCount":13,"unpackedSize":19697,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDJUVPerkYUUBbMQ7Hp9BGz+Q4BJzNCgBr0MnCjjkdpBQIhANUmoYc9BvTfZsLQ34ij+jkKyAVFx10/IRzHPDBrI3Xq"}]},"_npmUser":{"name":"delora","email":"deloraprotocol@gmail.com"},"directories":{},"maintainers":[{"name":"delora","email":"deloraprotocol@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_0.1.5_1778786554890_0.9700022371195618"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-26T19:26:43.412Z","modified":"2026-05-14T19:22:35.149Z","0.1.0":"2026-02-26T19:26:43.656Z","0.1.1":"2026-04-20T19:41:12.089Z","0.1.2":"2026-04-20T20:14:05.875Z","0.1.3":"2026-04-22T19:29:40.842Z","0.1.4":"2026-05-14T18:51:51.328Z","0.1.5":"2026-05-14T19:22:35.037Z"},"bugs":{"url":"https://github.com/DeloraProtocol/delora-mcp/issues"},"license":"MIT","homepage":"https://github.com/DeloraProtocol/delora-mcp#readme","keywords":["delora","mcp","cross-chain","bridge","defi","quote"],"repository":{"type":"git","url":"git+https://github.com/DeloraProtocol/delora-mcp.git"},"description":"Delora MCP server for cross-chain quotes and tools","maintainers":[{"name":"delora","email":"deloraprotocol@gmail.com"}],"readme":"# Delora MCP\r\n\r\nMCP (Model Context Protocol) server for the [Delora](https://api.delora.build) API: cross-chain quotes, supported chains, tokens, and tools.\r\n\r\n## Install\r\n\r\n```bash\r\nnpm install\r\n```\r\n\r\n## Configuration\r\n\r\nCopy `env.example` to `.env` and adjust:\r\n\r\n| Variable | Description | Default |\n|----------|-------------|---------|\n| `DELORA_API_URL` | Delora API base URL | `https://api.delora.build` |\n| `DELORA_API_KEY` | Optional API key forwarded to Delora API as `x-api-key` | unset |\n| `MCP_TRANSPORT` | `stdio` or `http` | `stdio` |\n| `PORT` | HTTP server port (when `MCP_TRANSPORT=http`) | `3000` |\n| `HOST` | HTTP bind address | `0.0.0.0` |\n\nWhen `DELORA_API_KEY` is set, the MCP server forwards it to Delora API as the `x-api-key` header. In HTTP mode, the server also accepts incoming `x-api-key` or `Authorization: Bearer ...` headers and forwards the resolved key upstream. For HTTP requests, incoming headers take priority over `DELORA_API_KEY`. For stdio, `DELORA_API_KEY` remains the way to provide the key.\n\r\n## Run\r\n\r\n**Stdio (default)** — for Cursor/IDE MCP over stdio:\r\n\r\n```bash\r\nnpm run dev\r\n# or\r\nnpm run build && npm start\r\n```\r\n\r\n**HTTP** — for streamable HTTP (e.g. behind a reverse proxy):\r\n\r\n```bash\r\nnpm run dev:http\r\n# or\r\nnpm run build && npm run start:http\r\n```\r\n\r\nServer listens on `http://0.0.0.0:3000/mcp`.\r\n\r\n## Cursor configuration\r\n\r\n**Stdio:**\r\n\r\n```json\r\n{\r\n  \"mcpServers\": {\r\n    \"delora\": {\r\n      \"command\": \"node\",\r\n      \"args\": [\"/path/to/delora-mcp/dist/index.js\"]\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n**Streamable HTTP** (e.g. after deploying to `https://mcp.delora.build`):\n\n```json\n{\n  \"mcpServers\": {\n    \"delora\": {\n      \"url\": \"https://mcp.delora.build/mcp\",\n      \"transport\": \"streamable-http\",\n      \"headers\": {\n        \"x-api-key\": \"YOUR_API_KEY\"\n      }\n    }\n  }\n}\n```\n\nYou can also use `Authorization: Bearer YOUR_API_KEY` instead of `x-api-key` when your MCP client supports custom HTTP headers.\n\r\n## Docker\r\n\r\nBuild and run:\r\n\r\n```bash\r\ndocker build -t delora-mcp .\r\ndocker run -p 3000:3000 -e MCP_TRANSPORT=http delora-mcp\r\n```\r\n\r\nFor production behind a domain (e.g. `mcp.delora.build`): run the container with `MCP_TRANSPORT=http` and put nginx/traefik (or another reverse proxy) in front with HTTPS; then use the URL `https://mcp.delora.build/mcp` with streamable-http in Cursor.\r\n\r\n## API\r\n\r\n- [Delora API](https://api.delora.build) — base URL for all `/v1/*` endpoints (quotes, chains, tokens, tools, token).\r\n\r\n## Tools\r\n\r\n| Tool | Description |\r\n|------|-------------|\r\n| `get_instructions` | Returns this guide (call first for workflow). |\r\n| `get_quote` | GET /v1/quotes — cross-chain quote. |\r\n| `get_chains` | GET /v1/chains — supported chains. |\r\n| `get_tools` | GET /v1/tools — available tools. |\r\n| `get_tokens` | GET /v1/tokens — supported tokens. |\r\n| `get_token` | GET /v1/token — single token by chain + token. |\r\n","readmeFilename":"README.md"}