/ Каталог / Песочница / scira-mcp-chat
● Сообщество zaidmukaddam ⚡ Сразу

scira-mcp-chat

автор zaidmukaddam · zaidmukaddam/scira-mcp-chat

A minimalist open-source MCP client web app — bring your own LLM, add MCP servers through a UI, and chat.

scira-mcp-chat is a Next.js web chat interface that acts as an MCP client. Stream responses via Vercel AI SDK (multiple providers), add MCP servers (HTTP or SSE) through a settings panel, and get a clean shadcn/ui interface. Pairs well with hosted MCP providers like Composio, Zapier, or Hugging Face.

Зачем использовать

Ключевые функции

Живое демо

Как выглядит на практике

scira-mcp-chat.replay ▶ готово
0/0

Установка

Выберите клиент

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "scira-mcp-chat": {
      "command": "npx",
      "args": [
        "-y",
        "scira-mcp-chat"
      ],
      "_inferred": true
    }
  }
}

Откройте Claude Desktop → Settings → Developer → Edit Config. Перезапустите после сохранения.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "scira-mcp-chat": {
      "command": "npx",
      "args": [
        "-y",
        "scira-mcp-chat"
      ],
      "_inferred": true
    }
  }
}

Cursor использует ту же схему mcpServers, что и Claude Desktop. Конфиг проекта приоритетнее глобального.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "scira-mcp-chat": {
      "command": "npx",
      "args": [
        "-y",
        "scira-mcp-chat"
      ],
      "_inferred": true
    }
  }
}

Щёлкните значок MCP Servers на боковой панели Cline, затем "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "scira-mcp-chat": {
      "command": "npx",
      "args": [
        "-y",
        "scira-mcp-chat"
      ],
      "_inferred": true
    }
  }
}

Тот же формат, что и Claude Desktop. Перезапустите Windsurf для применения.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "scira-mcp-chat",
      "command": "npx",
      "args": [
        "-y",
        "scira-mcp-chat"
      ]
    }
  ]
}

Continue использует массив объектов серверов, а не map.

~/.config/zed/settings.json
{
  "context_servers": {
    "scira-mcp-chat": {
      "command": {
        "path": "npx",
        "args": [
          "-y",
          "scira-mcp-chat"
        ]
      }
    }
  }
}

Добавьте в context_servers. Zed перезагружается автоматически.

claude mcp add scira-mcp-chat -- npx -y scira-mcp-chat

Однострочная команда. Проверить: claude mcp list. Удалить: claude mcp remove.

Сценарии использования

Реальные сценарии: scira-mcp-chat

Self-host an MCP-enabled chat UI for your team

👤 Small teams wanting ChatGPT-like UX with tools ⏱ ~60 min intermediate

Когда использовать: You want internal chat with MCP tools without paying per-seat for Claude Pro / ChatGPT Team.

Предварительные требования
  • Node 20+ and Postgres — Vercel / Docker / self-hosted
  • LLM API keys — At least one of OpenAI / Anthropic / Google
Поток
  1. Clone and deploy
    Walk me through self-hosting scira-mcp-chat on Vercel with Postgres via Supabase.✓ Скопировано
    → Deployed URL + DB connected
  2. Add MCP servers
    In the settings UI, add Composio's HTTP endpoint for Slack + GitHub.✓ Скопировано
    → Tools visible in the chat
  3. Share with team
    How do I put this behind basic auth or SSO?✓ Скопировано
    → Next-Auth or proxy config suggestion

Итог: A private chat UI with tools, way cheaper than per-seat SaaS.

Подводные камни
  • Keys stored per-user or globally? Depends on fork — Review auth/settings flow before putting real credentials in

Experiment with many MCP servers without editing config files

👤 MCP tinkerers / reviewers ⏱ ~30 min beginner

Когда использовать: You want to evaluate 10 different MCP servers this weekend without modifying Claude Desktop config repeatedly.

Поток
  1. Add servers one at a time
    In the settings UI, paste the HTTP/SSE URL for each MCP server you want to try.✓ Скопировано
    → Tools list updates live
  2. Test each
    Use tool X with input Y. Report back.✓ Скопировано
    → Call + response visible

Итог: Rapid MCP evaluation without restart cycles.

Подводные камни
  • stdio-only MCPs can't be used directly — Wrap them via a stdio-to-HTTP bridge or run via Smithery which hosts them

Комбинации

Сочетайте с другими MCP — эффект x10

scira-mcp-chat + filesystem + fetch + github

DIY Claude Desktop replacement

Add filesystem (via HTTP wrapper), fetch, and github MCPs in the settings. Use as daily driver.✓ Скопировано

Инструменты

Что предоставляет этот MCP

ИнструментВходные данныеКогда вызыватьСтоимость
(web UI) Natural chat This is the chat UI itself — not an MCP to be called from another client LLM provider cost

Стоимость и лимиты

Во что обходится

Квота API
Your LLM provider's rate limits
Токенов на вызов
Pass-through to the model
Деньги
Self-hosting = just infra cost. LLM = pay-as-you-go. MCP providers (Composio etc.) have their own tiers.
Совет
Use DeepSeek or Gemini Flash as the default model for team chat — 10-100x cheaper than GPT-4.

Безопасность

Права, секреты, радиус поражения

Хранение учётных данных: API keys in env vars (self-host) or user settings (multi-user mode)
Исходящий трафик: Your LLM provider + whichever MCP servers you add
Никогда не давайте: Unauthenticated public deployment — your LLM keys will get drained

Устранение неполадок

Частые ошибки и исправления

Build fails on deploy

Next.js version mismatch — use the Node version in .nvmrc.

Проверить: node --version
Added MCP server, no tools appear

Transport mismatch. HTTP URL must return the MCP handshake; SSE URL must keep the stream open.

Проверить: curl the URL and inspect
DB connection errors

DATABASE_URL format: postgres://user:pass@host:5432/db?sslmode=require

Проверить: psql $DATABASE_URL

Альтернативы

scira-mcp-chat в сравнении

АльтернативаКогда использоватьКомпромисс
LibreChatYou want a more mature, feature-rich chat UIHeavier; MCP support via plugins
Open WebUIYou want native MCP 0.6.31+ support and Ollama integrationMore complex but batteries-included
Claude Desktop / Claude CodeYou only use Anthropic and want zero infraPaid; single-user

Ещё

Ресурсы

📖 Читать официальный README на GitHub

🐙 Открытые задачи

🔍 Все 400+ MCP-серверов и Skills