Local PAT (stdio mode)
Local stdio mode
For SDK apps and scripts, run the Drento MCP server locally over stdio with a personal access token.
Generate a personal access token
Open Settings → AI Connections → Generate new token. Copy the token — it's shown once.
Install the server
Run: npm install -g @drento/mcp-server
Run in stdio mode
Run: DRENTO_PAT=<your-token> drento-mcp --stdio
Configure your MCP client
Point your client's MCP config at the local drento-mcp executable.
You can revoke this connection any time from Settings → AI Connections.