DoiT MCP Serverのロゴ

DoiT MCP Server

組織
doitintl

DoiT official MCP Server

公開者doitintl
リポジトリdoit-mcp-server
言語TypeScript
フォーク
3
スター
13
利用可能なツール
16
通信方式stdio, streamable-http
カテゴリ
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    DoiT MCP Serverは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 16個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには13件のスターと3件のフォークがあります。

DoiT MCP Server

License: MIT NPM Version

DoiT MCP Server provides access to the DoiT API. This server enables LLMs like Claude to access DoiT platform data for troubleshooting and analysis.

top-services

Authentication

How you authenticate depends on the connection method:

MethodURL / commandAuth
Remote (Streamable HTTP)https://mcp.doit.com/mcpOAuth — your client opens a DoiT sign-in and consent page. Headless clients can instead send a customer personal API token as Authorization: Bearer.
Local (stdio)npx -y @doitintl/doit-mcp-server@latestPersonal API token via DOIT_API_KEY.

The legacy SSE endpoint (https://mcp.doit.com/sse) is deprecated and should not be used for new setups.

Your DoiT plan must include API access. Tools follow the same permissions as the DoiT API.

The Claude Desktop steps below are examples, not the only supported clients. Cursor, VS Code, Amazon Q, Claude Code, and others are covered in the Connections guide.

Remote (Streamable HTTP)

Example with Claude Desktop: add a custom connector (+ → Add connector → Add custom connector) and set the remote MCP server URL to https://mcp.doit.com/mcp. Complete DoiT sign-in when prompted.

Headless clients (API token)

Agents that cannot open a browser (for example HolmesGPT on a cluster, CI jobs, cron workers) can authenticate to the same endpoint with a customer personal API token sent as a bearer header. Tools run with that token's permissions, exactly as on stdio. DoiT employee tokens are not accepted on the remote endpoint; employees use OAuth or the local server.

Example with HolmesGPT:

yaml
mcp_servers:
  doit:
    description: "DoiT Cloud Intelligence"
    config:
      url: "https://mcp.doit.com/mcp"
      mode: streamable-http
      headers:
        Authorization: "Bearer {{ env.DOIT_API_KEY }}"
      health_check_tool: "validate_user"

Keep the token in a secret store and rotate it on a schedule. Design notes: docs/remote-api-key-bearer-auth.md.

Local (stdio)

Requires Node.js v18 or higher and a personal API token as DOIT_API_KEY. Create a token from the Personal API tokens page in the DoiT console.

Example with Claude Desktop — add the following to claude_desktop_config.json (or Settings), then restart Claude:

json
{
  "mcpServers": {
    "doit_mcp_server": {
      "command": "npx",
      "args": ["-y", "@doitintl/doit-mcp-server@latest"],
      "env": {
        "DOIT_API_KEY": "your_doit_api_key"
      }
    }
  }
}
  • DOIT_API_KEY: Your DoiT API token (required)
  • CUSTOMER_CONTEXT: Customer context identifier (optional)

Clone to Local Repository

If you want to clone and run this MCP server directly from the source code, follow these steps:

  1. Clone the repository
bash
git clone https://github.com/doitintl/doit-mcp-server
cd doit-mcp-server
  1. Install dependencies
bash
yarn install
  1. Build the project
bash
yarn build
  1. Run the server
bash
DOIT_API_KEY=your_doit_api_key node dist/index.js

Core package API

Applications that provide their own MCP transport can reuse the published, transport-independent implementation:

bash
npm install @doitintl/doit-mcp-server@latest
ts
import {
    COVERED_ENDPOINTS,
    executeToolHandler,
    generateTools,
    generatedToolsOpenApiSpec,
    HAND_WRITTEN_TOOLS,
} from "@doitintl/doit-mcp-server/core";

The /core entry includes the tool and prompt definitions, generated-tool utilities, request handling, and shared configuration APIs. It does not initialize the stdio transport or include the Cloudflare Worker, OAuth, Durable Objects, or widget implementation.

Usage Examples

Here are some common queries you can ask using the DoiT MCP server:

Cost Analysis and Savings

  • "What are my Flexsave savings?" - This will analyze your Flexsave cost optimization savings across your cloud accounts.
  • "What are my top 3 AWS services by cost?" - This will run a Cloud Analytics query to identify your highest-spending AWS services.

Reports and Analytics

  • "List all my available reports" - This will show all Cloud Analytics reports you have access to.
  • "Show me the results of my 'Monthly Cost Overview' report" - This will fetch and display results from a specific report.

Anomaly Detection

  • "What are my recent GCP anomalies?" - This will show recent cost or usage anomalies detected in your Google Cloud Platform accounts.
  • "Show me details about anomaly ABC123" - This will provide detailed information about a specific anomaly.

Invoices

  • "List all my invoices" - This will show all current and historical invoices for your organization.
  • "Show me details for invoice INV-2024-001" - This will provide full details for a specific invoice, including line items and payment status.

These examples demonstrate basic usage patterns. You can combine and modify these queries based on your needs. The MCP server will interpret your natural language queries and use the appropriate tools to fetch the requested information.

Environment Variables

Used by the local stdio server. Remote /mcp connections authenticate with OAuth.

  • DOIT_API_KEY: Your DoiT personal API token (required for stdio)
  • CUSTOMER_CONTEXT: Your customer context identifier (optional)

インストール

TypingMind
前提条件:

Node.js 18+

{
  "mcpServers": {
    "doitintl-doit-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@doitintl/doit-mcp-server"
      ]
    }
  }
}

利用可能なツール

  • get_cloud_incidents

    Get cloud incidents

  • get_cloud_incident

    Get a specific cloud incident by ID

  • get_anomalies

    List anomalies detected in cloud costs

  • get_anomaly

    Get a specific anomaly by ID

  • list_reports

    Lists Cloud Analytics reports that your account has access to

  • run_query

    Runs a report query with the specified configuration without persisting it. Fields that are not populated will use their default values if needed. You must use the 'limit' field to limit the number of rows in the report, maximum is 25. Use the dimension tool or allocation tool before running the query to get the list of dimensions and their types or allocations. If possible, use timeRange instead of customTimeRange when no specific dates are given. Example for cost report: { "config": { "dataSource": "billing", "metric": {"type": "basic", "value": "cost"}, "timeRange": {"mode": "last", "amount": 1, "unit": "month", "includeCurrent": true}, "group": [{"id": "service_description", "type": "fixed", "limit": {"metric": {"type": "basic", "value": "cost"}, "sort": "desc", "value": 10}}] } }

  • get_report_results

    Get the results of a specific report by ID

  • validate_user

    Validates the current API user and returns domain and email information

  • list_dimensions

    Lists Cloud Analytics dimensions that your account has access to. Use this tool to get the dimensions that you can use in the run_query tool. Use filter to narrow down the results.

  • get_dimension

    Get a specific Cloud Analytics dimension by type and ID

  • list_tickets

    List support tickets from DoiT using the support API.

  • list_invoices

    List all current and historical invoices for your organization from the DoiT API.

  • get_invoice

    Retrieve the full details of an invoice specified by the invoice number from the DoiT API.

  • list_allocations

    List allocations for the report or run_query configuration that your account has access to from the DoiT API. Allocations in the DoiT Cloud Intelligence Platform are a powerful feature that allows you to group and attribute cloud costs to specific business units, teams, projects, or any other logical grouping relevant to your organization.

  • get_allocation

    Get a specific allocation by ID from the DoiT API

  • list_assets

    Returns a list of all available customer assets such as Google Cloud billing accounts, G Suite/Workspace subscriptions, etc. Assets are returned in reverse chronological order by default.

DoiT MCP ServerのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度DoiT MCP Serverに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 お使いのデバイス上でMCPをローカル実行することも、リモートMCPサーバーのURLに接続することもできます。

方法1:ローカルコネクタを使用

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

DoiT MCP Serverをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. DoiT MCP ServerのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "doitintl-doit-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@doitintl/doit-mcp-server"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてDoiT MCP ServerのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. DoiT MCP ServerのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
DoiT MCP Serverを使ってこのタスクを手伝ってもらえますか?
DoiT MCP Server
はい、読みました。
DoiT MCP Serverで調べた結果をお伝えします。

方法2:MCPサーバーのURLを追加

DoiT MCP Serverがすでにリモートでホストされている場合や、チームの複数のユーザーで1つのコネクタを共有したい場合は、この方法を使います。

1

MCPコネクタを開く

TypingMindで「プラグイン」に移動し、「MCPコネクタ」を開いて「URLを追加」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 「プラグイン」に移動してください。
  3. 「MCPコネクタ」を開いてください。
  4. 「URLを追加」をクリックします。
TypingMindの「カスタムMCPサーバーURLを追加」フォーム
2

サーバーURLを貼り付け

「サーバーURL」欄にお使いのサーバーURLを入力してください。サーバーで必要とされる場合は、接続名、説明、アイコン、カスタムHTTPヘッダー、OAuthクライアント設定を追加してください。

  1. 「サーバーURL」欄にお使いのサーバーURLを貼り付けてください。
  2. DoiT MCP Serverの接続名を入力してください。
  3. 接続を識別しやすくするには、説明とアイコンを追加してください。
  4. サーバーで認証が必要な場合は、カスタムHTTPヘッダーまたはOAuthクライアントの詳細情報を追加してください。
3

接続を作成

「接続を作成」をクリックし、プラグイン一覧に戻って、新しいMCP接続が有効になっていることを確認してください。

  1. 「接続を作成」をクリックします。
  2. MCPコネクタの一覧に戻ってください。
  3. DoiT MCP Serverの接続が「有効」と表示されていることを確認してください。
  4. 接続がすぐに表示されない場合は、プラグイン一覧を更新してください。
4

再接続せずにモデルを切り替え

お好みのモデルでチャットを開始し、「プラグイン」でDoiT MCP Serverのツールを有効にしてください。必要に応じて別のモデルに切り替えられます。MCP接続は、TypingMindのワークスペースで引き続き利用できます。

  1. TypingMindで新しいチャットを開始してください。
  2. 使用するAIモデルを選択してください。
  3. 「プラグイン」でDoiT MCP Serverのツールを有効にしてください。
  4. 必要に応じて、ツールを使うようモデルに依頼してください。
  5. 別のAIモデルに切り替えて、同じMCP接続を再利用してください。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
DoiT MCP Serverを使ってこのタスクを手伝ってもらえますか?
DoiT MCP Server
はい、読みました。
DoiT MCP Serverで調べた結果をお伝えします。

よくある質問

DoiT MCP Server MCPサーバーは何に使いますか?

DoiT MCP Serverは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでDoiT MCP Server MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでDoiT MCP Serverを利用できます。

TypingMindでDoiT MCP Server MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。DoiT MCP Serverを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

DoiT MCP Server MCPをTypingMindに接続するにはどうすればよいですか?

DoiT MCP Serverは、ローカルMCPコネクタを使うか、リモートMCPサーバーのURLを追加することでTypingMindに接続できます。サーバーがデバイス上のファイル、アプリ、プライベートリソースにアクセスする必要がある場合はローカルコネクタを、MCPサーバーがリモートでホストされている場合はサーバーURLを使用してください。

TypingMindでDoiT MCP Server MCPのどのようなツールを利用できますか?

DoiT MCP Serverは16個のMCPツールを提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

DoiT MCP Server MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。DoiT MCP Serverで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

Filter Fields Reference
Generate Report Document
Query Best Practice
Document Output Reminder
Generate Report Command
Generate Anomalies Document
Dimension Usage Guidance
Create Ticket
Generate Invoice Details Document
Allocations Usage Guidance
Allow Artifacts

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇