Skip to content

Allow MCP keys to automatically access all tools - #12

Merged
ruibaby merged 3 commits into
mainfrom
feat/automatic-all-tools-access
Sep 5, 2026
Merged

ruibaby merged 3 commits into
mainfrom
feat/automatic-all-tools-access

Conversation

@ruibaby

@ruibaby ruibaby commented Sep 4, 2026

Copy link
Copy Markdown
Member

What changed

  • Add an opt-in wildcard scope that allows an MCP access key to use all currently available and future tools.
  • Apply the same authorization predicate to tool discovery and invocation.
  • Hide individual tool selection while automatic access is enabled and show a persistent warning for third-party and destructive tools.
  • Identify automatically authorized keys in the access key list.

Security

Automatic access is disabled by default, so existing and newly created keys retain explicit tool scopes unless the option is enabled. The UI warns that future tools, including contributed and destructive tools, will be authorized without additional confirmation.

Tests

  • ./gradlew check --no-daemon
  • corepack pnpm check
  • git diff --check

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 4, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-04T09:48:34.752190Z 5523f95 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5523f953c2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/main/java/run/halo/mcpserver/AuthorizedMcpTransport.java
@ruibaby
ruibaby merged commit d841d82 into main Sep 5, 2026
1 check passed
@ruibaby
ruibaby deleted the feat/automatic-all-tools-access branch September 5, 2026 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant