loading…
Search for a command to run...
loading…
Enables AI agents and users to interact with the Britive platform for dynamic access, query configurations, reporting, and access activity.
Enables AI agents and users to interact with the Britive platform for dynamic access, query configurations, reporting, and access activity.
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.
git clone https://github.com/britive/mcp-server.git
mcp-servercd mcp-server
python -m venv <virtual_env_name>
Windows
<virtual_env_name>\Scripts\activate
Linux
source <virtual_env_name>/bin/activate
pip install -r requirements.txt
Authentication to the Britive platform can be performed using the Britive CLI or a Static Token
Install the PyBritive CLI if not installed. For more information, see PyBritive Documentation
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
Log in to PyBritive:
pybritive login
Log in using the following command if you have multiple tenants:
pybritive login --tenant=<your_tenant_name>
Log in directs you to the Britive login page, where you can enter your credentials.
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:
command |
Full path to the Python executable |
args |
Full path to the britive_mcp_tools\core\mcp_runner.py module. |
PYTHONPATH |
Set the Python path to the mcp-server directory (repository) |
BRITIVE_TENANT |
Your tenant on Britive. This tenant name must match the name used in the PyBritive CLI |
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:
command |
Full path to the Python executable |
args |
Full path to the britive_mcp_tools\core\mcp_runner.py module. |
PYTHONPATH |
Set the Python path to the mcp-server directory (repository) |
BRITIVE_TENANT |
Your tenant on Britive. Do not use the entire FQDN for the subdomain. For example, for
https://super-customer.test.aws.britive-corp.com, use
super-customer.test.aws as a tenant subdomain.
|
BRITIVE_STATIC_TOKEN |
Static token created in the previous step |
For more information, see Connect to Local MCP Servers.
To use OBO MCP, you can following environment variable:
BRITIVE_EMAIL |
The Britive email of the person you want the MCP server to impersonate |
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:
my_accessRun in your terminal:
claude mcp add britive-mcp-server -- npx Security
Low riskAutomated heuristic from public metadata — not a security guarantee.