Skip to main content
Glama
britive

Britive MCP Server

Official
by britive

Britive's MCP Server enables AI agents and users to interact with the Britive platform. Britive's MCP server exposes several tools that enable users and AI agents to interact with the Britive platform for dynamic access, query configurations, reporting, and access activity.

To learn more about MCPs, see Get Started with MCP.


Prerequisites

  • Python version 3.10 or higher. Python downloads.

  • Ensure you have the latest version of Git installed and access to the repository. Download git from the Git downloads.

  • Any MCP client. For example: Claude desktop, VS Code Copilot


Setting up the Britive MCP Server

  1. Clone the GitHub repository that has the MCP server.

git clone https://github.com/britive/mcp-server.git
  1. Change directory to mcp-server

cd mcp-server
  1. Create a virtual environment

python -m venv <virtual_env_name>
  1. Activate the virtual environment

  • Windows

    <virtual_env_name>\Scripts\activate
  • Linux

    source <virtual_env_name>/bin/activate
  1. Install Python packages (dependencies)

pip install -r requirements.txt

Configuring your MCP client and Authentication:

Authentication to the Britive platform can be performed using the Britive CLI or a Static Token

  1. Install the PyBritive CLI if not installed. For more information, see PyBritive Documentation

  2. Configure the tenant, if you have not configured it already, using the following command. To find out more about how to enter the tenant name, see PyBritive: Tenant selection logic:

    pybritive configure tenant
  3. Log in to PyBritive:

    pybritive login
  4. Log in using the following command if you have multiple tenants:

    pybritive login --tenant=<your_tenant_name>
  5. Log in directs you to the Britive login page, where you can enter your credentials.

  6. Modify your MCP JSON file to configure the Britive MCP.

Note:
For Windows, use backslash (\\).
For macOS/Linux, use a forward slash (/) in the path.

{
  "servers": {
    "britive": {
      "command": "C:\\Users\\YourName\\mcp-server\\venv\\Scripts\\python.exe",
      "args": [
        "C:\\Users\\YourName\\mcp-server\\britive_mcp_tools\\core\\mcp_runner.py"
      ],
      "env": {
        "PYTHONPATH": "C:\\Users\\YourName\\mcp-server",
        "BRITIVE_TENANT": "your_tenant_name"
      }
    }
  }
}

Where:

  • Option 2: Login using a static token:

  1. Generate a static token from Britive UI. For more information, see API Tokens.

  2. Copy the token to use in the MCP JSON file.

  3. Modify your MCP JSON file to configure the Britive MCP.

Note:
For Windows, use backslash (\\).
For macOS, use a forward slash (/) in the path.

{
  "servers": {
    "britive": {
      "command": "C:\\Users\\YourName\\mcp-server\\venv\\Scripts\\python.exe",
      "args": [
        "C:\\Users\\YourName\\mcp-server\\britive_mcp_tools\\core\\mcp_runner.py"
      ],
      "env": {
        "PYTHONPATH": "C:\\Users\\YourName\\mcp-server",
        "BRITIVE_TENANT": "your_tenant_name",
        "BRITIVE_STATIC_TOKEN": "your_static_token_here"
      }
    }
  }
}

Where:

Connect to the MCP server using a client application.

For more information, see Connect to Local MCP Servers.

Using On-Behalf-Of MCP Functionality

To use OBO MCP, you can following environment variable:

If this environment variable is set, the MCP server will assume the user intends to use OBO and will take priority over non OBO MCP functionality. The BRITIVE_STATIC_TOKEN should refer to the following service identity that the user would like to perform impersonation. Currently, not all tools are supported by OBO.

List of supported OBO tools:

  1. my_access

F
license - not found
-
quality - not tested
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/britive/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server