
Claude - Where are my credentials
Lately I am working on Agent related work and was curious to understand how harnesses like Claude Code store credentials for MCP connections and is it possible for any random-ass harness to re-use those credentials and get access to the MCP connections which I don’t want. After reading bash is all you need, I did try to write a simple agent loop which does LLM call and tool execution. Creating a bare minimum harness is easier than it seems. Give it a try, see this gist of minimal implementation. ...