Skip to content

Token-efficient Reason MCP v2 - #34

Closed
IsraelAraujo70 wants to merge 3 commits into
mainfrom
codex/mcp-token-efficient-v2
Closed

IsraelAraujo70 wants to merge 3 commits into
mainfrom
codex/mcp-token-efficient-v2

Conversation

@IsraelAraujo70

Copy link
Copy Markdown
Owner

What changed

  • adds compact response envelopes and bounded projected page reads
  • adds exact ordered block queries with signed cursors
  • adds compact canonical operation batches with deterministic IDs and local references
  • filters tool discovery by token scopes and returns structured correctable errors
  • configures MCP cursor signing and documents the compatibility contract

Why

The existing MCP duplicated results, returned full trees, relied on semantic search for deterministic discovery, and required verbose operation metadata. This keeps legacy clients working while reducing agent context usage and preserving the canonical operation engine, authorization, workspace isolation, idempotency, ordering, and LWW semantics.

Validation

  • make test
  • cargo fmt
  • git diff --check
  • docker compose config --quiet
  • local PostgreSQL and MCP acceptance for exact ordering/filtering, cursor continuation and invalidation, trash visibility, workspace grants, canonical replay/conflict behavior, and compact snapshots
  • OpenCode 1.18.10 connected to the local MCP endpoint

Production MCP_CURSOR_SIGNING_KEY configuration and deployment are intentionally not included and still require separate confirmation.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

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