servicenow
Connects Claude Desktop directly to a ServiceNow instance for incident management, service catalog, workflow tools, and AI-powered smart incidents and KB generation using Gemini.
README
ServiceNow MCP Server with Gemini AI
A powerful Model Context Protocol (MCP) server that connects Claude Desktop directly to your ServiceNow instance. It includes standard tools for record management and AI-powered "Smart" tools using Gemini 1.5 Flash.
🚀 Features
- Incident Management: Create and track incidents.
- Service Catalog: Create Record Producers, Variable Sets, and Variables.
- Workflow Tools: Automate creation of Client Scripts, Business Rules, and SLA Definitions.
- Gemini AI Integration:
smart_incident: Automatically extracts ticket details from messy logs or chat transcripts.smart_kb_generator: Turns rough notes into professional HTML Knowledge Base articles.
🛠️ Setup
1. Prerequisites
- Python 3.12+
- A ServiceNow Developer Instance
- A Google Gemini API Key
2. Installation
Clone the repository and install dependencies:
pip install -e .
3. Environment Configuration
Create a .env file in the root directory:
SERVICENOW_INSTANCE=https://devXXXXX.service-now.com
SERVICENOW_USERNAME=admin
SERVICENOW_PASSWORD=your_password
GEMINI_API_KEY=your_gemini_api_key
🤖 Claude Desktop Configuration
To use this with Claude Desktop, add the following to your claude_desktop_config.json (typically found in %APPDATA%\Claude\):
{
"mcpServers": {
"servicenow": {
"command": "python",
"args": [
"-u",
"C:/Arun/Projects/mcp-server-servicenow/main.py"
]
}
}
}
Note: Ensure the path to main.py is absolute and uses forward slashes /.
📖 Usage Examples
Manual Incident
"Create a high priority incident for the production database being unreachable."
AI-Powered (Smart) Incident
"Based on this chat log [Copy/Paste Log], create a smart incident in ServiceNow."
Knowledge Base Generation
"Turn these bullet points into a KB article for end users: [Your Notes]"
📂 Project Structure
server.py: Core configuration and ServiceNow API client.main.py: Tool implementations and MCP server entry point.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.