التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
NPM package
@sinogate/mcpClaude Code
claude mcp add sinogate-mcp-server -e 'SINOGATE_API_KEY=<your sinogate_api_key>' -- npx -y @sinogate/mcp@0.1.0
إعداد JSON (Claude Desktop وCursor وVS Code)
{
"mcpServers": {
"sinogate-mcp-server": {
"command": "npx",
"args": [
"-y",
"@sinogate/mcp@0.1.0"
],
"env": {
"SINOGATE_API_KEY": "<your sinogate_api_key>"
}
}
}
}
متغيرات البيئة
SINOGATE_API_KEYإلزامي سري Your SinoGate API key. Chat and comparison calls are billed to this account.
الأسئلة الشائعة
ما هو SinoGate MCP Server؟
Use Chinese LLMs through the SinoGate OpenAI-compatible API.
كيف أثبّت SinoGate MCP Server؟
يعمل على جهازك. في Claude Code: claude mcp add sinogate-mcp-server -e 'SINOGATE_API_KEY=<your sinogate_api_key>' -- npx -y @sinogate/mcp@0.1.0. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج SinoGate MCP Server إلى مفتاح API؟
نعم. يتطلب SINOGATE_API_KEY، وتضبطها في إعداداته.
من يصون SinoGate MCP Server؟
ينشره ai.sinogate. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.