# Servicenow Api

> ServiceNow MCP Server and API Wrapper

- **Type:** MCP server
- **Install:** `agentstack add mcp-knuckles-team-servicenow-api`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [Knuckles-Team](https://agentstack.voostack.com/s/knuckles-team)
- **Installs:** 0
- **Category:** [Cloud & Infrastructure](https://agentstack.voostack.com/c/cloud-infrastructure)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [Knuckles-Team](https://github.com/Knuckles-Team)
- **Source:** https://github.com/Knuckles-Team/servicenow-api

## Install

```sh
agentstack add mcp-knuckles-team-servicenow-api
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Servicenow Api
## CLI or API | MCP | Agent

*Version: 2.0.0*

> **Documentation** — Installation, deployment, and usage across the API, CLI, MCP,
> and A2A agent interfaces are maintained in the
> [official documentation](https://knuckles-team.github.io/servicenow-api/).

---

## Overview

**Servicenow Api** is a production-grade Agent and Model Context Protocol (MCP) server designed to interface directly with Python ServiceNow API Wrapper.

---

## Key Features

- **Consolidated Action-Routed MCP Tools:** Minimizes token overhead and eliminates tool bloat in LLM contexts by grouping methods into optimized, togglable tool modules.
- **Enterprise-Grade Security:** Comprehensive support for Eunomia policies, OIDC token delegation, and granular execution context tracking.
- **Integrated Graph Agent:** Built-in Pydantic AI agent supporting the Agent Control Protocol (ACP) and standard Web interfaces (AG-UI).
- **Native Telemetry & Tracing:** Out-of-the-box OpenTelemetry exports and native Langfuse tracing.

---

## CLI or API

This agent wraps the Python ServiceNow API Wrapper API. You can interact with it programmatically or via its integrated execution entrypoints.

Detailed instructions on how to use the underlying API wrappers, extended schema bindings, and developer SDK references are maintained in [docs/index.md](docs/index.md).

---

## MCP

This server utilizes dynamic Action-Routed tools to optimize token overhead and maximize IDE compatibility.

### Tool surface — `MCP_TOOL_MODE`

Set `MCP_TOOL_MODE` (in the shared `~/.config/agent-utilities/config.json` or env) to choose the surface:

- `condensed` (default) — the action-routed tools below (`servicenow_(action, params_json)`).
- `verbose` — one named, documented 1:1 tool per API method (`servicenow_get_cmdb_instance(...)`), tagged `verbose`.
- `both` — register both sets.

Filter the verbose set with `--tools tag:verbose` / `MCP_ENABLED_TAGS=verbose`. See the
agent-utilities guide *MCP Tool Modes* for details.

### Available MCP Tools

The table below is auto-generated from the MCP server — do not edit by hand.

#### Condensed action-routed tools (default — `MCP_TOOL_MODE=condensed`)

| MCP Tool | Toggle Env Var | Description |
|----------|----------------|-------------|
| `ingest_incidents_to_kg` | `MISCTOOL` | Manage ingest incidents to kg operations. |
| `servicenow_account` | `ACCOUNTTOOL` | Manage servicenow account operations. |
| `servicenow_activity_subscriptions` | `ACTIVITY_SUBSCRIPTIONSTOOL` | Manage servicenow activity subscriptions operations. |
| `servicenow_aggregate` | `AGGREGATETOOL` | Manage servicenow aggregate operations. |
| `servicenow_application` | `APPLICATIONTOOL` | Manage servicenow application operations. |
| `servicenow_attachment` | `ATTACHMENTTOOL` | Manage servicenow attachment operations. |
| `servicenow_auth` | `AUTHTOOL` | Manage servicenow auth operations. |
| `servicenow_batch` | `BATCHTOOL` | Manage servicenow batch operations. |
| `servicenow_change_management` | `CHANGE_MANAGEMENTTOOL` | Manage servicenow change management operations. |
| `servicenow_cicd` | `CICDTOOL` | Manage servicenow cicd operations. |
| `servicenow_cilifecycle` | `CILIFECYCLETOOL` | Manage servicenow cilifecycle operations. |
| `servicenow_cmdb` | `CMDBTOOL` | Manage servicenow cmdb operations. |
| `servicenow_custom_api` | `CUSTOM_APITOOL` | Manage servicenow custom api operations. |
| `servicenow_data_classification` | `DATA_CLASSIFICATIONTOOL` | Manage servicenow data classification operations. |
| `servicenow_devops` | `DEVOPSTOOL` | Manage servicenow devops operations. |
| `servicenow_email` | `EMAILTOOL` | Manage servicenow email operations. |
| `servicenow_flows` | `FLOWSTOOL` | Manage servicenow flows operations. |
| `servicenow_hr` | `HRTOOL` | Manage servicenow hr operations. |
| `servicenow_import_sets` | `IMPORT_SETSTOOL` | Manage servicenow import sets operations. |
| `servicenow_incidents` | `INCIDENTSTOOL` | Manage servicenow incidents operations. |
| `servicenow_knowledge_management` | `KNOWLEDGE_MANAGEMENTTOOL` | Manage servicenow knowledge management operations. |
| `servicenow_metricbase` | `METRICBASETOOL` | Manage servicenow metricbase operations. |
| `servicenow_plugins` | `PLUGINSTOOL` | Manage servicenow plugins operations. |
| `servicenow_ppm` | `PPMTOOL` | Manage servicenow ppm operations. |
| `servicenow_product_inventory` | `PRODUCT_INVENTORYTOOL` | Manage servicenow product inventory operations. |
| `servicenow_service_qualification` | `SERVICE_QUALIFICATIONTOOL` | Manage servicenow service qualification operations. |
| `servicenow_source_control` | `SOURCE_CONTROLTOOL` | Manage servicenow source control operations. |
| `servicenow_table_api` | `TABLE_APITOOL` | Manage servicenow table api operations. |
| `servicenow_testing` | `TESTINGTOOL` | Manage servicenow testing operations. |
| `servicenow_update_sets` | `UPDATE_SETSTOOL` | Manage servicenow update sets operations. |

#### Verbose 1:1 API-mapped tools (`MCP_TOOL_MODE=verbose` or `both`)

119 per-operation tools — one per public API method (click to expand)

| MCP Tool | Toggle Env Var | Description |
|----------|----------------|-------------|
| `servicenow_activate_plugin` | `DEVOPSTOOL` | Activate a plugin based on the provided plugin_id. |
| `servicenow_add_ci_lifecycle_action` | `CMDBTOOL` | Adds a specified CI action to a specified list of CIs. |
| `servicenow_add_table_record` | `SYSTEMTOOL` | Add a new record to the specified table. |
| `servicenow_api_request` | `SYSTEMTOOL` | Invoke the api_request operation. |
| `servicenow_app_repo_install` | `DEVOPSTOOL` | Install an application from the repository based on the provided parameters. |
| `servicenow_app_repo_publish` | `DEVOPSTOOL` | Publish an application to the repository based on the provided parameters. |
| `servicenow_app_repo_rollback` | `DEVOPSTOOL` | Rollback an application in the repository based on the provided parameters. |
| `servicenow_apply_remote_source_control_changes` | `OTHERTOOL` | Apply remote source control changes based on the provided parameters. |
| `servicenow_approve_change_request` | `CHANGETOOL` | Approve or reject a change request. |
| `servicenow_batch_install` | `OTHERTOOL` | Initiate a batch installation with the provided parameters. |
| `servicenow_batch_install_result` | `OTHERTOOL` | Get the result of a batch installation based on the provided result ID. |
| `servicenow_batch_request` | `OTHERTOOL` | Sends multiple REST API requests in a single call. |
| `servicenow_batch_rollback` | `OTHERTOOL` | Rollback a batch installation based on the provided rollback ID. |
| `servicenow_calculate_standard_change_request_risk` | `CHANGETOOL` | Calculate and update the risk of a standard change request. |
| `servicenow_check_change_request_conflict` | `CHANGETOOL` | Check for conflicts in a change request. |
| `servicenow_check_ci_lifecycle_compat_actions` | `CMDBTOOL` | Determines whether two specified CI actions are compatible. |
| `servicenow_check_ci_lifecycle_lease_expired` | `CMDBTOOL` | Determines whether the lease has expired for the requester. |
| `servicenow_check_ci_lifecycle_not_allowed_action` | `CMDBTOOL` | Determines whether a specified CI action is not allowed. |
| `servicenow_check_ci_lifecycle_not_allowed_ops_transition` | `CMDBTOOL` | Determines whether an operational state transition is allowed. |
| `servicenow_check_ci_lifecycle_requestor_valid` | `CMDBTOOL` | Determines whether the specified user is a valid requester. |
| `servicenow_check_devops_change_control` | `DEVOPSTOOL` | Checks if the orchestration task is under change control. |
| `servicenow_check_devops_step_mapping` | `DEVOPSTOOL` | Verifies that the information being passed is valid for the creation of an orchestration task. |
| `servicenow_check_service_qualification` | `OTHERTOOL` | Creates a technical service qualification request. |
| `servicenow_collect_graph_for_roots` | `CMDBTOOL` | Invoke the collect_graph_for_roots operation. |
| `servicenow_combo_suite_scan` | `OTHERTOOL` | Initiate a suite scan for a combo based on the provided combo_sys_id. |
| `servicenow_create_change_request` | `CHANGETOOL` | Create a new change request. |
| `servicenow_create_change_request_ci_association` | `CHANGETOOL` | Create associations between a change request and configuration items (CIs). |
| `servicenow_create_change_request_task` | `CHANGETOOL` | Create a new task associated with a change request. |
| `servicenow_create_cmdb_instance` | `CMDBTOOL` | Creates a single configuration item (CI). |
| `servicenow_create_cmdb_relation` | `CMDBTOOL` | Adds an inbound and/or outbound relation to the specified CI. |
| `servicenow_create_incident` | `INCIDENTTOOL` | Create a new incident record. |
| `servicenow_delete_attachment` | `OTHERTOOL` | Invoke the delete_attachment operation. |
| `servicenow_delete_change_request` | `CHANGETOOL` | Delete a change request. |
| `servicenow_delete_change_request_conflict_scan` | `CHANGETOOL` | Delete conflict scan information associated with a change request. |
| `servicenow_delete_change_request_task` | `CHANGETOOL` | Delete a task associated with a change request. |
| `servicenow_delete_ci_lifecycle_action` | `CMDBTOOL` | Removes a configuration item (CI) action for a list of CIs. |
| `servicenow_delete_cmdb_relation` | `CMDBTOOL` | Deletes the relation for the specified configuration item (CI). |
| `servicenow_delete_product_inventory` | `OTHERTOOL` | Deletes a specified product inventory record. |
| `servicenow_delete_table_record` | `SYSTEMTOOL` | Delete a record from the specified table. |
| `servicenow_extend_ci_lifecycle_lease` | `CMDBTOOL` | Extends the specified CI action's lease expiration time. |
| `servicenow_full_scan` | `OTHERTOOL` | Initiate a full instance scan. |
| `servicenow_get_account` | `OTHERTOOL` | Invoke the get_account operation. |
| `servicenow_get_activity_subscriptions` | `OTHERTOOL` | Invoke the get_activity_subscriptions operation. |
| `servicenow_get_application` | `OTHERTOOL` | Get information about an application. |
| `servicenow_get_attachment` | `OTHERTOOL` | Invoke the get_attachment operation. |
| `servicenow_get_change_request` | `CHANGETOOL` | Retrieve details of a specific change request. |
| `servicenow_get_change_request_ci` | `CHANGETOOL` | Retrieve the configuration item (CI) associated with a change request. |
| `servicenow_get_change_request_conflict` | `CHANGETOOL` | Retrieve conflict information associated with a change request. |
| `servicenow_get_change_request_models` | `CHANGETOOL` | Retrieve change request models based on specified parameters. |
| `servicenow_get_change_request_nextstate` | `CHANGETOOL` | Retrieve the next state of a specific change request. |
| `servicenow_get_change_request_schedule` | `CHANGETOOL` | Retrieve the schedule of a change request based on CI sys ID. |
| `servicenow_get_change_request_tasks` | `CHANGETOOL` | Retrieve tasks associated with a specific change request. |
| `servicenow_get_change_request_worker` | `CHANGETOOL` | Retrieve details of a change request worker. |
| `servicenow_get_change_requests` | `CHANGETOOL` | Retrieve change requests based on specified parameters. |
| `servicenow_get_ci_lifecycle_active_actions` | `CMDBTOOL` | Returns a list of active CI actions for the specified CI. |
| `servicenow_get_ci_lifecycle_status` | `CMDBTOOL` | Returns the current operational state for the specified CI. |
| `servicenow_get_cmdb` | `CMDBTOOL` | Get Configuration Management Database (CMDB) information based on specified parameters. |
| `servicenow_get_cmdb_instance` | `CMDBTOOL` | Returns attributes and relationship information for a specified CI record. |
| `servicenow_get_cmdb_instances` | `CMDBTOOL` | Returns the available configuration items (CI) for a specified CMDB class. |
| `servicenow_get_data_classification` | `OTHERTOOL` | Invoke the get_data_classification operation. |
| `servicenow_get_devops_change_info` | `DEVOPSTOOL` | Retrieves change request details for a specified orchestration pipeline execution. |
| `servicenow_get_devops_code_schema` | `DEVOPSTOOL` | Returns the schema object for a specified code resource. |
| `servicenow_get_devops_onboarding_status` | `DEVOPSTOOL` | Returns the current status of the specified onboarding event. |
| `servicenow_get_devops_orchestration_schema` | `DEVOPSTOOL` | Returns the schema object for a specified orchestration resource. |
| `servicenow_get_devops_plan_schema` | `DEVOPSTOOL` | Returns the schema object for a specific plan. |
| `servicenow_get_featured_knowledge_article` | `KNOWLEDGETOOL` | Get featured Knowledge Base articles. |
| `servicenow_get_flow_metadata` | `SYSTEMTOOL` | Fetch rich metadata for any flow/subflow. |
| `servicenow_get_hr_profile` | `OTHERTOOL` | Invoke the get_hr_profile operation. |
| `servicenow_get_import_set` | `OTHERTOOL` | Get details of a specific import set record. |
| `servicenow_get_incident` | `INCIDENTTOOL` | Retrieve details of a specific incident record. |
| `servicenow_get_incidents` | `INCIDENTTOOL` | Retrieve details of incident records. |
| `servicenow_get_knowledge_article` | `KNOWLEDGETOOL` | Get Knowledge Base article. |
| `servicenow_get_knowledge_article_attachment` | `KNOWLEDGETOOL` | Get Knowledge Base article attachment. |
| `servicenow_get_knowledge_articles` | `KNOWLEDGETOOL` | Get all Knowledge Base articles. |
| `servicenow_get_most_viewed_knowledge_articles` | `KNOWLEDGETOOL` | Get most viewed Knowledge Base articles. |
| `servicenow_get_product_inventory` | `OTHERTOOL` | Retrieves a list of all product inventories. |
| `servicenow_get_service_qualification` | `OTHERTOOL` | Retrieves a technical qualification request by ID or list all. |
| `servicenow_get_standard_change_request_model` | `CHANGETOOL` | Retrieve details of a standard change request model. |
| `servicenow_get_standard_change_request_template` | `CHANGETOOL` | Retrieve details of a standard change request template. |
| `servicenow_get_standard_change_request_templates` | `CHANGETOOL` | Retrieve standard change request templates based on specified parameters. |
| `servicenow_get_stats` | `SYSTEMTOOL` | Invoke the get_stats operation. |
| `servicenow_get_table` | `SYSTEMTOOL` | Get records from the specified table based on provided parameters. |
| `servicenow_get_table_record` | `SYSTEMTOOL` | Get a specific record from the specified table. |
| `servicenow_import_repository` | `DEVOPSTOOL` | Import a repository based on the provided parameters. |
| `servicenow_ingest_cmdb_data` | `CMDBTOOL` | Inserts records into the Import Set table associated with the data source. |
| `servicenow_insert_cost_plans` | `OTHERTOOL` | Creates cost plans. |
| `servicenow_insert_import_set` | `OTHERTOOL` | Insert a new record into the specified import set. |
| `servicenow_insert_multiple_import_sets` | `OTHERTOOL` | Insert multiple records into the specified import set. |
| `servicenow_insert_project_tasks` | `OTHERTOOL` | Creates a project and associated project tasks. |
| `servicenow_instance_scan_progress` | `OTHERTOOL` | Get progress information for an instance scan based on the provided progress ID. |
| `servicenow_metricbase_insert` | `OTHERTOOL` | Invoke the metricbase_insert operation. |
| `servicenow_patch_cmdb_instance` | `CMDBTOOL` | Replaces attributes in the specified CI record (PATCH). |
| `servicenow_patch_table_record` | `SYSTEMTOOL` | Partially update a record in the specified table. |
| `servicenow_point_scan` | `OTHERTOOL` | Initiate a point instance scan based on the provided parameters. |
| `servicenow_process_service_qualification_result` | `OTHERTOOL` | Processes a technical service qualification result. |
| `servicenow_progress` | `OTHERTOOL` | Get progress information based on the provided progress ID. |
| `servicenow_refresh_auth_token` | `SYSTEMTOOL` | Refresh the authentication token |
| `servicenow_refresh_change_request_impacted_services` | `CHANGETOOL` | Refresh impacted services

…

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [Knuckles-Team](https://github.com/Knuckles-Team)
- **Source:** [Knuckles-Team/servicenow-api](https://github.com/Knuckles-Team/servicenow-api)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** yes
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** yes
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-knuckles-team-servicenow-api
- Seller: https://agentstack.voostack.com/s/knuckles-team
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
