Skip to content

feat: filter MCP messaging tools by host - #89

Merged
ScriptedAlchemy merged 3 commits into
mainfrom
feat/host-tool-inventory
Sep 17, 2026
Merged

ScriptedAlchemy merged 3 commits into
mainfrom
feat/host-tool-inventory

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

Filter the MCP inventory by negotiated host identity: Codex receives Grok messaging/approval tools, truthfully identified Grok Bot receives Codex tools, and shared bridge controls remain available. Cursor and unknown clients retain both inventories. Pin compiler/runtime to verified immutable Agent Bundle build 57a9196caf2590ece001799eaeed92613352bc21 and document the host contract.

Validation: clean npm ci and npm run check pass (393 unit and 15 MCP route tests). Native SDK tests verify exact Codex/Grok/Cursor lists and refusal of direct calls to every hidden tool. Source-free packed install and all three executable help probes pass. Published tarball hashes match lock SRIs; no local dependency links remain. Independent different-model review: PASS. A minor changeset is included.

Grok filtering requires a truthful negotiated Grok identity. Production Grok currently has only source-level identity evidence; ordinary Cursor is never treated as Grok. Inventory filtering does not replace authorization.

@changeset-bot

changeset-bot Bot commented Sep 17, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 9ddc525

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
grok-bot-cli Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 17, 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-17T03:06:04.981782Z 688c0bf PR opened
ℹ️ 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: 688c0bf115

ℹ️ 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 on lines +115 to +116
Codex MCP clients receive Grok messaging and approval tools; truthfully identified
Grok Bot clients receive Codex messaging and approval tools. Bridge start/status/stop

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Remove unavailable Codex-tool instructions from the skill

When this bundled skill is loaded by a Codex client, the new inventory correctly omits codex_send, codex_threads, codex_wait, and codex_watch, but the same skill still advertises Codex-thread access through those tools in its frontmatter (line 3) and says the generated Codex plugin exposes them (lines 75–84). This contradictory guidance can make Codex attempt tools that the server now rejects; update the earlier host-agnostic instructions to describe which hosts actually receive the Codex tool set.

Useful? React with 👍 / 👎.

@ScriptedAlchemy
ScriptedAlchemy merged commit e5b5c87 into main Sep 17, 2026
2 checks passed
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