MS

michaelbuckner/servicenow-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

48 stars 26 forks 品質 66 トレンド 13MIT

michaelbuckner/servicenow-mcp は [https://github.com/michaelbuckner/servicenow-mcp.] からインポートされた MCP サーバーの候補です

概要

michaelbuckner/servicenow-mcp は [https://github.com/michaelbuckner/servicenow-mcp.] からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

ServiceNow とインターフェイスするモデルコンテキストプロトコル(MCP)サーバーで、AI エージェントが安全な API を介して ServiceNow データをアクセスおよび操作できるようにします。 このサーバは、ServiceNowで自然言語のインタラクションを可能にし、レコードを検索し、それらを更新し、スクリプトの管理を容易にします。

##特徴

リソース

  • [servicenow://users: ユーザリスト

ツール

####基本ツール

  • [update_incident: 既存のインシデントを更新
  • [get_record: sys id で特定のレコードを取得する
  • [perform_query: ServiceNow に対するクエリを実行する
  • [add_comment: インシデントにコメントを追加する(顧客可視)
  • [add_work_notes: インシデント(内部)にメモを追加
自然言語ツール

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

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 incidents
  • servicenow://incidents/{number}: Get a specific incident by number
  • servicenow://users: List users
  • servicenow://knowledge: List knowledge articles
  • servicenow://tables: List available tables
  • servicenow://tables/{table}: Get records from a specific table
  • servicenow://schema/{table}: Get the schema for a table

Tools

Basic Tools

  • create_incident: Create a new incident
  • update_incident: Update an existing incident
  • search_records: Search for records using text query
  • get_record: Get a specific record by sys_id
  • perform_query: Perform a query against ServiceNow
  • add_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

pip install mcp-server-servicenow

From Source

git clone https://github.com/michaelbuckner/servicenow-mcp.git
cd servicenow-mcp
pip install -e .

Usage

Command Line

Run the server using the Python module:

python -m mcp_server_servicenow.cli --url "https://your-instance.service-now.com/" --username "your-username" --password "your-password"

Or use environment variables:

export SERVICENOW_INSTANCE_URL="https://your-instance.service-now.com/"
export SERVICENOW_USERNAME="your-username"
export SERVICENOW_PASSWORD="your-password"
python -m mcp_server_servicenow.cli

Configuration in Cline

To use this MCP server with Cline, add the following to your MCP settings file:

{
  "mcpServers": {
    "servicenow": {
      "command": "/path/to/your/python/executable",
      "args": [
        "-m",
        "mcp_server_servicenow.cli",
        "--url", "https://your-instance.service-now.com/",
        "--username", "your-username",
        "--password", "your-password"
      ],
      "disabled": false,
      "autoApprove": []
    }
  }
}

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:

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "servicenow": { "command": "/path/to/your/python/executable", "args": [ "-m", "mcp_server_servicenow.cli", "--url", "https://your-instance.service-now.com/", "--username", "your-username", "--password", "your-password" ], "disabled": false, "autoApprove": [] } } }