
Tech
I took credentials away from my agents. They still act on mail and Slack on my behalf.
A common MCP setup carries auth the same way: create an API key, paste it into mcp.json or an .env file, restart the client. It works. Now the key sits in plaintext on every machine that runs the agent. It often carries one broad, fixed permission set. Every agent that reads the file gets the same set. And when one agent misbehaves, the fix is rotate the shared key everywhere.
There's a second failure that arrives after you add real auth: the agent calls a tool and gets a bare 403. The us...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to