{"name":"MAX_MCP_OUTPUT_TOKENS","slug":"max-mcp-output-tokens","family":"env","title":"Environment variables","noun":"environment variable","description":"Nonsense values in retry, MCP output and hook timeout env vars now fall back to defaults.","description_source":"entry","described_by":{"version":"2.1.228","anchor":"garbage-numeric-env-vars-fall-back-to-defaults"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.309","builds":150,"mined_builds":150,"first_cited":{"version":"2.1.84","released_at":"2026-03-25 23:50:13","spans":1}},"aliases":[],"entries":[{"version":"2.1.248","anchor":"mcp-output-token-cap-resolution","heading":"MCP output token cap resolution","line":"MAX_MCP_OUTPUT_TOKENS is still honoured first, but it's no longer sanity-checked as a number.","released_at":"2026-08-27 20:35:36","reason":"named in this entry, found in this entry's text"},{"version":"2.1.228","anchor":"garbage-numeric-env-vars-fall-back-to-defaults","heading":"Garbage numeric env vars fall back to defaults","line":"Nonsense values in retry, MCP output and hook timeout env vars now fall back to defaults.","released_at":"2026-08-11 17:45:45","reason":"named in this entry, found in this entry's text"},{"version":"2.1.84","anchor":"configurable-mcp-tool-output-token-limits","heading":"Configurable MCP Tool Output Token Limits","line":null,"released_at":"2026-03-25 23:50:13","reason":"found in this entry's text"},{"version":"1.0.28","anchor":"new-features","heading":"New Features","line":null,"released_at":"2025-06-18 17:37:33","reason":"found in this entry's text"}],"entries_total":4,"docs":[{"source":"claude-code","path":"agent-sdk\/mcp","title":"Connect to external tools with MCP","documented":false},{"source":"claude-code","path":"mcp","title":"Connect Claude Code to tools via MCP","documented":false},{"source":"claude-docs","path":"connectors\/building\/index","title":"Build an MCP server for Claude","documented":false},{"source":"claude-docs","path":"connectors\/building\/mcp-apps\/troubleshooting","title":"Troubleshoot MCP Apps","documented":false}],"docs_total":4,"gates":[],"related":[{"name":"MAX_STRUCTURED_OUTPUT_RETRIES","slug":"max-structured-output-retries","description":"The first error of a failed run is now handled distinctly from later ones."},{"name":"MAX_THINKING_TOKENS","slug":"max-thinking-tokens","description":"You now get told when an effort level needs thinking on, and what turned thinking off."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/max-mcp-output-tokens","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}