Skip to content

MCP v2: authenticated tools (MyOpenCRE, chat) matching REST authz #1108

Closed

Description

@northdpole

Follow-up to #1003

v1 (public stdio MCP, no auth) shipped in #1013 and is documented in docs/api/mcp.md. This ticket tracks the remaining product from #1003.

What

Expose authenticated OpenCRE REST through MCP with the same authz as REST (no MCP bypass secret).

Deferred from v1:

  • MyOpenCRE GET/PUT /rest/v1/user/resources
  • Chat POST /rest/v1/completion
  • Admin / import tools
  • Cookie / PAT / OAuth / session forwarding
  • Extra public GETs still not in the allowlist (gap analysis, CSV, section path variants) — only if we still want them as tools

Constraints

  • REST stays the execution and authorization boundary
  • Fixed allowlist in application/mcp/catalog.py — OpenAPI membership alone must not expose a tool
  • No credentials in tool arguments; no caller-supplied base URL / method / path
  • Start from the existing stdio server (python -m application.mcp); remote transport is optional later

Parent: #1003 · v1 PR: #1013

Activity

  1. Abhijeet2409 commented on Sep 19, 2026

    @Abhijeet2409
    Contributor

    Hi ,I'd like to work on the ticket. Please assign this ticket to me.

  2. Pa04rth commented on Sep 20, 2026

    @Pa04rth
    Collaborator

    Actually @Abhijeet2409 I was working on this PR , if you want you may discuss you approach with me on slack

  3. self-assigned this
    on Sep 20, 2026
  4. Abhijeet2409 commented on Sep 20, 2026

    @Abhijeet2409
    Contributor

    That's great, @Pa04rth! Thanks for letting me know.

  5. added a commit that references this issue on Oct 14, 2026
    06f2c56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions