> ## 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 `/mcp` 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`:

<SnippetBasicAppPomStarterAiMcpServer />

<SnippetBasicAppPomMcpServerSpring />

## 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 `/mcp`)

## 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
* [Configure OAuth 2.1 discovery](./configure-oauth2-discovery) to enable browser-based SSO
  against your IdP for MCP clients
* [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)
