Corent

السجل الرسمي الوسائط والتصميم

Generate images, videos, voice, and text via the Corent API. Auto model routing with fallback.

التثبيت

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

NPM package corent-mcp
Claude Code
claude mcp add corent -e 'CORENT_API_KEY=<your corent_api_key>' -- npx -y corent-mcp@0.10.0
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "corent": {
            "command": "npx",
            "args": [
                "-y",
                "corent-mcp@0.10.0"
            ],
            "env": {
                "CORENT_API_KEY": "<your corent_api_key>"
            }
        }
    }
}

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

  • CORENT_API_KEY إلزامي سري Your Corent API key (co_live_...). Create one at https://corent.tech/dashboard/api-keys

التوثيق

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

المحتويات
  1. Corent MCP Server
  2. Tools
  3. Setup
  4. Development

Corent MCP Server

Give any AI agent the ability to generate images and videos through the Corent API — one key, automatic model routing, provider fallback built in.

Tools

ToolWhat it does
planDescribe a request in plain language; Corent returns the plan (image vs video, tier, settings) + cost estimate, without generating
createDescribe what you want + a spend ceiling; Corent decides everything and generates it (the "zero decisions" path)
generate_imageText → image, synchronous, returns a permanent URL
generate_videoText (or image) → video, async job
get_jobPoll a job until completed
get_balanceRemaining account balance
get_statusLive tier health

The plan and create tools are the agent-native path: an agent says what it wants ("a 10s vertical clip of a sunrise for TikTok") and Corent picks image-vs-video, the tier, aspect ratio, and duration — the agent never manages models. create enforces a per-call spend ceiling so an autonomous agent can't overspend.

Setup

Get an API key at corent.tech, then add to your MCP client config:

{
  "mcpServers": {
    "corent": {
      "command": "npx",
      "args": ["-y", "corent-mcp"],
      "env": { "CORENT_API_KEY": "co_live_..." }
    }
  }
}

For Claude Code: claude mcp add corent -e CORENT_API_KEY=co_live_... -- npx -y corent-mcp

Hosted server (no install)

The hosted server at https://mcp.corent.tech/mcp uses the Streamable HTTP transport. Pass your API key in the Authorization header — this is the way to authenticate:

{
  "mcpServers": {
    "corent": {
      "url": "https://mcp.corent.tech/mcp",
      "headers": { "Authorization": "Bearer co_live_..." }
    }
  }
}

X-Corent-Api-Key: co_live_... is accepted as an equivalent header.

Smithery note: for compatibility with Smithery, the hosted server also accepts the key via query parameters (?corent_api_key=... or Smithery's base64 ?config=). Avoid this form anywhere else — URLs can be logged by proxies, gateways, and access logs, which would expose your key. Prefer the Authorization header.

Development

npm install
npm run build
CORENT_API_KEY=... node dist/index.js

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

ما هو Corent؟

Generate images, videos, voice, and text via the Corent API. Auto model routing with fallback.

كيف أثبّت Corent؟

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

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

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

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

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

من يصون Corent؟

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

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