io.github.CedricKouma/openapi-lint

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

MCP server (stdio): lint OpenAPI specs with Spectral via the AgentForge API

التثبيت

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

Remote (streamable-http)
Claude Code
claude mcp add --transport http openapi-lint 'https://apim-agentforge-6lfm33.azure-api.net/openapi-lint/mcp' --header 'Ocp-Apim-Subscription-Key: <APIM subscription key (free tier works for smoke tests)>'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "openapi-lint": {
            "type": "http",
            "url": "https://apim-agentforge-6lfm33.azure-api.net/openapi-lint/mcp",
            "headers": {
                "Ocp-Apim-Subscription-Key": "<APIM subscription key (free tier works for smoke tests)>"
            }
        }
    }
}
NPM package agentforge-openapi-lint-mcp
Claude Code
claude mcp add openapi-lint -e 'AGENTFORGE_BASE_URL=<AGENTFORGE_BASE_URL>' -e 'AGENTFORGE_API_KEY=<your agentforge_api_key>' -- npx -y agentforge-openapi-lint-mcp@0.1.0
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "openapi-lint": {
            "command": "npx",
            "args": [
                "-y",
                "agentforge-openapi-lint-mcp@0.1.0"
            ],
            "env": {
                "AGENTFORGE_BASE_URL": "<AGENTFORGE_BASE_URL>",
                "AGENTFORGE_API_KEY": "<your agentforge_api_key>"
            }
        }
    }
}

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

  • AGENTFORGE_BASE_URL AgentForge APIM gateway base URL
  • AGENTFORGE_API_KEY إلزامي سري APIM subscription key (Ocp-Apim-Subscription-Key / x-api-key)

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

ما هو io.github.CedricKouma/openapi-lint؟

MCP server (stdio): lint OpenAPI specs with Spectral via the AgentForge API

كيف أثبّت io.github.CedricKouma/openapi-lint؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http openapi-lint 'https://apim-agentforge-6lfm33.azure-api.net/openapi-lint/mcp' --header 'Ocp-Apim-Subscription-Key: <APIM subscription key (free tier works for smoke tests)>'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.CedricKouma/openapi-lint إلى مفتاح API؟

نعم. يتطلب AGENTFORGE_API_KEY, Ocp-Apim-Subscription-Key، وتضبطها في إعداداته.

من يصون io.github.CedricKouma/openapi-lint؟

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

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