> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devic.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP Sessions and Activity

> Monitor your MCP server’s activity in real time, including active sessions, tool calls, and overall performance.

## Sessions Panel

Once your MCP is published, you can access the **Sessions** tab to monitor in real time how agents or external services are interacting with your tools.\
From this panel, you can see usage statistics, average session duration, and details about each active connection.

<img src="https://mintcdn.com/devic/otP4vJhZ6c3WpfnX/sessions.png?fit=max&auto=format&n=otP4vJhZ6c3WpfnX&q=85&s=5dc0378568f2b94f6ce840f9980e9b89" alt="Active sessions panel" width="1915" height="983" data-path="sessions.png" />

***

## Session Analytics

At the top of the panel, you’ll find the main indicators:

* **Total Sessions:** total number of sessions created.
* **Active Sessions:** how many sessions are currently active.
* **Avg Duration:** average duration of active sessions.

The **Sessions Over Time** chart displays the evolution of connections over time, helping you identify activity peaks.

<img src="https://mintcdn.com/devic/otP4vJhZ6c3WpfnX/sessions-number.png?fit=max&auto=format&n=otP4vJhZ6c3WpfnX&q=85&s=525edfa754a7cbb12b11c4fc6daaa980" alt="Sessions graph" width="1915" height="983" data-path="sessions-number.png" />

***

## Session Details

Below the chart, the **Session Details** table lists all connections made to the MCP.

Each row includes:

* **Session ID:** unique identifier of the session.
* **Status:** current session status (e.g., *Connected*).
* **Created / Last Activity:** timestamps of creation and last interaction.
* **Protocol:** protocol used for the connection.
* **Actions:** button to inspect the session’s activity.

<img src="https://mintcdn.com/devic/otP4vJhZ6c3WpfnX/sessions-detail.png?fit=max&auto=format&n=otP4vJhZ6c3WpfnX&q=85&s=70fa484c0e1ab35283bb61f7380f13c1" alt="Session list and activity" width="1915" height="983" data-path="sessions-detail.png" />

***

## Detailed Session Activity

Clicking **View Activity** opens the **Session Activity** panel, where you can inspect each interaction within the session, including:

* **REQUESTS** made by the client or agent.
* **TOOL EXECUTIONS** triggered.
* **Results** and any error messages returned.

This allows you to audit agent behavior and troubleshoot issues in real time.

<img src="https://mintcdn.com/devic/otP4vJhZ6c3WpfnX/session-detail.png?fit=max&auto=format&n=otP4vJhZ6c3WpfnX&q=85&s=ea602c77c470227d46ce8eddcd07e469" alt="Session activity detail" width="1915" height="983" data-path="session-detail.png" />

***

## Tool Calls Analytics

In the **Tool Calls** tab, you can analyze the performance of your tools within the MCP.\
Key metrics include:

* **Total Calls:** total number of executions.
* **Success Rate:** percentage of successful executions.
* **Avg Latency:** average response time.
* **Failed Calls:** executions that resulted in an error.

<img src="https://mintcdn.com/devic/otP4vJhZ6c3WpfnX/tool-call-detail.png?fit=max&auto=format&n=otP4vJhZ6c3WpfnX&q=85&s=987096d577e2516605542c0864f09ffc" alt="Tool calls metrics" width="1915" height="983" data-path="tool-call-detail.png" />

***

## Execution History

The lower table displays all recorded tool calls, including:

* **Exact execution time**
* **Tool used**
* **Status (Success / Failed)**
* **Measured latency**
* **Associated session**

<img src="https://mintcdn.com/devic/otP4vJhZ6c3WpfnX/tool-execution-detail.png?fit=max&auto=format&n=otP4vJhZ6c3WpfnX&q=85&s=7133e56c43682f3be277f11c5a27e933" alt="Execution history" width="1915" height="983" data-path="tool-execution-detail.png" />

Clicking **Details** lets you review the full log of the execution, including the **input**, **output**, and any errors returned by the API.

<img src="https://mintcdn.com/devic/otP4vJhZ6c3WpfnX/tool-json-detail.png?fit=max&auto=format&n=otP4vJhZ6c3WpfnX&q=85&s=6a1a6aa8aea2937e0f38281d723e1e62" alt="Execution detail" width="1915" height="983" data-path="tool-json-detail.png" />

***

<Card title="Next step" icon="code" href="/devic/mcps/my-mcps/sdks-and-widgets">
  Learn how to create your own widgets to integrate with ChatGPT when invoking your MCP.
</Card>
