The Illumio MCP Server provides an interface to interact with Illumio PCE (Policy Compute Engine), enabling programmatic access to workload management, label operations, and traffic flow analysis through conversational AI.
git clone [repository-url]
cd illumio-mcp
pip install -r requirements.txt
The recommended way to run the MCP server is using the uv
command, which makes it easier to pass environment variables and run it in the background.
Update your Claude Desktop configuration file:
On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
Add the following to the custom_settings
section:
"mcpServers": {
"illumio-mcp": {
"command": "uv",
"args": [
"--directory",
"/Users/alex.goller/git/illumio-mcp",
"run",
"illumio-mcp"
],
"env": {
"PCE_HOST": "your-pce-host",
"PCE_PORT": "your-pce-port",
"PCE_ORG_ID": "1",
"API_KEY": "api_key",
"API_SECRET": "api_secret"
}
}
}
}
The application is available as a Docker container from the GitHub Container Registry.
docker pull ghcr.io/alexgoller/illumio-mcp-server:latest
You can also use a specific version:
docker pull ghcr.io/alexgoller/illumio-mcp-server:1.0.0
~/.illumio-mcp.env
) with your PCE credentials:PCE_HOST=your-pce-host
PCE_PORT=your-pce-port
PCE_ORG_ID=1
API_KEY=your-api-key
API_SECRET=your-api-secret
{
"mcpServers": {
"illumio-mcp-docker": {
"command": "docker",
"args": [
"run",
"-i",
"--init",
"--rm",
"-v",
"/Users/YOUR_USERNAME/tmp:/var/log/illumio-mcp",
"-e",
"DOCKER_CONTAINER=true",
"-e",
"PYTHONWARNINGS=ignore",
"--env-file",
"/Users/YOUR_USERNAME/.illumio-mcp.env",
"illumio-mcp:latest"
]
}
}
}
Run the container directly:
docker run -i --init --rm \
-v /path/to/logs:/var/log/illumio-mcp \
-e DOCKER_CONTAINER=true \
-e PYTHONWARNINGS=ignore \
--env-file ~/.illumio-mcp.env \
ghcr.io/alexgoller/illumio-mcp-server:latest
get-traffic-flows: Get detailed traffic flow data with filtering options:
get-traffic-flows-summary: Get summarized traffic flow information
The ringfence-application
prompt helps create security policies to isolate and protect applications.
Required Arguments:
application_name
: Name of the application to ringfenceapplication_environment
: Environment of the application to ringfenceThe analyze-application-traffic
prompt provides detailed analysis of application traffic patterns.
Required Arguments:
application_name
: Name of the application to analyzeapplication_environment
: Environment of the application to analyzeThe MCP server will then send the configured prompt to Claude, which receives context through the Model Context Protocol, allowing specialized handling of Illumio-specific tasks.
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "illumio-mcp" '{"command":"uv","args":["--directory","/Users/alex.goller/git/illumio-mcp","run","illumio-mcp"],"env":{"PCE_HOST":"your-pce-host","PCE_PORT":"your-pce-port","PCE_ORG_ID":"1","API_KEY":"api_key","API_SECRET":"api_secret"}}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"illumio-mcp": {
"command": "uv",
"args": [
"--directory",
"/Users/alex.goller/git/illumio-mcp",
"run",
"illumio-mcp"
],
"env": {
"PCE_HOST": "your-pce-host",
"PCE_PORT": "your-pce-port",
"PCE_ORG_ID": "1",
"API_KEY": "api_key",
"API_SECRET": "api_secret"
}
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"illumio-mcp": {
"command": "uv",
"args": [
"--directory",
"/Users/alex.goller/git/illumio-mcp",
"run",
"illumio-mcp"
],
"env": {
"PCE_HOST": "your-pce-host",
"PCE_PORT": "your-pce-port",
"PCE_ORG_ID": "1",
"API_KEY": "api_key",
"API_SECRET": "api_secret"
}
}
}
}
3. Restart Claude Desktop for the changes to take effect