Britive MCP Server

Britive MCP Server

Enables AI agents and users to interact with the Britive platform for dynamic access, query configurations, reporting, and access activity.

Category
访问服务器

README

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

  • Option 1: CLI login using PyBritive (Recommended):

  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: <table> <tbody> <tr> <td><code>command</code></td> <td>Full path to the Python executable</td> </tr> <tr> <td><code>args</code></td> <td>Full path to the <code>britive_mcp_tools\core\mcp_runner.py</code> module.</td> </tr> <tr> <td><code>PYTHONPATH</code></td> <td>Set the Python path to the <code>mcp-server</code> directory (repository)</td> </tr> <tr> <td><code>BRITIVE_TENANT</code></td> <td>Your tenant on Britive. This tenant name must match the name used in the PyBritive CLI</td> </tr> </tbody> </table>

  • 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: <table> <tbody> <tr> <td><code>command</code></td> <td>Full path to the Python executable</td> </tr> <tr> <td><code>args</code></td> <td>Full path to the <code>britive_mcp_tools\core\mcp_runner.py</code> module.</td> </tr> <tr> <td><code>PYTHONPATH</code></td> <td>Set the Python path to the <code>mcp-server</code> directory (repository)</td> </tr> <tr> <td><code>BRITIVE_TENANT</code></td> <td>Your tenant on Britive. Do not use the entire FQDN for the subdomain. For example, for <code>https://super-customer.test.aws.britive-corp.com</code>, use <code>super-customer.test.aws</code> as a tenant subdomain. </td> </tr> <tr> <td><code>BRITIVE_STATIC_TOKEN</code></td> <td>Static token created in the previous step</td> </tr> </tbody> </table>

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:

<table> <tbody> <tr> <td><code>BRITIVE_EMAIL</code></td> <td>The Britive email of the person you want the MCP server to impersonate</td> </tr> </tbody> </table>

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

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选