ServiceNow MCP Server
A Model Context Protocol (MCP) server that interfaces with ServiceNow, allowing AI agents to access and manipulate ServiceNow data through a secure API. This server enables natural language interactions with ServiceNow, making it easier to search for records, update them, and manage scripts.
Features
Resources
servicenow://incidents
: List recent incidentsservicenow://incidents/{number}
: Get a specific incident by numberservicenow://users
: List usersservicenow://knowledge
: List knowledge articlesservicenow://tables
: List available tablesservicenow://tables/{table}
: Get records from a specific tableservicenow://schema/{table}
: Get the schema for a table
Tools
Basic Tools
create_incident
: Create a new incidentupdate_incident
: Update an existing incidentsearch_records
: Search for records using text queryget_record
: Get a specific record by sys_idperform_query
: Perform a query against ServiceNowadd_comment
: Add a comment to an incident (customer visible)add_work_notes
: Add work notes to an incident (internal)
Natural Language Tools
natural_language_search
: Search for records using natural language (e.g., "find all incidents about SAP")natural_language_update
: Update records using natural language (e.g., "Update incident INC0010001 saying I'm working on it")update_script
: Update ServiceNow script files (script includes, business rules, etc.)
Installation
From PyPI
From Source
Usage
Command Line
Run the server using the Python module:
Or use environment variables:
Configuration in Cline
To use this MCP server with Cline, add the following to your MCP settings file:
Note: Make sure to use the full path to the Python executable that has the mcp-server-servicenow
package installed.
Natural Language Examples
Searching Records
You can search for records using natural language queries:
Updating Records
You can update records using natural language commands:
Managing Scripts
You can update ServiceNow scripts from local files:
Authentication Methods
The server supports multiple authentication methods:
- Basic Authentication: Username and password
- Token Authentication: OAuth token
- OAuth Authentication: Client ID, Client Secret, Username, and Password
Development
Prerequisites
- Python 3.8+
- ServiceNow instance with API access
Setting Up Development Environment
Running Tests
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
AI エージェントが自然言語による対話を通じて ServiceNow データにアクセスして操作できるようにするモデル コンテキスト プロトコル サーバー。これにより、ユーザーはレコードの検索、更新、スクリプトの管理が可能になります。
Related Resources
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol server that enables AI assistants to interact with n8n workflows through natural language, supporting actions like listing, creating, updating, executing and monitoring workflows.Last updated -3201,095TypeScriptMIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that enables AI agents to generate, fetch, and manage UI components through natural language interactions.Last updated -36194TypeScript
CodeAlive MCPofficial
-securityAlicense-qualityA Model Context Protocol server that enhances AI agents by providing deep semantic understanding of codebases, enabling more intelligent interactions through advanced code search and contextual awareness.Last updated -47PythonMIT License- -securityFlicense-qualityA Model Context Protocol server that enables AI agents to interact with n8n workflows and automation tools through a standardized interface, allowing execution of workflows and access to n8n functions.Last updated -Python