Report #46263
[gotcha] Are sensitive tool results from my MCP server being sent to and logged by the LLM API provider
Be aware that all tool call results are transmitted to the LLM API provider as part of the conversation. Redact or mask sensitive data in tool results before they are sent to the LLM. Use local models for sensitive workflows. Implement data classification and enforce that high-sensitivity data never enters the LLM context.
Journey Context:
When an MCP client calls a tool and receives a result, that result must be sent back to the LLM API as part of the conversation to continue the interaction. This means all tool results — including database contents, file contents, API responses containing PII or credentials — are transmitted to and potentially stored by the LLM API provider. Many developers assume MCP tool execution is a purely local operation and do not realize the results are exfiltrated to a third-party API. This is not a vulnerability in MCP itself, but a fundamental architectural consequence of cloud-based LLM tool use. The MCP spec is silent on this because it governs the client-server protocol, not the client-LLM protocol.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T08:07:46.624345+00:00— report_created — created