> ## 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.

# Atoti MCP server setup guide

> How to add the Atoti MCP Server to an Atoti Java project via the `starter-ai-mcp-server` and `mcp-server-spring` Maven dependencies, with steps to verify the MCP server initializes and the `/sse` endpoint is accessible.

<Info>
  ### Atoti Intelligence SDK

  This is part of the Atoti Intelligence SDK offer.
</Info>

This guide explains how to add the MCP server to an Atoti Java project.

## Prerequisites

Before setting up the MCP server, ensure the following requirements are met:

* Java project
* License with AI flag enabled

## Add the dependencies

Add the MCP server dependencies to the project.

Add the following to `pom.xml`:

```xml theme={"languages":{"custom":["/engine/python-sdk/0.9/languages/pycon.tmLanguage.json"]}}
<dependency>
  <groupId>com.activeviam.springboot</groupId>
  <artifactId>starter-ai-mcp-server</artifactId>
  <version>${activepivot.version}</version>
</dependency>
```

```xml theme={"languages":{"custom":["/engine/python-sdk/0.9/languages/pycon.tmLanguage.json"]}}
<dependency>
  <groupId>org.springframework.ai</groupId>
  <artifactId>spring-ai-starter-mcp-server-webmvc</artifactId>
  <version>${spring-ai.version}</version>
</dependency>
```

## Verify the setup

After adding the dependencies, verify that the MCP server is available:

1. Build the project
2. Start the Atoti application
3. Check the application logs for MCP server initialization messages
4. Verify that the MCP server endpoint is accessible (typically at `/sse`)

## Related reading

After setting up the MCP server, proceed to:

* [Connect with Postman](./connect-with-postman) to test the MCP server
* [Connect with Claude](./connect-with-claude) to integrate with Claude AI
* [Add custom tools](../custom-tools) to extend functionality
* [MCP credentials page](./mcp-credentials-page) to mint long-lived bearer tokens for MCP clients (opt-in feature, disabled by default)
