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

# How to connect with Postman

> How to test and debug the Atoti MCP Server with Postman, including Basic Auth configuration, tool discovery via SSE, JSON-RPC `tools/call` POST request format, response interpretation, and custom tool validation.

> [!NOTE]
>
> ### Atoti Intelligence SDK
>
> This is part of the Atoti Intelligence SDK offer.

This guide explains how to use Postman to test and interact with the Atoti MCP Server.

## Why connect with Postman?

Using Postman to connect to the MCP Server provides several benefits:

* Test MCP Server configuration and availability
* Validate tool discovery and execution
* Explore available tools and their parameters
* Debug integration issues
* Test custom tools during development

## Prerequisites

Before connecting with Postman, ensure the following requirements are met:

* Atoti MCP Server is set up and running
* Postman is installed (desktop or web version)
* Atoti application credentials (username and password)
* The MCP Server endpoint URL, `http://localhost:9090/mcp` for the default Streamable HTTP transport

The following examples assume the application runs locally on port `9090`. Replace `9090` with the
port on which the application is running.

> [!NOTE]
>
> `/sse` is the older server-sent events transport, deprecated for removal in Spring AI 2.0.0 and not
> served unless the deployment sets `spring.ai.mcp.server.protocol=SSE`. Use `POST /mcp` everywhere.
> See [MCP transport](https://docs.activeviam.com/atoti-intelligence/6.2/developer-guide/mcp-server/setup/configure-oauth2-self-issued.md#which-mcp-transport-does-self-issued-mode-use).

## How to configure authentication

Set up authentication in Postman to access the MCP Server.

Follow these steps:

1. Open Postman
2. Create a new request
3. Select the Authorization tab
4. Choose "Basic Auth" as the type and enter the Atoti username and password. Alternatively,
   choose "Bearer Token" and paste a token generated from the
   [MCP credentials page](https://docs.activeviam.com/atoti-intelligence/6.2/developer-guide/mcp-server/setup/mcp-credentials-page.md).

## How to discover available tools

Make a request to the MCP Server to discover available tools.

The following example shows a request to list tools:

![Postman tool discovery](https://mintcdn.com/activeviam/_nRu_vr7aRF8TBg3/atoti-intelligence/6.2/images/postman_1.png?fit=max\&auto=format\&n=_nRu_vr7aRF8TBg3\&q=85\&s=3a8790f0197ee7a5337212c7f1d2d346)

## How to make tool requests

After discovering available tools, make requests to execute specific tools.

Configure the request with the following components:

* **Method**: POST
* **URL**: The MCP Server endpoint
* **Headers**:
  * `Content-Type: application/json`
  * `Accept: text/event-stream` (for SSE endpoints)
* **Body**: JSON payload with tool name and parameters

## What does an example request look like?

The following example shows a typical tool execution request:

```json theme={"languages":{"custom":["/engine/python-sdk/6.2/languages/pycon.tmLanguage.json"]}}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "tool-name",
    "arguments": {
      "parameter1": "value1",
      "parameter2": "value2"
    }
  }
}
```

Replace the following placeholders:

* `tool-name`: The name of the tool to execute
* `parameter1`, `parameter2`: Tool-specific parameters
* `value1`, `value2`: Parameter values

## How to interpret responses

The MCP Server returns responses in JSON-RPC format.

A successful response includes:

* Response data in the `result` field
* Request ID matching the original request
* HTTP status code 200

An error response includes:

* Error details in the `error` field
* Error code and message
* HTTP error status code

## Common use cases

Once connected, Postman can be used to test the following:

* Verify MCP Server availability
* List all available tools
* Execute tools with different parameters
* Test authentication and authorization
* Validate custom tool implementations
* Debug integration issues

## Troubleshooting

If connections fail, check the following:

* The Atoti application is running
* The MCP Server endpoint is accessible
* Authentication credentials are correct
* The request format matches JSON-RPC specifications
* Firewall or network settings allow connections

## Related reading

After testing with Postman, consider:

* [How the Atoti MCP Server works](https://docs.activeviam.com/atoti-intelligence/6.2/developer-guide/mcp-server/setup/how-it-works.md), and how to set it up [in Java](./setup-java) or [in Python](https://docs.activeviam.com/atoti-intelligence/6.2/developer-guide/mcp-server/setup/setup-python.md)
* [MCP credentials page](https://docs.activeviam.com/atoti-intelligence/6.2/developer-guide/mcp-server/setup/mcp-credentials-page.md) to generate a Bearer token
* [Connect with Claude](https://docs.activeviam.com/atoti-intelligence/6.2/developer-guide/mcp-server/setup/connect-with-claude.md) for AI-powered interaction
* [Add custom tools](https://docs.activeviam.com/atoti-intelligence/6.2/developer-guide/mcp-server/custom-tools.md) to extend functionality
