ServiceNow CMDB MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ServiceNow CMDB MCP Serverget all servers with operational status active"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ServiceNow CMDB MCP Server
A Model Context Protocol (MCP) server for interacting with ServiceNow CMDB (Configuration Management Database) tables.
Features
Tool:
get_cmdb_table_data- Query any CMDB table with filtering, field selection, and pagination
Related MCP server: ServiceNow MCP Server
Installation for Claude
Step 1: Setup the Server
Navigate to the project directory
cd "ServiceNow CMDB MCP"Activate virtual environment
source venv/bin/activate # On Windows: venv\Scripts\activateConfigure ServiceNow credentials
cp .env.template .envEdit
.envfile with your ServiceNow instance details:SERVICENOW_URL=https://your-instance.service-now.com SERVICENOW_USER=your-username SERVICENOW_PASS=your-passwordStart the MCP server
python server.pyYou should see:
INFO: Started server processandINFO: Uvicorn running on http://127.0.0.1:9123
Step 2: Configure Claude
Open Claude settings (gear icon in bottom left)
Navigate to MCP section
Add the following configuration to your
mcpServerssection:"mcpServers": { "ServiceNowCMDB": { "command": "npx", "args": ["mcp-remote", "http://localhost:9123/mcp/"] } }Save and restart Claude
Step 3: Verify Installation
Once Claude restarts, you should see:
A new "ServiceNowCMDB" server in your MCP servers list
Access to the
get_cmdb_table_datatool
Prerequisites
Python 3.11+
Node.js and npm (for
npxcommand)ServiceNow instance with API access
Valid ServiceNow credentials
Usage in Claude
After setup, you can use the tool in Claude:
Get all computers from CMDB:
Use get_cmdb_table_data with table_name="cmdb_ci_computer"
Get specific fields:
Use get_cmdb_table_data with table_name="cmdb_ci_computer" and fields="name,serial_number,manufacturer"
Filter by status:
Use get_cmdb_table_data with table_name="cmdb_ci_computer" and query="operational_status=1"API Endpoints
The server runs on http://127.0.0.1:9123 by default.
Tools
get_cmdb_table_data
Query any CMDB table with optional filtering and field selection.
Parameters:
table_name(required): Name of the CMDB tablequery(optional): ServiceNow query string for filteringfields(optional): Comma-separated list of fields to returnlimit(optional): Maximum number of records (default: 100)offset(optional): Number of records to skip (default: 0)
Usage Examples
Get all computers
await get_cmdb_table_data("cmdb_ci_computer")Get specific fields
await get_cmdb_table_data(
"cmdb_ci_computer",
fields="name,serial_number,manufacturer"
)Filter by status
await get_cmdb_table_data(
"cmdb_ci_computer",
query="operational_status=1"
)Common CMDB Tables
cmdb_ci_computer- Computer configuration itemscmdb_ci_server- Server configuration itemscmdb_ci_network_gear- Network equipmentcmdb_ci_storage_device- Storage devicescmdb_ci_database- Database configuration items
Error Handling
The server includes comprehensive error handling for:
Missing credentials
HTTP errors from ServiceNow
Invalid JSON responses
Network timeouts
License
MIT License
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for the HubSpot Integrations Center HubDB: search and retrieve integration data.
Access New Relic observability data through MCP - query metrics, logs, traces, entities, and more
Governed data discovery, exact queries, decisions, simulations, and runtime utilities over MCP.
Token-free MCP server for structured RevoGrid Core, Pro, and Enterprise knowledge retrieval.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server enabling AI agents to access and manipulate ServiceNow data through natural language interactions, allowing users to search for records, update them, and manage scripts.47MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI assistants and development tools to interact with ServiceNow instances, providing comprehensive API coverage for incident management, change management, CMDB, and other ServiceNow modules.3MIT
- AlicenseNot gradedqualityDmaintenanceMCP server to interact with ServiceNow instances, enabling ITSM, CMDB, workflow, and knowledge search operations.MIT
- FlicenseNot gradedqualityCmaintenanceA read-only MCP server that enables searching and listing ServiceNow configuration items, reading direct CI relationships, and traversing the relationship graph up to a controlled depth.-