[task] Roll out MCP to members

Open
#444 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
15/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
python

Research direction

Start with services/gateway/docs/DEPLOYMENT.md, especially the "Enable email login" section, and confirm #443 is complete before touching staging. Then apply migration 003, issue separate DOC_API_KEYs with doc-keys issue --name gateway-mcp --scopes docs:read act-as-user, and set them with DOC_BASE_URL in each environment. Done means the new "Enable MCP" runbook covers key, settings, allowlist, verification, rotation and rollback, and staging sign-in/search/revoke plus audit-log checks pass before production sign-off.

Written by the indexing model from the issue text.

Description

area/deployment area/integration area/tooling type/feature
Blocked by

#442

What

Enable the gateway MCP module in staging and then in production. Publish member setup and operator key-rotation and rollback instructions.

Why

Members need supported client instructions, and the gateway owner needs a reversible rollout that protects other consumers.

Area

deployment, integration, tooling

Done looks like
  • Run real Claude Code and Codex clients on the fake-backed stack. Record supported versions and outcomes for discovery, sign-in, refresh in concurrent windows, denied/revoked access, environment mismatch, cancellation and large results. Record the Cursor support decision as a follow-up if needed.
  • Publish environment URLs and tested client setup instructions with the release. Include disable, session revocation and credential rotation procedures.
  • An "Enable MCP" section in services/gateway/docs/DEPLOYMENT.md covers the key, every new setting, the client allowlist, verification steps, key rotation, and rollback.
  • Each environment has its own documentation-system key for the gateway with only docs:read and act-as-user, set as DOC_API_KEY alongside DOC_BASE_URL (the private address). Neither key has docs:read:all.
  • Migration 003 is applied in both environments, and staging's session tables are confirmed to hold no production sessions.
  • In staging, a real sign-in with Claude Code and with Codex completes, searches and reads work, and revoking through the CLI ends the session. The audit log shows the events without tokens, codes, queries or document text.
  • Before production, staging measurements show search latency under load and confirm that compute login and the Discord resolver are unaffected, including with several developers behind one IP address.
  • Production is switched on after the gateway owner signs off, and the member setup guide is published to the wiki with the release.
Design notes

Part of #436. Client evaluation is part of rollout acceptance, alongside the controlled staging sign-in and gateway-owner production sign-off. Prior client scenarios: #443. Use the gateway release and wiki conventions. Approved design: #335 / PR #399.

Dominant language
Python
Stars
0
Forks
2
Avg merge
3d 3h
Merged PRs (30d)
31

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from UTMIST/Misty

All issues in UTMIST/Misty

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.