EA

elfa-ai/mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

7 stars 1 forks 质量 86 趋势 35MIT

Elfa MCP Server

概览

Model Context Protocol server for the Elfa API — API v3 events, positions and rankings across crypto and equities, , a condition engine that watches the market and fires an action when your conditions are met, plus crypto social intelligence from X and Telegram. Works with any MCP client, either signed in to the hosted server or running locally with an API key. Add https://mcp.elfa.ai/mcp as a remote MCP server in your client and approve it in your browser with your dev.elfa.ai account. No key to copy, nothing to install. If your client cannot sign in, run the server locally instead. Setup steps are in the MCP guide. Get an API key at dev.elfa.ai. No install step — npx fetches the server on demand. Download elfa-mcp- .mcpb from the latest release and open it. Claude Desktop installs it, prompts for your API key, and keeps it updated. Nothing else to configure. VS Code uses "servers" instead of "mcpServers". Everything else is the same. Ask "what's trending in crypto right now?

README

以下为原文 README 节选,完整内容请查看原文。

Elfa MCP

Model Context Protocol server for the Elfa API — API v3 events, positions and rankings across crypto and equities, Auto, a condition engine that watches the market and fires an action when your conditions are met, plus crypto social intelligence from X and Telegram.

Works with any MCP client, either signed in to the hosted server or running locally with an API key.

Install

Hosted, sign in with Elfa

Add https://mcp.elfa.ai/mcp as a remote MCP server in your client and approve it in your browser with your dev.elfa.ai account. No key to copy, nothing to install. If your client cannot sign in, run the server locally instead. Setup steps are in the MCP guide.

Local, API key

Get an API key at dev.elfa.ai. No install step — npx fetches the server on demand.

One click

Claude Desktop

Download elfa-mcp-.mcpb from the latest release and open it. Claude Desktop installs it, prompts for your API key, and keeps it updated. Nothing else to configure.

Claude Code

claude mcp add elfa --env ELFA_API_KEY=your-key -- npx -y @elfa-ai/mcp

Cursor, VS Code, Claude Desktop, and other clients

{
  "mcpServers": {
    "elfa": {
      "command": "npx",
      "args": ["-y", "@elfa-ai/mcp"],
      "env": {
        "ELFA_API_KEY": "your-key"
      }
    }
  }
}

VS Code uses "servers" instead of "mcpServers". Everything else is the same.

Ask “what’s trending in crypto right now?” to confirm it works.

Configuration

Variable Required Purpose
ELFA_API_KEY yes Authenticates every request
ELFA_TIMEOUT no Request timeout in ms, default 120000
ELFA_RETRIES no Retries on failure, default 0
ELFA_MCP_MAX_RESPONSE_CHARS no Response size ceiling, default 60000
ELFA_EXTRA_HEADERS no JSON object of extra headers to send upstream, for proxies and non-production environments
在 GitHub 查看完整 README

安装

npx -y @elfa-ai/mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "elfa": { "command": "npx", "args": ["-y", "@elfa-ai/mcp"], "env": { "ELFA_API_KEY": "your-key" } } } }