Skip to content

feat(mcp): Settings page, per-connection access and activity log #1136

Description

@ZhuchkaTriplesix

Settings → MCP

  • Toggle "Enable MCP server" (off by default). Status: running / port / connected clients.
  • Per-connection access: Off (default) / Read. Connections with environment production show a warning; access stays opt-in.
  • "Copy config" buttons for Claude Desktop, Cursor, VS Code and a generic stdio snippet, with the absolute path of the bundled querya-mcp.
  • "Regenerate token" disconnects current clients.

Activity log

  • Last 200 calls: time, client name (from initialize), tool, connection, SQL (truncated), rows, duration, error.
  • Stored in LocalDb; also written to the mutation audit with MutationAuditSource.mcp.

UI kit

Build with existing components (QueryaActionButton, QueryaBadge, QueryaEmptyState, QueryaDropdown).

Tests

Widget tests for the toggle, per-connection access, copy-config content (no secrets) and the log list.

Part of #1133.

Activity

  1. added
    settingsTheme parser epic label: settings
    uiUser interface components and widgets
    P2Medium priority / Parity & Refactoring
    on Oct 8, 2026
  2. ZhuchkaTriplesix commented on Oct 8, 2026

    @ZhuchkaTriplesix
    MemberAuthor

    Сделано в #1141 (смержен в dev).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium priority / Parity & RefactoringsettingsTheme parser epic label: settingsuiUser interface components and widgets

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions