← back

notes on building with & building agents

jun 2026

working with agents — and building them.

  1. jun 2026

    dynamic mcp enablement mid-session

    Let an agent change which MCP servers are enabled mid-session — list the MCPs, restart, and continue.

    I had agents connected to ~37 of my integrations and apps, and honestly the time-to-first-token was too slow with everything loaded up front.

    So instead of carrying all of it, I blow the agent away — kill the session, instant-reconnect, and specify only the tools it actually needs. A hook lists the available MCP servers and re-enables just the relevant ones on continue.