AI agents
API keys in MCP server configs: where they end up
MCP clients keep server settings as plain JSON, and the API key usually sits in it. Where those files live, who can read them and how to keep keys out.
AI coding agents guide
What AI coding agents can read in a repository and a terminal, why ignore rules don't stop an agent's shell, and how to keep real values out of reach.
AI agents
MCP clients keep server settings as plain JSON, and the API key usually sits in it. Where those files live, who can read them and how to keep keys out.
AI coding agents guide
AI agents
What Claude Code, Cursor and Copilot do with .env files by default, why ignore rules don't stop an agent's shell, and how to test it with a fake key.
AI coding agents guide
AI agents
A coding agent with a shell can print its environment, and text it reads can ask it to. How to make the keys within its reach worth little.
AI coding agents guide
Example. Kiteline is a fictional company.