feat(mcp): add tool-call structured logger (#373 stack 3/3)#377
Draft
adriannoes wants to merge 1 commit into
Draft
feat(mcp): add tool-call structured logger (#373 stack 3/3)#377adriannoes wants to merge 1 commit into
adriannoes wants to merge 1 commit into
Conversation
This was referenced Jul 8, 2026
f5c9236 to
43c1c93
Compare
a843c1c to
f9bca74
Compare
This was referenced Jul 8, 2026
4b0f34b to
323206e
Compare
43c1c93 to
5b0a506
Compare
Collaborator
Author
Stack 3/3 reshaped after #378 landed in
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #373 (stack 3/3).
Summary
request_idcorrelation under stateful Streamable HTTP (D4), using#378'stool_log_middleware+ the shared structured emitter from stacks 1–2.What this PR deliberately does not do
CallToolRequesttool logger. After feat(mcp): add tool-call middleware seam #378 merged todev, tool lines are emitted bytool_log_middleware(unified ontoemit_structured_eventin feat(mcp): add HTTP request log middleware and hosted wiring (#373 stack 2/3) #376). A parallel wrap would double-log.Stack status
trace_id) is settled.Test plan
uv run pytest packages/mcp/tests/observability/test_observability_end_to_end.py -quv run ruff check packages/mcp && uv run ruff format --check packages/mcp