Skip to main content
Agentity exposes a set of tools via the Model Context Protocol (MCP), allowing your AI agent to provision its own identity and manage secrets without leaving the model context.

Connection

MCP server URL
https://api.agentity.to/mcp?apiKey=YOUR_API_KEY
Transport: Streamable HTTP
Replace YOUR_API_KEY with one of your Agentity API keys. You can generate API keys from the Agentity dashboard.

Available tools

ToolDescription
initialize_vaultInitialize an encrypted vault for an agent
save_secret_to_vaultSave a key-value secret to the agent’s vault
get_secret_from_vaultRetrieve a secret from the agent’s vault
create_agent_identityProvision email, phone, and/or virtual card for an agent
get_agent_identityRetrieve the current identity for an agent

Common parameters

All tools accept an agentId parameter — a string that uniquely identifies the agent making the call. Use a consistent identifier across tool calls for the same agent. Most tools also require an intent object that describes why the tool is being called:
FieldTypeDescription
intent.messagestringA human-readable explanation of why this tool is being called
intent.subjectenumThe resource being acted on (VAULT, IDENTITY, etc.)
intent.actionenumThe operation being performed (CREATE, READ, UPDATE, DELETE)
For connection instructions and a quickstart guide, see MCP Setup.