プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。プロトタイプ · 30分ごとに更新
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

OnlyFlows ServiceNow MCP

作者:onlyflowstechバージョン 2.3.0i★ 13iパソコンで動くリポジトリ ↗
レジストリ名io.github.onlyflowstech/servicenow-mcp

インストール方法

What it does

Governed ServiceNow MCP: per-profile table and field policy, dry-run batches, activity events.

  • Connects パソコンで動く
  • Account or key No key needed
  • Category その他

この順位の理由

一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり

人気28/80GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます
新しさ12/1230 日以内のリリースかコード更新で満点
応答中0/8前回の確認でクラウドのエンドポイントが応答
利用スコア40/100

品質: 基本チェック 3/3 項目に合格(表示のみ、並び順には不使用) · 勢い: 86 (「急上昇」タブでのみ使用)

インストール

使っているAIアプリを選んで、設定をコピーしてください。

ひとことで AI にインストールしてもらう

OnlyFlows ServiceNow MCP をインストールして。https://mcp.popnx.com/i/onlyflowstech-servicenow-mcp.md に従い、コマンドを見せて、私が OK するまで実行しないで。

パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る

チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月17日

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません

AI にインストールしてもらう

このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude に MCP server OnlyFlows ServiceNow MCP を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "servicenow": { "command": "npx", "args": [ "-y", "@onlyflows/servicenow-mcp" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、OnlyFlows ServiceNow MCP のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. パソコン版 Claude アプリの設定ファイルを開く

    SettingsDeveloperEdit Config

  3. この設定を貼り付けて保存

    {
      "mcpServers": {
        "servicenow": {
          "command": "npx",
          "args": [
            "-y",
            "@onlyflows/servicenow-mcp"
          ]
        }
      }
    }
  4. Claude を終了してもう一度開く

  5. 試してみる

    OnlyFlows ServiceNow MCP を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が OnlyFlows ServiceNow MCP を使っていると言うか、回答に OnlyFlows ServiceNow MCP のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT はまだ OnlyFlows ServiceNow MCP につなげません

OnlyFlows ServiceNow MCP はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません

代わりにできること

A · OnlyFlows ServiceNow MCP につなげるアプリを使う

  • 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
  • 先にパソコンへ Node.js を入れてください(1 回だけ)
  • 先にパソコンへ Node.js を入れてください(1 回だけ)
  • 先にパソコンへ Node.js を入れてください(1 回だけ)

B · その他 の中で ChatGPT につなげる別のサーバー

同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました

Claude Code につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude Code に MCP server OnlyFlows ServiceNow MCP を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user servicenow -- npx -y @onlyflows/servicenow-mcp 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、OnlyFlows ServiceNow MCP のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く

  3. このコマンドを貼り付けて Enter

    claude mcp add --scope user servicenow -- npx -y @onlyflows/servicenow-mcp
  4. Claude Code で /mcp と入力

    OnlyFlows ServiceNow MCP が一覧にあり、接続済みと表示されれば OK です

  5. 試してみる

    OnlyFlows ServiceNow MCP を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が OnlyFlows ServiceNow MCP を使っていると言うか、回答に OnlyFlows ServiceNow MCP のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Cursor に MCP server OnlyFlows ServiceNow MCP を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "servicenow": { "command": "npx", "args": [ "-y", "@onlyflows/servicenow-mcp" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、OnlyFlows ServiceNow MCP のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. このボタンで Cursor を開く

    Cursor で開く

    Cursor がインストールの確認をするので Install を押します

  3. Cursor の AI チャットを Agent モードで開く

  4. 試してみる

    OnlyFlows ServiceNow MCP を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が OnlyFlows ServiceNow MCP を使っていると言うか、回答に OnlyFlows ServiceNow MCP のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの VS Code に MCP server OnlyFlows ServiceNow MCP を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "servicenow": { "type": "stdio", "command": "npx", "args": [ "-y", "@onlyflows/servicenow-mcp" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、OnlyFlows ServiceNow MCP のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. このボタンで VS Code を開く

    VS Code で開く

    VS Code がインストールの確認をするので Install を押します

  3. VS Code の AI チャットを Agent モードで開く

  4. 試してみる

    OnlyFlows ServiceNow MCP を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が OnlyFlows ServiceNow MCP を使っていると言うか、回答に OnlyFlows ServiceNow MCP のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

JSON 設定は下の「開発者向け」にあります

つまずいたら?OnlyFlows ServiceNow MCP を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

パソコンにインストール

Claude Code

claude mcp add --scope user servicenow -- npx -y @onlyflows/servicenow-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "servicenow": {
      "command": "npx",
      "args": [
        "-y",
        "@onlyflows/servicenow-mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "servicenow": {
      "command": "npx",
      "args": [
        "-y",
        "@onlyflows/servicenow-mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "servicenow": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@onlyflows/servicenow-mcp"
      ]
    }
  }
}

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

ひと目でわかる

週あたりのダウンロードi
1,160/週
接続方法
パソコンで動く
最新バージョンi
2.3.0
カテゴリi
その他
レジストリ公開日i
2026年11月17日
コードの最終更新i
2026年11月17日
作者
onlyflowstech
パッケージ
npm: @onlyflows/servicenow-mcp
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

パソコン上で動かせるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

すべてのアプリと長所・短所 →

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月19日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント onlyflowstech で確認済みです

  • ✓ 合格

    今もメンテナンスされている

    コードの最終更新:一昨日

  • ✓ 合格

    ライセンスがある

    MITを使用

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

公開済みの脆弱性(OSV.dev)

OSV.dev に @onlyflows/servicenow-mcp@2.3.0 の登録はありません

このバージョンのパッケージ本体のみ確認。すべての依存関係ではありません · 確認日 2026年11月17日

確認していること → · JSON

作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける

作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/onlyflowstech-servicenow-mcp.svg)](https://mcp.popnx.com/en/servers/onlyflowstech-servicenow-mcp)

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

ログインして投稿

ユーザーレビュー

まだレビューはありません

ログインしてレビューを書く

その他のほかのサーバーとの比較i

  • このカテゴリのほかの20749件のうち97%よりスターが多い
  • このカテゴリのほかの20749件のうち93%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの20749件のうち99%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

OnlyFlows ServiceNow MCPは安全ですか?

当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は一昨日、最新バージョン(2.3.0)がレジストリに届いたのは一昨日です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu

似た働きのほかの候補

同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.

作者:koala73広く使われている★ 9.1万3 日前更新

クラウドで動く✓ 提供元 · worldmonitor.app

openstatus

Manage monitors, status pages, incidents and maintenances in your openstatus workspace.

作者:openstatusHQ広く使われている★ 92742 か月前更新

クラウドで動く✓ 提供元 · openstatus.dev

Oh My Posh Validator

Validate oh-my-posh configurations and segment snippets against the official schema.

作者:JanDeDobbeleer広く使われている★ 2.4万 リポジトリ全体のスター30 日前更新

クラウドで動く✓ 提供元 · ohmyposh.dev

Strata

MCP server for progressive tool usage at any scale (see https://klavis.ai)

作者:Klavis-AI成長中★ 582514 か月前更新

クラウドで動くリポジトリはアーカイブ済み✓ klavis.ai

Jitsu

Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.

作者:jitsucom広く使われている★ 51364 か月前更新

クラウドで動く✓ 提供元 · jitsu.com
似たものと比べる
これ
OnlyFlows ServiceNow MCP
World MonitoropenstatusOh My Posh ValidatorStrataJitsu
動く場所パソコンにインストールが必要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要
キーが必要いいえいいえいいえいいえいいえいいえ
Claude で + から追加いいえいいえいいえいいえいいえいいえ
基本チェック3/34/44/44/41/44/4
ライセンスMITAGPL-3.0AGPL-3.0MITApache-2.0MIT
料金登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

@onlyflows/servicenow-mcp

A governed ServiceNow MCP server: it lets an AI client read and change records on your instances, within limits you set per connection.

Built by OnlyFlows · Published by @onlyflowstech

Governed and safe for production

The server exposes 24 tools over stdio. Every call runs inside controls that you configure and that no tool of this server can change:

  • Per-profile table and field policy. Each profile (a named ServiceNow connection) has its own read and write table allowlists. Access is deny-by-default: a profile with no rules denies every ServiceNow call. Field policy decides which fields can be read or written; sensitive field names are refused.
  • Confirmation flag on destructive tools. sn_delete and sn_batch change nothing unless the call carries confirm: true. The model sets that flag itself, so it is a guard against accidents, not an approval. A person approves through the client's own tool-approval prompt, and many clients let you "always allow" a tool. sn_create and sn_update take no confirm flag; keep write grants narrow.
  • Safe batching. sn_batch takes a structured filter (no raw encoded queries), runs as a dry run by default, caps a run at 10,000 records, and never re-sends a batch.
  • Activity events. Each completed tool call writes one JSON line to stderr with the tool, profile, instance and outcome, plus hashed owner and client labels. It records no table, record or fields. Delivery is best-effort through stderr, and events are dropped above 256 pending lines. Use ServiceNow's own audit history for record changes.
  • Explicit profile on every call. There is no default or "active" instance. Each call names its profile, so nothing reaches an instance the call didn't name. Keep write grants on production profiles narrow.
  • Credentials stay out of clients. Secrets are entered at a hidden prompt, verified against the instance before anything is saved, and stored encrypted in an owner-only ~/.servicenow-mcp directory.

Limits of these controls. They hold against the model's tool calls. A

client that gives the model a shell or file access (Claude Code and Codex

can) could run servicenow-mcp-setup grant or read

~/.servicenow-mcp/server.env. The encryption key sits in the same

owner-only folder as the encrypted profiles, so it protects against other

users and stray copies of the files, not against your own account. Run

production profiles from a client or account without shell access where you

can.

Details: Table access policy, Safety Features and docs/PRODUCTION-SECURITY.md.

Works with

Any MCP client that can launch a stdio server. Setup registers Claude Code and Codex automatically; Claude Desktop, Cursor, VS Code and Windsurf are configured with servicenow-mcp-setup client --client (see Connecting a client). Requires Node.js 20 or newer.

Quick start

  1. Install: npm install -g @onlyflows/servicenow-mcp
  2. Set up a connection: servicenow-mcp-setup. It asks for your instance and credential, checks them against the instance, asks which tables to allow, and registers Claude Code and Codex if their CLIs are installed. The wizard's authentication type defaults to OAuth client credentials, so you can press Enter at that prompt. You need an Application Registry entry on the instance first: see OAuth 2.0. Basic is still offered, marked legacy, because ServiceNow is retiring it for REST calls.
  3. Open your client and ask. There is no server to start; the client launches servicenow-mcp itself.

The default read grant in the wizard is just `incident`, and writes default to none. Grant more later with servicenow-mcp-setup grant.

Try asking

These work with the default read grant (profile named dev):

  1. "On dev, list the 10 most recent open P1 incidents."
  2. "On dev, how many incidents are there, grouped by priority?"
  3. "On dev, which assignment groups have the most incidents?"
  4. "On dev, which open incidents have no assignee, oldest first?"
  5. "On dev, show incident INC0010001 and summarize where it stands."

Your client sends profile: "dev" with each call. Asking about other tables (for example change_request) is denied until you grant them.


Installation

npm install -g @onlyflows/servicenow-mcp

servicenow-mcp-setup

Run bare on a terminal, servicenow-mcp-setup walks you through the whole thing in one command: it generates the local auth material, asks for your instance and credential, verifies that credential against the instance, asks which tables to grant, writes the profile, and registers any supported client whose CLI is installed. The credential is entered at a hidden prompt — never an argument, never shell history — and nothing is written to the profile until the instance has accepted it, so a typo or a wrong password leaves nothing behind.

ServiceNow MCP setup

This walks through one ServiceNow connection end to end. Nothing is written to the profile until your credential is verified against the instance. Press Ctrl+C at any point to stop; nothing will be saved.

Profile name [dev]: dev ServiceNow instance (for example dev12345.service-now.com): dev12345.service-now.com Authentication:

  1. oauth (default) - client credentials, recommended
  2. apikey - inbound API key
  3. basic - legacy, not recommended: ServiceNow is retiring it

Choice [1]: 1

OAuth client credentials need these on the instance:

  • an Application Registry entry (System OAuth > Application Registry) with a client ID and client secret
  • the client credentials grant enabled for it
  • an OAuth Application User: the integration user this server acts as, with only the roles it needs, not an administrator

Steps: README, section Authentication > OAuth 2.0.

OAuth grant type:

  1. client_credentials (default)
  2. password

Choice [1]: 1 How should the credential be stored?:

  1. encrypted (default)
  2. reference

Choice [1]: 1 OAuth client id (not a secret):

Enter each secret now. Input is hidden — nothing you type from here is displayed. clientSecret:

Verifying against the instance... ok https://dev12345.service-now.com accepted the credential.

Table access is deny-by-default: a profile with no rules denies every tool call. Grant the narrowest set that does the job; you can add more later with servicenow-mcp-setup grant.

Tables to allow for READS:

  1. Just incident (default)
  2. Common ITSM set (incident,change_request,problem,task,sys_user)
  3. All tables (*)
  4. Enter a custom list
  5. None

Choice [1]: 1

Tables to allow for WRITES:

  1. Just incident
  2. Common ITSM set (incident,change_request,problem,task,sys_user)
  3. All tables (*)
  4. Enter a custom list
  5. None (default)

Choice [5]: 1

Wrote profile dev.

Register this server with codex and claude-code? [Y/n]: y

ServiceNow MCP doctor

ok node: v22.11.0 ok server command: servicenow-mcp resolves on PATH; clients spawn it over stdio ok config directory: ~/.servicenow-mcp (0700) ok profile dev: instance: https://dev12345.service-now.com ok profile dev: credential: oauth clientSecret resolves from its encrypted source ok profile dev: table access: 1 read, 1 write, 1 target(s)

All checks passed.

Setup complete.

Profile dev Reads incident Writes incident Transport stdio (each client spawns its own servicenow-mcp) Clients codex, claude-code

Start codex or claude-code and it will launch the server itself. There is nothing to keep running between sessions.

There is nothing to start. The server speaks stdio: each registered client spawns its own copy of servicenow-mcp on demand and talks to it over that process's stdin and stdout. Setup finishes by running the same checks doctor runs, so you can re-run them any time:

servicenow-mcp-setup doctor --profile dev

npx @onlyflows/servicenow-mcp@latest setup runs the same wizard without a global install, and servicenow-mcp setup is an alias for servicenow-mcp-setup.

If you choose Basic and the instance answers 401, the wizard explains the Basic Auth restriction and asks what next: retry with the same settings, switch to oauth (it discards the Basic credential and asks the OAuth questions, keeping the profile name and instance), or stop. Nothing is saved until a credential verifies.

Scripted setup

Pass any flag, or run without a terminal, and the wizard steps aside for the original non-interactive behavior — so CI and provisioning scripts are unaffected. --non-interactive forces it explicitly. Only the interactive wizard defaults to OAuth. servicenow-mcp-profile create has no default you should rely on: pass --auth-type oauth (recommended) or --auth-type basic. Left out, it still creates a Basic profile, as it always has, so existing scripts keep working, and it prints a deprecation notice only when standard error is an interactive terminal, so output a script captures is unchanged. A future release may require the flag.

servicenow-mcp-setup --non-interactive --clients none --json

servicenow-mcp-profile create --name dev --instance https://yourinstance.service-now.com \ --auth-type oauth --client-id --source reference --provider env servicenow-mcp-setup grant --profile dev --read incident,problem --write incident

The servicenow-mcp-setup commands
CommandPurpose
servicenow-mcp-setupGenerate local auth material and register supported clients
servicenow-mcp-setup client --client Print copy-pasteable config for a client
servicenow-mcp-setup grant --profile --read Add table access rules to a profile
servicenow-mcp-setup policy show --profile Print the profile's effective policy as one table (tables, tools, fields, batch limits); never prints a secret
servicenow-mcp-setup doctorDiagnose the install and print remedies

grant and the wizard print a warning, and still grant, when write access lands on a privilege-sensitive table: role, group, approval, script, property, user or authentication tables such as sys_user_has_role, sysapproval_approver, sys_script or sp_widget, and the MID Server queue (ecc_queue and its rotation shards), whose records can run commands on MID Server hosts.

--force regenerates the owner/client identifiers but deliberately preserves SN_PROFILE_ENCRYPTION_KEY, which decrypts every credential envelope in config.json. Add --help to any command for its full options.

The server runs as you, and the client list is the boundary. Nothing

listens on a port, so nothing off this machine can reach it and no web page

can drive it. What that leaves is the registration: every MCP client

registered here can spawn the server and use whatever ServiceNow access your

profiles grant, as your integration account. Keep the grants narrow, and

remove a client you no longer use with claude mcp remove servicenow-mcp or

codex mcp remove servicenow-mcp. No ServiceNow credential is copied into a

client's configuration file — the spawned server reads the profile and its

encryption key from the owner-only ~/.servicenow-mcp directory.

Connec

冒頭だけを表示しています。続きはリポジトリで読めます