copilot-mcp-server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
copilot-mcp-server
A Model Context Protocol (MCP) server that wraps the SOCFortress CoPilot API and exposes its endpoints as MCP tools for use by SOC AI agents.
Features
OAuth2 password-grant authentication against the CoPilot backend with JWT token caching and automatic refresh on
401s.Async HTTP client built on
httpx(HTTP/2 enabled).Pluggable tool registration via
fastmcp.stdio transport — designed to be launched on demand by an MCP host (Claude Desktop, LangChain, custom containers).
Configuration via environment variables,
.envfile, or CLI flags.
Available tools
Customers
Tool | Endpoint | Description |
|
| Fetches the list of customers from CoPilot. |
AI Analyst — Jobs
Tool | Endpoint | Description |
|
| Register a new AI analyst investigation job. |
|
| Update a job's status / error message. |
|
| Get a specific job by ID. |
|
| List all jobs for an alert. |
|
| List all jobs for a customer. |
AI Analyst — Reports
Tool | Endpoint | Description |
|
| Submit a markdown investigation report with severity and recommended actions. |
|
| List all reports for an alert. |
AI Analyst — IOCs
Tool | Endpoint | Description |
|
| Submit extracted IOCs with VT verdicts for a report. |
|
| List IOCs for a specific report. |
|
| List all IOCs for an alert. |
|
| List IOCs for a customer (optionally filtered by VT verdict). |
AI Analyst — Combined
Tool | Endpoint | Description |
|
| One-shot: job + report + IOCs for an alert. |
Notifications
Tool | Endpoint | Description |
|
| Fan out a completed investigation's report to the customer's configured destinations (SMTP, Shuffle → Slack/Outlook/Teams/etc.). CoPilot owns the routing, formatting, and idempotency — call once after |
More tools (agents, healthcheck, threat intel, incidents, etc.) will be added incrementally.
Related MCP server: FirstReply MCP Server
Installation
The fastest way to install is straight from GitHub into a fresh virtualenv:
python -m venv .venv && source .venv/bin/activate
pip install git+https://github.com/socfortress/copilot-mcp-server.gitThis pulls the latest main and exposes the copilot-mcp-server command on your PATH.
To pin to a specific tag or commit:
pip install git+https://github.com/socfortress/copilot-mcp-server.git@v0.1.0Or install a pre-built wheel from a GitHub Release:
pip install https://github.com/socfortress/copilot-mcp-server/releases/download/latest/copilot_mcp_server-0.1.0-py3-none-any.whlOr from a local checkout (for development):
git clone https://github.com/socfortress/copilot-mcp-server.git
cd copilot-mcp-server
pip install -e ".[dev]"Configuration
Copy .env.example to .env and fill in your CoPilot connection details:
cp .env.example .envRequired environment variables:
Variable | Description |
| Base URL of the CoPilot backend (e.g. |
| Service account username |
| Service account password |
Optional:
Variable | Default | Description |
|
| Verify TLS certificates |
|
| Request timeout in seconds |
|
| Logging level (logs go to stderr; stdout is reserved for MCP JSON-RPC) |
| (empty) | Comma-separated list of tool names to disable |
2FA is not supported. If the configured account has 2FA enabled, the server will raise a clear error on first authentication. Use a service account without 2FA.
Running
This server uses stdio transport — it does not bind a network port. Instead, an MCP host (Claude Desktop, LangChain, a container orchestrator, etc.) launches it as a subprocess and communicates over its stdin/stdout.
You can still run it manually for smoke-testing:
copilot-mcp-server # reads JSON-RPC from stdin, writes responses to stdout
python -m copilot_mcp_serverLogs are emitted on stderr so they don't corrupt the JSON-RPC stream on stdout.
Example: Claude Desktop config
{
"mcpServers": {
"copilot": {
"command": "copilot-mcp-server",
"env": {
"COPILOT_URL": "http://127.0.0.1:5000",
"COPILOT_USERNAME": "your-username",
"COPILOT_PASSWORD": "your-password"
}
}
}
}Example: LangChain integration
See copilot_integration.py for a working example that uses
langchain-mcp-adapters to spawn this server over stdio and wrap its tools in a LangChain
agent.
Development
pip install -e ".[dev]"
pytestLicense
Apache 2.0 — see LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
GitHub Copilot MCP: code, repo, PR, workflow tools for AI assistants.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Your org's AI agents, tasks, runs, search, and brain files as MCP tools and resources.
MCP tool marketplace for AI agents: web, OSINT, security and research tools through one key.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceProvides AI agents with operational customer context, including typed revenue objects, persistent state, scoped tools, and human-in-the-loop handoffs through MCP, REST, and CLI.14Apache 2.0

FirstReply MCP Serverofficial
AlicenseBqualityBmaintenanceExposes FirstReply customer support operations as MCP tools, enabling AI assistants to browse conversations, draft replies, manage API keys, and access support statistics.9918 npm1MIT- AlicenseAqualityDmaintenanceExposes Azure AI Foundry agents, workflows, and AI Search vector-database capabilities as MCP tools, enabling natural language interaction with agents, semantic search, and index management.102MIT
- FlicenseAqualityBmaintenanceExposes eSentire Atlas API (Findings, Ticketing, MVS) and Threat Intelligence feeds (IP Watch, Advanced/STIX) as MCP tools, enabling security operations and threat intelligence queries through natural language.29-