[MCP Feature] Connecting and Authenticating an MCP Server (Claude Code)

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

  1. 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-mcp portion.
    mcpadd.png

  2. Restart Claude Code to enable the tool.

  3. Run the /mcp command and select the trustlogin-mcp entry you added (the name you set in step 1).
    mcpselect.png
  4. Select "Authenticate."
    mcpauth.png
  5. You'll be redirected to the authentication screen in your browser.
    Click "Allow."
    mcpauthTL.png
  6. Once authentication succeeds, the following screen will appear. (You can close this screen.)
    mcpauth2.png
  7. The following screen will appear in the Claude CLI. This completes the connection process.
    mcpauthenticated.png

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

  1. Run the following command in the Claude CLI to remove the MCP server connection settings.

    claude mcp remove trustlogin-mcp

    Note: For the trustlogin-mcp portion, specify the identifier you set when connecting the server.

  2. 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.

[MCP Feature] Connecting and Authenticating an MCP Server (Claude Code)

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

  1. 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-mcp portion.
    mcpadd.png

  2. Restart Claude Code to enable the tool.

  3. Run the /mcp command and select the trustlogin-mcp entry you added (the name you set in step 1).
    mcpselect.png
  4. Select "Authenticate."
    mcpauth.png
  5. You'll be redirected to the authentication screen in your browser.
    Click "Allow."
    mcpauthTL.png
  6. Once authentication succeeds, the following screen will appear. (You can close this screen.)
    mcpauth2.png
  7. The following screen will appear in the Claude CLI. This completes the connection process.
    mcpauthenticated.png

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

  1. Run the following command in the Claude CLI to remove the MCP server connection settings.

    claude mcp remove trustlogin-mcp

    Note: For the trustlogin-mcp portion, specify the identifier you set when connecting the server.

  2. 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.