> For the complete documentation index, see [llms.txt](https://gitbook.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.com/docs/documentation/ja-gitbook-documentation/analytics/insights/agents-and-mcp.md). Agents can also search and read this documentation through its [MCP server](https://gitbook.com/docs/~gitbook/mcp).

# Agents & MCP

LLM、コーディングエージェント、クローラーがドキュメントをどのように読み取っているかを追跡できます

この **エージェントとMCP** レポートでは、人間以外でサイトを閲覧するすべてのもの（LLM、コーディングエージェント、クローラー、サイトの [MCPサーバー](https://gitbook.com/docs/documentation/ja-gitbook-documentation/ai-for-your-readers/mcp-servers-for-published-docs.md).

表示するには、 **「分析」→「エージェントとMCP」** をサイトのサイドバーで選択します。

上部には、エージェントが閲覧したページ、サイト全体の閲覧数に占める割合、MCP呼び出し数が表示されます。「 **このサイトを閲覧しているユーザー** 」グラフでは、人間とエージェントによる閲覧数の内訳を確認でき、時間の経過とともにその割合がどう変化するかを追えます。フィルター、期間、期間の比較については、 [サイト分析](https://gitbook.com/docs/documentation/ja-gitbook-documentation/analytics/insights.md) をご覧ください。

<figure><img src="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2Fgit-blob-85f4debf645aef85c676d674edc9b0988d6b5d04%2F26_09_11_analytics_agents.png?alt=media&amp;token=2a40eedc-2477-498d-ba2d-d0214bd16f84" alt="The Agents &#x26; MCP report showing agent page reads, share of site reads, MCP calls, and reads over time"><figcaption><p>エージェントとMCPのレポート。</p></figcaption></figure>

## 接点

エージェントは複数の接点を通じてあなたのコンテンツに到達し、このレポートではそれぞれをカウントします:

* **Markdown**： `.md`.
* **llms.txt**：サイトの [LLM向け](https://gitbook.com/docs/documentation/ja-gitbook-documentation/getting-started/llm-ready-docs.md) インデックスファイル。
* **MCP**：サイトのMCPサーバー経由での閲覧。
* **サイトのページビュー** と **RSS**：ブラウザーと同じようにサイトを閲覧するエージェント。

## MCPアクティビティ

3つのカードで、ツールがドキュメントに対して行った操作を確認できます。呼び出された **MCPツール** 、実行された **MCP検索クエリ** 、そして **MCP経由で閲覧されたページ**です。これらを合わせて見ると、製品のAI連携がドキュメントのどの部分に依存しているかがわかります。

## どのエージェントが、何を読んだか

**エージェント** では、サイトを閲覧しているクライアントを順位付けして表示します。閲覧経路を選ぶと、その経路を通じて閲覧しているクライアントを確認できます。自身を識別しないクライアントは「 **識別不能**.

**」としてまとめられます。** では、エージェントが閲覧した量に基づいて、閲覧経路ごとにコンテンツを順位付けして表示します。

{% hint style="info" %}
エージェントがコンテンツにほとんどたどり着いていない場合は、AIツールがサイトを見つけて読みやすくする方法について、 [LLM対応ドキュメント](https://gitbook.com/docs/documentation/ja-gitbook-documentation/getting-started/llm-ready-docs.md) をご覧ください。
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://gitbook.com/docs/documentation/ja-gitbook-documentation/analytics/insights/agents-and-mcp.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
