Secryn provides a dedicated MCP (Model Context Protocol) server that allows AI agents and MCP-compatible clients to securely retrieve secrets, keys, and certificates.
The MCP server acts as a bridge between agents and your Secryn instance.
All requests follow JSON-RPC format and use the tools/call method to execute operations.
MCP requires:
Mcp-Session-Id headerEach MCP request requires:
Mcp-Session-Id: YOUR_SESSION_ID
Vault credentials are passed inside the request under:
vaultcredentialsThe MCP server will use the provided credentials to call your Secryn API.
baseUrl must include the /api suffix.
Example:
{
"vault": {
"id": "Test Vault",
"vaultId": "Test Vault",
"accessKey": "VAULT_ACCESS_KEY",
"baseUrl": "https://demo.secryn.io/api"
}
}
method must be tools/call (slash format).baseUrl must include /api.code when preferPublic=true.