bastiaan365/mcp-it-ops
MCP server for IT operations — query Active Directory, manage Intune devices, check M365 health, and run diagnostics directly from Claude
Platform-specific configuration:
{
"mcpServers": {
"mcp-it-ops": {
"command": "npx",
"args": [
"-y",
"mcp-it-ops"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
An MCP (Model Context Protocol) server that gives Claude direct access to IT operations tools — Active Directory, Intune, Microsoft 365, network diagnostics, and system health checks.
Built this after spending too much time copy-pasting output between CLI tools and chat windows. With this running, you can ask Claude things like "which users in the Finance OU haven't logged in for 90 days" or "show me the compliance status of devices in the Netherlands" and get actual results without leaving the conversation.
Once connected, Claude can:
git clone https://github.com/bastiaan365/mcp-it-ops.git
cd mcp-it-ops
pip install -e .
# Configure credentials (see config section below)
cp config/settings.example.yaml config/settings.yamlAdd to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%/Claude/claude_desktop_config.json on Windows):
{
"mcpServers": {
"it-ops": {
"command": "python",
"args": ["-m", "mcp_it_ops"],
"cwd": "/path/to/mcp-it-ops"
}
}
}Restart Claude Desktop and you'll see the IT ops tools available.
get_ad_user(username) → User details, last login, group memberships
search_ad_users(filter, ou) → Find users matching criteria
get_stale_accounts(days=90) → Users who haven't logged in for N days
get_ad_group_members(group_name) → All members of a gLoading reviews...