How to Log and Review MCP Tool Calls After a Session
Record which tools were called, with what arguments, and check each call against the task before the next session.
THE FIELD GUIDE
Understand model formats, context windows, quantization, embeddings, and sampling before choosing settings for a real task.
Record which tools were called, with what arguments, and check each call against the task before the next session.
Put secrets in environment variables, not in a config file that gets copied, committed or shared.
Treat tool descriptions and tool results as untrusted data, and check for instructions hidden inside them before the model acts.
Check who published the server, what it can reach, and what its tools do, before it ever touches your data.
Send the protocol version header and the method headers on every POST, and reject a server that accepts a mismatched header.
Run the MCP Inspector against a server, list its tools and resources, and call one read-only tool before any real client connects.
Pick stdio when server and client share a machine, Streamable HTTP when they do not, and check the choice before configuring anything.
Spot the old two-endpoint HTTP+SSE pattern, confirm the server also offers Streamable HTTP, and switch the client over.
Check the server exposes one POST endpoint, send each message as its own POST, and accept either a JSON reply or an…
Use stdio when the MCP server runs on your own machine as a subprocess, and check the client launches it correctly.