This page explains how to connect to the TrustLogin MCP server from Claude Code.
Prerequisites
- TrustLogin administrator privileges are required.
- Claude Code (Claude CLI) must be installed beforehand.
Setup Steps
Connecting to the TrustLogin MCP Server
-
Run the following command in the Claude CLI to add the TrustLogin MCP server.
claude mcp add --transport http trustlogin-mcp https://portal.trustlogin.com/mcp
Note: You can set any identifier you like for the
trustlogin-mcpportion.
- Restart Claude Code to enable the tool.
- Run the
/mcpcommand and select thetrustlogin-mcpentry you added (the name you set in step 1).
- Select "Authenticate."
- You'll be redirected to the authentication screen in your browser.
Click "Allow."
- Once authentication succeeds, the following screen will appear. (You can close this screen.)
- The following screen will appear in the Claude CLI. This completes the connection process.
Verifying the Setup
Once the connection is complete, confirm that it's working by asking about your TrustLogin data in natural language and checking that results are returned.
Example prompts:
- Give me a list of apps that haven't had SSO performed this month
- Tell me which users signed in via SSO to LinkedIn today
- What's the ratio of form authentication (autofill) to SAML authentication usage this week?
Disconnecting the Integration
To disconnect the integration, you need to remove the connection to the MCP server and revoke the token.
Steps to Disconnect the Integration
-
Run the following command in the Claude CLI to remove the MCP server connection settings.
claude mcp remove trustlogin-mcp
Note: For the
trustlogin-mcpportion, specify the identifier you set when connecting the server.
- We will handle deactivating the access token on the TrustLogin side.
Please let us know that you'd like the token deactivated via this link.