A normal CrewAI tool holds the credential: to post to Slack, something in your process needs a Slack token. Put AgentValet in front and the crew holds no platform credential at all. It holds one identity key, and every outbound call is checked against your grants, approved where you require it, and written to the audit log.
CrewAI speaks MCP, and AgentValet publishes an MCP server. Point one at the other and the crew has a tool for every platform you have granted, and no tool for anything you have not.
from crewai import Agent from crewai.mcp import MCPServerStdio agent = Agent( role="Operations Engineer", goal="Keep the team informed and the tracker up to date", mcps=[MCPServerStdio( command="npx", args=["-y", "@agentvalet/mcp-server"], env={"AGENT_ID": agent_id, "OWNER_ID": owner_id}, )], )
pip install agentvalet then agentvalet register --code <your-code>. The keypair is generated on your machine; only the public half is sent.mcps= block above to any agent in your crew.pip install crewai-agentvalet gives you the same governance as ordinary CrewAI tools, with no Node and no MCP server: tools=governed_tools() builds one typed tool per granted platform.AgentValet also exposes a remote MCP endpoint, and MCPServerHTTP will connect to it. But agent assertions are deliberately short-lived: 60 seconds. MCPServerHTTP takes its headers once, at construction, so a static token goes stale a minute into the run and every later tool call fails. The stdio server signs a fresh assertion for each request, so it keeps working for as long as the crew runs. Use the remote endpoint only where you have somewhere to refresh the token from.
Give each role its own agent when their authority should differ. A researcher that only reads and a publisher that can post are two identities with two grant sets, and the audit trail then tells you which role did what. Register them separately from the dashboard, and grant the narrow ones narrowly: each agent's permissions are the ones you gave it directly.
One MCP block, or one pip install. Free to start, no credit card.