インストール不要。2分以内に動きます。
cloud.anythingmcp.com で無料トライアルを開始し、ServiceNow をワンクリックで追加して、AI クライアント(Claude、ChatGPT、Copilot、Cursor)を生成された MCP エンドポイントに向けるだけ。Docker も git clone も、開発経験も不要です。
AnythingMCP は Claude のコネクタディレクトリに掲載されています。ワンクリックで Claude に追加 (新しいタブで開きます)し、サインインして Claude が使える MCP サーバーを選んでください。
概要
AI から ServiceNow ITSM で作業できます。インシデントの検索、起票、更新、解決、クローズ、変更リクエストと問題の処理、サービスカタログのリクエストの追跡とアイテムの注文、ナレッジベースの検索、ユーザー、グループ、CMDB の構成アイテムの参照、任意のテーブルへのクエリに対応しています。
こう聞いてみよう
ServiceNow のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → ServiceNow をクリック、認証情報を貼り付け、MCP API キーを発行すれば完了です。Docker も
git cloneもローカルサーバーも不要。
ServiceNow + Claude
AI から ServiceNow ITSM で作業できます。インシデントの検索、起票、更新、解決、クローズ、変更リクエストと問題の処理、サービスカタログのリクエストの追跡とアイテムの注文、ナレッジベースの検索、ユーザー、グループ、CMDB の構成アイテムの参照、任意のテーブルへのクエリに対応しています。
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
SERVICENOW_INSTANCE, SERVICENOW_USERNAME, SERVICENOW_PASSWORD
ステップ 1 — 認証情報を取得
ServiceNow の管理者が一度だけ設定します。所要時間は約 10 分です。試すだけなら、https://developer.servicenow.com の無料のパーソナル開発者インスタンスで十分です。
- 連携用ユーザーを作成します。User Administration → Users → New を開き、ユーザー ID と強力なパスワードを設定して Web service access only にチェックを入れます(このユーザーは UI にサインインできません)。Password needs reset はオフのままにしてください。オンだと最初の呼び出しが失敗します。
- 作業に必要なロールをユーザーに付与します。
itilは、インシデント、問題、変更リクエスト、リクエスト、リクエストアイテム、カタログタスクの読み書きと、CMDB の読み取りができます。snc_platform_rest_api_accessは、インスタンスが REST アクセスをこのロールに制限している場合(REST API アクセスポリシー)にのみ必要です。- ナレッジ記事は、ナレッジベースのユーザー条件が許す範囲で読み取れます。
knowledgeロールは記事を書く場合にのみ必要です。 - 読み取り専用のコネクターにするには、
itilに加えてsnc_read_onlyを付与します。これでインスタンスがすべての書き込みを拒否します。adminは使わないでください。
SERVICENOW_INSTANCEにはインスタンス名だけを設定し(https://dev123456.service-now.comならdev123456)、SERVICENOW_USERNAMEとSERVICENOW_PASSWORDには連携用ユーザーを設定します。コネクターをインストールすると Basic 認証でサインインし、インストール時のチェックでインシデントが 1 件表示されます。
ACL は引き続き適用されます: ユーザーが参照・変更できるのは、インスタンスの ACL が許可する範囲だけです。読み取りが許可されていないレコードはエラーになるのではなく、一覧から除外されます。そのため、一覧が予想外に空の場合は、たいてい ACL が原因です。ドメイン分離を使っている場合は、ユーザーのドメインが原因のこともあります。
パスワードの代わりに OAuth: インスタンスで System OAuth → Application Registry → New → Create an OAuth API endpoint for external clients を開き、リダイレクト URL を https://cloud.anythingmcp.com/api/mcp-oauth/callback(セルフホストの場合は <your AnythingMCP URL>/api/mcp-oauth/callback)に設定して保存します。AnythingMCP でコネクターを開き、Authentication を OAuth 2.0 に切り替えて、クライアント ID とシークレット、認可 URL https://<instance>.service-now.com/oauth_auth.do、トークン URL https://<instance>.service-now.com/oauth_token.do を入力します。保存したら Authorize with Provider をクリックします。ここでサインインした人が、コネクターを使う全員にとっての ServiceNow ユーザーになり、その人のロールが適用されます。リフレッシュトークンの有効期間はデフォルトで 100 日です。期限が切れたら再度認可してください。多要素サインインのアカウントには OAuth が必要です。Basic 認証では 2 つ目の要素に応答できないためです。
対応範囲: インシデント(起票、更新、作業メモや顧客向けコメントの追加、解決、クローズ)、変更リクエスト、問題、サービスカタログのリクエストと注文フォームの回答を含むリクエストアイテム、カタログアイテムの注文、ナレッジ検索、ユーザー、グループとそのメンバー、関係を含む CMDB の構成アイテム、添付ファイル、そのほかユーザーが読み取れる任意のテーブルに対応し、任意のフィールドでグループ化した件数も取得できます。
まず確認: 書き込みを行うツールはすべてその旨を明示し、AI は変更内容を示してあなたの承認を待ちます。顧客向けコメントは通常、発信者にメールで送られます。書き込みは UI での変更とまったく同じように、ビジネスルール、ワークフロー、SLA、通知を実行し、連携用ユーザーの名前で記録されます。servicenow_delete_record はインストール時はオフです。
フィルター: 一覧系のツールは、active=true^priority=1^assignment_group.name=Service Desk のような ServiceNow のエンコードクエリを受け付けます。いちばん簡単なのは UI から取得する方法です。一覧をフィルターし、ブレッドクラムを右クリックして Copy query を選びます。一覧はデフォルトで 20 件、1 回の呼び出しで最大 1,000 件を返します。
よくあるエラー: 401 は、ユーザー名またはパスワードの誤り、ロックされたか無効なユーザー、または OAuth 認可の期限切れを意味します。403 Failed API level ACL Validation または Insufficient rights は、ユーザーにロールや ACL が不足しているか、REST アクセスポリシーが呼び出しをブロックしています。404 No Record found は、そのテーブルにレコードが存在しないか、ACL によって非表示になっています。スリープ状態になったパーソナル開発者インスタンスは、復帰用のページを返します。developer.servicenow.com で一度開いてください。
カスタムドメイン: 独自のホスト名で提供されているインスタンスでは、コネクター設定のベース URL を https://<host>/api に変更する必要があります。
ステップ 2 — アダプターをインストール
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
ステップ 3 — Claude にコネクタを追加
サーバーURL: AnythingMCP で MCP Servers を開き、このコネクタがあるサーバーを選んで URL(
https://cloud.anythingmcp.com/mcp/…)をコピーします。このガイドでYOUR_SERVER_IDと表示されている箇所に使ってください。
推奨ルート:設定ファイルを触らずに claude.ai web で動作します。
- Claude で Customize → Connectors を開きます。
- + をクリックし、Add custom connector を選びます。
- 名前(例:
ServiceNow)とリモート MCP サーバー URLhttps://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDを入力し、Add をクリックします。 - Connect をクリックし、AnythingMCP にサインイン(OAuth)してアクセスを許可します。
下記のすべてのツールがチャットに表示されます。プロンプトを入力し始めてください。
利用可能なツール
| Tool | What it does |
|---|---|
servicenow_list_incidents | List incidents from the incident table, newest first by default |
servicenow_get_incident | Read one incident by its number (INC0010023) with all its fields, including sys_id, which the update tools need |
servicenow_create_incident | Open a new incident. short_description is required; impact and urgency (1 High, 2 Medium, 3 Low) set the priority |
servicenow_update_incident | Change fields of an incident by sys_id (from servicenow_get_incident): reassign, change state, impact or urgency, put on hold (state 3… |
servicenow_add_note | Add a work note (internal, fulfillers only) or an additional comment (visible to the caller or requester, and usually e-mailed to them) to… |
servicenow_resolve_incident | Resolve an incident: sets state 6 (Resolved) with the resolution code (close_code) and resolution notes (close_notes), which ServiceNow… |
servicenow_close_incident | Close an incident: sets state 7 (Closed) with the resolution code (close_code) and resolution notes (close_notes), which ServiceNow… |
servicenow_list_change_requests | List change requests from the change_request table, newest first by default |
servicenow_get_change_request | Read one change request by its number (CHG0030001) with all its fields, including sys_id, which the update tools need |
servicenow_create_change_request | Create a change request (type normal or emergency) in state New |
servicenow_update_change_request | Change fields of a change request by sys_id: plans, planned window, assignment, risk, or the state (-5 New, -4 Assess, -3 Authorize, -2… |
servicenow_list_problems | List problems from the problem table, newest first by default |
servicenow_get_problem | Read one problem by its number (PRB0040001) with all its fields, including sys_id, which the update tools need |
servicenow_create_problem | Open a problem record for the root cause behind one or more incidents |
servicenow_update_problem | Change fields of a problem by sys_id: assignment, root cause (cause_notes), fix (fix_notes), workaround, known_error, or the state (101… |
servicenow_list_requests | List service catalog requests (REQ numbers) from the sc_request table, newest first by default |
servicenow_list_requested_items | List requested items (RITM numbers, one per ordered catalog item) from the sc_req_item table, newest first by default |
servicenow_get_requested_item | Read one requested item by its number (RITM0010001) with all its fields, including sys_id, which the update tools need |
servicenow_get_requested_item_variables | Read the variables (the questions of the catalog form and the requester's answers) of one requested item by its sys_id |
servicenow_search_catalog_items | Search the service catalog for items the integration user may order ("laptop", "VPN access", "new hire") |
servicenow_get_catalog_item | Read one catalog item by sys_id with its order form: variables (name, label, type, mandatory, choices), price and description |
servicenow_order_catalog_item | Order a catalog item right away (Order Now): creates a request (REQ) with a requested item (RITM) and starts its approvals and fulfilment… |
servicenow_search_knowledge | Search knowledge articles by keywords with ServiceNow's text index (the same search as the knowledge portal, on title and body) |
servicenow_get_knowledge_article | Read one knowledge article by its number (KB0010001): title, body (text, HTML), knowledge base, category, author, state and validity |
servicenow_find_users | Find active users by part of their name, e-mail or user ID |
servicenow_find_groups | Find active groups (assignment groups, approval groups) by part of their name |
servicenow_list_group_members | List the members of a group by the group's sys_id (from servicenow_find_groups): user sys_id, name, user ID and e-mail |
servicenow_find_configuration_items | Find configuration items (servers, applications, network gear, services) in the CMDB by part of their name, IP address, FQDN or serial… |
servicenow_get_configuration_item | Read one configuration item with the CMDB Instance API: all its attributes plus its outbound and inbound relationships (Runs on, Depends… |
servicenow_query_table | Query any table the integration user may read with the Table API: sysparm_query (encoded query), sysparm_fields, sysparm_limit… |
servicenow_get_record | Read one record of any table by sys_id, with all fields or the ones given |
servicenow_count_records | Count records with the Aggregate API instead of fetching them, optionally grouped by a field: open incidents per assignment group, changes… |
servicenow_list_choices | List the allowed values of a choice field on this instance (sys_choice): state, close_code, category, subcategory, hold_reason, impact… |
servicenow_update_record | Change fields of any record by table and sys_id with a PATCH (only the fields given change), e.g. close a catalog task (sc_task state 3) or… |
servicenow_delete_record | Delete a record of any table by sys_id |
servicenow_list_attachments | List the files attached to a record (any table): file_name, content_type, size_bytes, sys_id, created on and by, and download_link |
プロンプトの例
- 「Service Desk グループに割り当てられた、未解決の優先度 1 のインシデントを古い順にすべて表示してください。」
- 「ミュンヘンオフィスの VPN 障害についてインシデントを起票し、影響度は高、緊急度は中にして、Network Operations に割り当ててください。」
- 「現在、各アサインメントグループには未解決のインシデントが何件ありますか?」
- 「MFA デバイスをリセットする方法をナレッジベースで検索し、手順を要約してください。」
FAQ
Claude Code は Claude Desktop と同じように動作しますか? はい。両方を https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID に向けてください。
次のステップ
このガイドは役に立ちましたか?