Delora MCP

السجل الرسمي أخرى

Delora MCP server for cross-chain quotes, supported chains, tokens, and tools.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http delora-mcp 'https://mcp.delora.build/mcp' --header 'x-api-key: <Optional Delora API key forwarded to Delora API.>'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "delora-mcp": {
            "type": "http",
            "url": "https://mcp.delora.build/mcp",
            "headers": {
                "x-api-key": "<Optional Delora API key forwarded to Delora API.>"
            }
        }
    }
}
NPM package @deloraprotocol/mcp
Claude Code
claude mcp add delora-mcp -e 'DELORA_API_KEY=<your delora_api_key>' -- npx -y @deloraprotocol/mcp@0.1.5
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "delora-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@deloraprotocol/mcp@0.1.5"
            ],
            "env": {
                "DELORA_API_KEY": "<your delora_api_key>"
            }
        }
    }
}

متغيرات البيئة

  • DELORA_API_KEY سري Optional Delora API key forwarded to Delora API as x-api-key.

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. Delora MCP
  2. Install
  3. Configuration
  4. Run
  5. Cursor configuration
  6. Docker
  7. API
  8. Tools

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:

VariableDescriptionDefault
DELORA_API_URLDelora API base URLhttps://api.delora.build
DELORA_API_KEYOptional API key forwarded to Delora API as x-api-keyunset
MCP_TRANSPORTstdio or httpstdio
PORTHTTP server port (when MCP_TRANSPORT=http)3000
HOSTHTTP bind address0.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

ToolDescription
get_instructionsReturns this guide (call first for workflow).
get_quoteGET /v1/quotes — cross-chain quote.
get_chainsGET /v1/chains — supported chains.
get_toolsGET /v1/tools — available tools.
get_tokensGET /v1/tokens — supported tokens.
get_tokenGET /v1/token — single token by chain + token.

الأسئلة الشائعة

ما هو Delora MCP؟

Delora MCP server for cross-chain quotes, supported chains, tokens, and tools.

كيف أثبّت Delora MCP؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http delora-mcp 'https://mcp.delora.build/mcp' --header 'x-api-key: <Optional Delora API key forwarded to Delora API.>'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج Delora MCP إلى مفتاح API؟

نعم. يتطلب DELORA_API_KEY, x-api-key، وتضبطها في إعداداته.

هل Delora MCP مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون Delora MCP؟

ينشره DeloraProtocol. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.