mcp-bitsight
Exposes BitSight Security Ratings as tools for AI assistants, enabling queries on company security scores, company search, details, vulnerabilities, portfolio, risk vectors, and alerts.
README
mcp-bitsight
A focused Model Context Protocol (MCP) server that exposes BitSight Security Ratings as tools for AI assistants.
Note: This repo will be renamed from
mcp-gatewaytomcp-bitsightto reflect its single purpose.
Architecture Context
This is one component in a larger MCP architecture:
┌─────────────┐ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐
│ User │────▶│ LLM Layer │────▶│ MCP Gateway │────▶│ mcp-bitsight │ ← This repo
│ (Cursor) │ │ (AI Foundry) │ │ (Router) │ │ │
└─────────────┘ └──────────────┘ └──────┬───────┘ └──────────────┘
│
├────▶ mcp-servicenow (future)
└────▶ mcp-* (future)
| Component | Purpose | Repo |
|---|---|---|
| mcp-bitsight | BitSight API tools | This repo |
| mcp-gateway | Routes to MCP servers | Separate repo (TBD) |
| ai-orchestrator | LLM reasoning layer | Separate repo (TBD) |
Available Tools
| Tool | Description |
|---|---|
get_bitsight_score |
Get security rating for any company by name |
search_companies |
Search for companies in BitSight |
get_company_details |
Get full company details by GUID |
get_security_findings |
Get vulnerabilities and security findings |
get_portfolio |
View your monitored companies |
get_risk_vectors |
List all risk categories |
get_alerts |
Get portfolio alerts |
Quick Start
1. Clone and Setup
git clone https://github.com/your-org/mcp-bitsight.git
cd mcp-bitsight
# Create virtual environment
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -e .
2. Configure Environment
Create a .env file:
BITSIGHT_API_TOKEN=your-api-key-here
LOG_LEVEL=WARNING
3. Connect to Cursor
Add to ~/.cursor/mcp.json (macOS/Linux) or %USERPROFILE%\.cursor\mcp.json (Windows):
{
"mcpServers": {
"bitsight": {
"command": "/full/path/to/mcp-bitsight/venv/bin/python",
"args": ["/full/path/to/mcp-bitsight/main.py"],
"cwd": "/full/path/to/mcp-bitsight"
}
}
}
4. Restart Cursor
After updating mcp.json, restart Cursor completely (Cmd+Q / Alt+F4, then reopen).
Corporate Proxy / SSL Certificates
If behind a corporate firewall that intercepts HTTPS, place CA certificates in certs/:
certs/
├── combined_ca_bundle.pem
└── ca_bundle.pem
Or set via environment:
MCP_CA_BUNDLE=/path/to/your/ca_bundle.pem
Cloud Deployment (Azure)
CI/CD
Push to dev branch triggers automatic build and deploy via GitHub Actions.
Required GitHub Secrets:
| Secret | Description |
|---|---|
ACR_LOGIN_SERVER |
ACR login server |
ACR_USERNAME |
Azure Container Registry username |
ACR_PASSWORD |
Azure Container Registry password |
AZURE_CLIENT_ID |
Service principal client ID |
AZURE_TENANT_ID |
Azure AD tenant ID |
AZURE_SUBSCRIPTION_ID |
Azure subscription ID |
Connect Cursor to Cloud
{
"mcpServers": {
"bitsight": {
"url": "https://your-app.azurecontainerapps.io/sse"
}
}
}
Project Structure
mcp-bitsight/
├── app/
│ ├── __init__.py
│ ├── bitsight.py # BitSight API client
│ └── server.py # MCP tools
├── certs/ # SSL certificates
├── Documentation/
├── .github/workflows/ # CI/CD
├── main.py # Entry point
├── pyproject.toml # Dependencies
└── Dockerfile
Environment Variables
| Variable | Description | Default |
|---|---|---|
BITSIGHT_API_TOKEN |
BitSight API key | Required |
MCP_TRANSPORT |
stdio or http |
stdio |
PORT |
HTTP port | 8000 |
LOG_LEVEL |
DEBUG, INFO, WARNING, ERROR | WARNING |
MCP_CA_BUNDLE |
Custom CA certificate path | Auto-detected |
Development
pip install -e ".[dev]"
pytest
ruff check .
ruff format .
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.