Skip to content

Add egress tracking directly in mcp_root - #5790

Closed
clockwork-tien wants to merge 2 commits into
masterfrom
tien/feat/egress-mcp
Closed

Add egress tracking directly in mcp_root#5790
clockwork-tien wants to merge 2 commits into
masterfrom
tien/feat/egress-mcp

Conversation

@clockwork-tien

@clockwork-tien clockwork-tien commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Description of Changes

Based on #5775

  • Add egress tracking directly in mcp_root
    • Implement counting egress bytes for calls that go through mcp_root (host-wide MCP route), since egress middleware resolves database from the URL path, while mcp_root names its database in a tool argument inside the request body which path based middleware can not see.

API and ABI breaking changes

Expected complexity level and risk

Testing

  • I tested the implementation, tests, lint and format checks passed

@clockwork-tien
clockwork-tien force-pushed the tien/feat/egress-mcp-route branch from 98f8bde to 0d24b96 Compare August 24, 2026 15:51
@clockwork-tien
clockwork-tien changed the base branch from tien/feat/egress-mcp-route to master August 24, 2026 16:01
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