io.github.raportagent/raportagent-mcp

السجل الرسمي أدوات المطورين

Sourced market and compliance research for Claude Desktop, Claude Code and Cursor.

التثبيت

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

NPM package @raportagent/mcp
Claude Code
claude mcp add raportagent-mcp -e 'RAPORTAGENT_API_KEY=<your raportagent_api_key>' -e 'RAPORTAGENT_BASE_URL=<RAPORTAGENT_BASE_URL>' -- npx -y @raportagent/mcp@0.1.2
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "raportagent-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@raportagent/mcp@0.1.2"
            ],
            "env": {
                "RAPORTAGENT_API_KEY": "<your raportagent_api_key>",
                "RAPORTAGENT_BASE_URL": "<RAPORTAGENT_BASE_URL>"
            }
        }
    }
}

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

  • RAPORTAGENT_API_KEY إلزامي سري Your RaportAgent API key (create one at raportagent.com under My account -> API keys)
  • RAPORTAGENT_BASE_URL Override the API base URL (defaults to https://raportagent.com)

التوثيق

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

المحتويات
  1. RaportAgent MCP server
  2. Tools
  3. Setup
  4. Config
  5. Notes

RaportAgent MCP server

A Model Context Protocol server that puts RaportAgent inside any MCP client — Claude Desktop, Claude Code, Cursor. Ask your assistant to research a market or map a regulatory landscape, and it generates a sourced RaportAgent report, then pulls the finished markdown and its audit trail.

Thin wrapper over the RaportAgent REST API (/v1), so it inherits per-key rate limits, the credit model, and the audit trail unchanged.

Tools

ToolWhat it does
generate_reportStart a report (query, optional template: compliance/pitch/saas/ecommerce/realestate/local/battlecard/duediligence/fintech). Returns a report_id; optionally polls with wait_seconds. Costs 1 credit (2 for battlecard).
get_report_statusqueued / running / completed / failed
get_reportThe finished report's full markdown + sections
get_report_auditProvenance: AI models, agents, source counts, SHA-256 of the exact content
get_report_sourcesEvery cited source with link-health counts (working / uncertain / dead)
cancel_reportCancel a queued/in-progress report and refund its credit
list_reportsYour recent reports
get_accountRemaining credits and plan

Setup

  1. Get an API key: RaportAgent → My account → API keys (an ra_live_… key).
  2. Register it with your MCP client — no clone, no build, npx pulls the published package.
Claude Desktop

Add to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\):

{
  "mcpServers": {
    "raportagent": {
      "command": "npx",
      "args": ["-y", "@raportagent/mcp"],
      "env": {
        "RAPORTAGENT_API_KEY": "ra_live_xxx"
      }
    }
  }
}
Claude Code
claude mcp add raportagent -e RAPORTAGENT_API_KEY=ra_live_xxx -- npx -y @raportagent/mcp
Cursor

Same command/args/env shape as Claude Desktop above, under Cursor's MCP settings.

Running from source (contributing / debugging only)
git clone https://github.com/raportagent/raportagent-mcp.git
cd mcp-server
npm install
npm run build

Then point command/args at node / dist/index.js with an absolute path instead of npx.

Config

EnvDefaultNotes
RAPORTAGENT_API_KEY—Required. ra_live_… key.
RAPORTAGENT_BASE_URLhttps://raportagent.comOverride for self-hosted / staging.

Notes

  • Generation typically takes ~15 minutes. generate_report returns immediately with a report_id; the assistant should poll get_report_status (or pass wait_seconds) before get_report.
  • stdout is the MCP transport — the server logs only to stderr.
  • The API key is only ever sent to your configured RAPORTAGENT_BASE_URL.

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

ما هو io.github.raportagent/raportagent-mcp؟

Sourced market and compliance research for Claude Desktop, Claude Code and Cursor.

كيف أثبّت io.github.raportagent/raportagent-mcp؟

يعمل على جهازك. في Claude Code: claude mcp add raportagent-mcp -e 'RAPORTAGENT_API_KEY=<your raportagent_api_key>' -e 'RAPORTAGENT_BASE_URL=<RAPORTAGENT_BASE_URL>' -- npx -y @raportagent/mcp@0.1.2. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.raportagent/raportagent-mcp إلى مفتاح API؟

نعم. يتطلب RAPORTAGENT_API_KEY، وتضبطها في إعداداته.

هل io.github.raportagent/raportagent-mcp مفتوح المصدر؟

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

من يصون io.github.raportagent/raportagent-mcp؟

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

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