Start the MCP server
This starts the MCP server in stdio mode. AI agents connect to it through their MCP configuration.
Agent configuration
Claude Code
Cursor
Windsurf
Other agents
Add to ~/.claude/mcp.json:{
"mcpServers": {
"complior": {
"command": "complior",
"args": ["mcp"]
}
}
}
Add to Cursor MCP settings:{
"complior": {
"command": "complior",
"args": ["mcp"]
}
}
Add to Windsurf MCP config:{
"complior": {
"command": "complior",
"args": ["mcp"]
}
}
Any MCP-compatible agent can connect. The server uses stdio protocol:# Command: complior
# Args: ["mcp"]
# Protocol: stdio
Verify connection
After configuring, ask your agent: “What compliance tools do you have?” It should list the 8 Complior tools (scan, fix, score, explain, passport, validate, deadline, suggest).
The MCP server uses the same Engine as CLI and TUI. If the daemon is already running, MCP connects to it. If not, it starts a lightweight engine instance.