> ## Documentation Index
> Fetch the complete documentation index at: https://acem-52171079.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Model Context Protocol integration for AI agents

The MCP Server acts as the intelligent bridge between AI Agents (like Claude, Cursor, Windsurf) and the DataDot backend. It implements the **Model Context Protocol** to expose your data and capabilities as standardized tools.

## Primary Responsibilities

<CardGroup cols={2}>
  <Card title="Tool Exposure" icon="toolbox">
    Provides callable functions for document retrieval (`query_content`), file management, and citation verification.
  </Card>

  <Card title="Agent Integration" icon="robot">
    Allows external AI agents to seamlessly interact with your workspace contexts.
  </Card>

  <Card title="Secure Auth" icon="lock">
    Validates agent credentials against the main backend to ensure secure access.
  </Card>

  <Card title="State Sync" icon="rotate">
    Keeps the agent's understanding of the file system in sync with the actual workspace state.
  </Card>
</CardGroup>

## Project Structure

The MCP server is a standalone Python application that communicates with the main backend.

```txt theme={null}
mcp/
├── app/
│   ├── tools/              # MCP Tools implementations (RAG, File, System)
│   ├── prompts/            # Pre-configured templates for Agents
│   ├── middleware/         # Logging and Integrity checks
│   ├── auth.py             # API Key validation logic
│   ├── server.py           # FastMCP server instance setup
│   └── config.py           # Configuration settings
├── main.py                 # Application entry point
└── Dockerfile              # Container definition
```

## Getting Started

To configure and extend the MCP server, explore the detailed guides:

<CardGroup cols={2}>
  <Card title="Architecture" icon="sitemap" href="/docs/mcp-server/architecture">
    Understand how the MCP server connects Agents to the Backend.
  </Card>

  <Card title="Tools Reference" icon="wrench" href="/docs/mcp-server/tools">
    List of available tools and their capabilities.
  </Card>

  <Card title="Prompts" icon="message-lines" href="/docs/mcp-server/prompts">
    Available system prompts for guiding agent behavior.
  </Card>
</CardGroup>
