npm @deloraprotocol/mcpstreamable-httpMITupdated 3mo ago
MCP (Model Context Protocol) server for the Delora API: cross-chain quotes, supported chains, tokens, and tools.
What can you do with Delora MCP?
Delora MCP
MCP (Model Context Protocol) server for the Delora API: cross-chain quotes, supported chains, tokens, and tools.
Install
npm install
Configuration
Copy env.example to .env and adjust:
| Variable | Description | Default |
|---|---|---|
DELORA_API_URL |
Delora API base URL | https://api.delora.build |
DELORA_API_KEY |
Optional API key forwarded to Delora API as x-api-key |
unset |
MCP_TRANSPORT |
stdio or http |
stdio |
PORT |
HTTP server port (when MCP_TRANSPORT=http) |
3000 |
HOST |
HTTP bind address | 0.0.0.0 |
When 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.
Run
Stdio (default) — for Cursor/IDE MCP over stdio:
npm run dev
# or
npm run build && npm start
HTTP — for streamable HTTP (e.g. behind a reverse proxy):
npm run dev:http
# or
npm run build && npm run start:http
Server listens on http://0.0.0.0:3000/mcp.
Cursor configuration
Stdio:
{
"mcpServers": {
"delora": {
"command": "node",
"args": ["/path/to/delora-mcp/dist/index.js"]
}
}
}
Streamable HTTP (e.g. after deploying to https://mcp.delora.build):
{
"mcpServers": {
"delora": {
"url": "https://mcp.delora.build/mcp",
"transport": "streamable-http",
"headers": {
"x-api-key": "YOUR_API_KEY"
}
}
}
}
You can also use Authorization: Bearer YOUR_API_KEY instead of x-api-key when your MCP client supports custom HTTP headers.
Docker
Build and run:
docker build -t delora-mcp .
docker run -p 3000:3000 -e MCP_TRANSPORT=http delora-mcp
For 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.
API
- Delora API — base URL for all
/v1/*endpoints (quotes, chains, tokens, tools, token).
Tools
| Tool | Description |
|---|---|
get_instructions |
Returns this guide (call first for workflow). |
get_quote |
GET /v1/quotes — cross-chain quote. |
get_chains |
GET /v1/chains — supported chains. |
get_tools |
GET /v1/tools — available tools. |
get_tokens |
GET /v1/tokens — supported tokens. |
get_token |
GET /v1/token — single token by chain + token. |
Install
Add Delora MCP to your client. Pick the one you use.
{
"servers": {
"mcp": {
"type": "http",
"url": "https://mcp.delora.build/mcp"
}
}
}Add to `.vscode/mcp.json` in your workspace.
claude mcp add mcp -- npx -y @deloraprotocol/mcpcodex mcp add mcp -- npx -y @deloraprotocol/mcpamp mcp add mcp -- npx -y @deloraprotocol/mcp{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@deloraprotocol/mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@deloraprotocol/mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@deloraprotocol/mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@deloraprotocol/mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@deloraprotocol/mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@deloraprotocol/mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"@deloraprotocol/mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @deloraprotocol/mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
6 tools
Delora MCP exposes 6 tools to a connected agent.
- get_instructions
- Returns this guide (call first for workflow).
- get_quote
- GET /v1/quotes — cross-chain quote.
- get_chains
- GET /v1/chains — supported chains.
- get_tools
- GET /v1/tools — available tools.
- get_tokens
- GET /v1/tokens — supported tokens.
- get_token
- GET /v1/token — single token by chain + token.
Score
72 / 100
Good
- Documentation22/25
- Maintenance13/25
- Trust16/20
- Capability6/15
- Install experience15/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 109 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 6 tool(s) documented
- Provides prompt templates
- Provides resources
- 18 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Version history
| Versions | Published |
|---|---|
| 0.1.5Latest | May 14, 2026 |