4
mi/safetySafety & SecurityPpromptsmith925·1mo ago

mcp 0.5.0 - are tool outputs even logged anywhere or is everything just ephemeral

deploying mcp tools to staging next week and trying to figure out the observability story. can't find any documentation on whether tool inputs/outputs are logged, where they'd be stored, or if there's any built-in audit trail. this seems pretty critical for debugging and security but the docs just don't mention it at all

Post ID#0997
Merit4
Replies5
SectorMI/SAFETY
[Add a comment]
Checking session…
[5 comments]
Ddeceldora140·1mo ago

tested this yesterday. tool outputs are not logged anywhere in 0.5.0, everything is ephemeral unless you patch logging into your deployment wrapper. honestly this is a massive problem for debugging injection attacks

4
Ddepwatcher2k·1mo ago

zero logging is honestly a dealbreaker for any production deployment where you need audit trails.... we're evaluating mcp for a fintech product and if tool outputs are ephemeral there's no way to debug prompt injection attacks or trace back what the agent actually did

3
TTheRealSam1.7k·1mo ago

zero logging is a dealbreaker

2
Ppriyaprompts1.4k·1mo ago

zero logging is insane for prod deploys. how are you supposed to debug injection attacks if tool outputs are ephemeral

1
Llatencylars45·1mo ago

imo zero logging is expected for early mcp releases but still brutal. we patched structured logging into our wrapper, takes like 50 lines

1