{% extends "dashboard/base.html" %} {% block title %}{{ t.connect }} - MCP Hub{% endblock %} {% block page_title %}{{ t.connect }}{% endblock %} {% block content %}
{{ t.your_api_key }}
{{ new_key }}
{{ t.key_shown_once }}
| {{ t.api_key_name }} | Prefix | {% if lang == 'fa' %}دسترسی{% else %}Access{% endif %} | Uses | {{ t.actions }} |
|---|---|---|---|---|
| {{ key.name }} | mhu_{{ key.key_prefix }}... | {% if lang == 'fa' %}دسترسی کامل{% else %}Full Access{% endif %} | {{ key.use_count }} |
{{ t.no_api_keys }}
{% endif %}Select a site and client to generate configuration...
{% if lang == 'fa' %}
نکته: تنظیمات بالا شامل نوع اتصال (streamableHttp برای Claude Desktop و http برای VS Code/Claude Code) میباشد. از sse استفاده نکنید — باعث خطای 400 Bad Request میشود.
{% else %}
Note: Config above includes the correct transport type (streamableHttp for Claude Desktop, http for VS Code/Claude Code). Do not use sse — it will cause 400 Bad Request errors.
{% endif %}
{% if lang == 'fa' %} API Key: از بخش API Keys بالا بسازید و مقدار آن را در تنظیمات وارد کنید: {% else %} API Key: Create one above and use it in your config: {% endif %}
"Authorization": "Bearer mhu_YOUR_API_KEY_HERE"
{{ t.no_sites }}. {{ t.add_site }}
{% endif %}