Cursor
Connect Cursor to the Akeyless MCP Server when you want MCP access inside the Cursor editor.
For general MCP background and command syntax, see MCP Server.
Requirements
- Akeyless CLI version
1.130.0or later. - A configured Akeyless profile, or the authentication values required by your chosen access type.
- A Gateway URL passed directly in the client configuration.
Configure Cursor
- Install and configure the Akeyless CLI.
- Open Cursor settings JSON.
- Add the Akeyless MCP server configuration.
- Restart Cursor.
The following examples show common authentication configurations:
{
"mcpServers": {
"akeyless": {
"command": "akeyless",
"args": [
"mcp",
"--profile", "<profile-name>",
"--gateway-url", "https://<your-gateway-url>:8000/api/v2"
]
}
}
}{
"mcpServers": {
"akeyless-saml": {
"command": "akeyless",
"args": [
"mcp",
"--access-id", "<access-id>",
"--access-type", "saml",
"--gateway-url", "https://<your-gateway-url>:8000/api/v2"
]
}
}
}{
"mcpServers": {
"akeyless-oidc": {
"command": "akeyless",
"args": [
"mcp",
"--access-id", "<access-id>",
"--access-type", "oidc",
"--gateway-url", "https://<your-gateway-url>:8000/api/v2"
]
}
}
}Verify The Integration
After Cursor restarts, verify that Cursor can run MCP-backed requests such as:
- "Show me my Akeyless secrets"
- "Create a new secret called
api-key" - "List all my targets"
Notes
- The Akeyless CLI serves MCP over
stdio, so Cursor must invoke theakeyless mcpcommand directly. - When
--profileis used, the saved CLI profile supplies the authentication settings. - Pass
--gateway-urldirectly in the Cursor configuration even when the profile already has a saved Gateway value.
Updated 14 days ago
