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

# Interacting with TrueFoundry using AI

> Manage your TrueFoundry platform through natural language using AI agents.

TrueFoundry exposes an [MCP server](https://modelcontextprotocol.io/) that lets AI agents manage models, MCP servers, users, teams, secrets, and policies on your behalf.

* **Server URL:** `https://<CONTROL_PLANE_URL>/api/svc/mcp`
* **Auth:** TrueFoundry API key as a Bearer token
* **Transport:** Streamable HTTP

All actions run as the authenticated user and follow the same RBAC as the dashboard and CLI.

## How to connect

<AccordionGroup>
  <Accordion title="Ask AI Agent" icon="message-bot" defaultOpen>
    The recommended way. Built into the TrueFoundry dashboard with platform-aware [skills](/docs/platform/interacting-with-truefoundry-using-ai/tfy-skills), optimized instructions, diff previews, and approval flows.

    * Pre-built [skills](/docs/platform/interacting-with-truefoundry-using-ai/tfy-skills) that encode correct workflows, required fields, and edge cases
    * Deferred tool and skill loading — only what's relevant to your request is pulled in
    * Diff view before applying manifest changes
    * Approval flows for destructive operations
    * Access to TrueFoundry documentation
    * System instructions tuned for TrueFoundry operations

    <Card title="Learn more about Ask AI Agent" icon="arrow-right" href="/docs/platform/interacting-with-truefoundry-using-ai/ask-ai-agent">
      See how to use Ask AI Agent from the dashboard.
    </Card>
  </Accordion>

  <Accordion title="TrueFoundry MCP server" icon="plug">
    Connect the MCP server directly in Cursor, Claude Code, Codex, VS Code, or any MCP-compatible agent. You get the same tools, and you can pair them with [TrueFoundry skills](/docs/platform/interacting-with-truefoundry-using-ai/tfy-skills) for guided procedures — or use the raw tools on their own.

    Use this when you want TrueFoundry operations inside your existing workflow, or need to combine them with other MCP servers in a single session.

    <Card title="See full tool reference" icon="arrow-right" href="/docs/platform/interacting-with-truefoundry-using-ai/truefoundry-mcp-server">
      Server details, authentication, and the complete list of available tools.
    </Card>
  </Accordion>
</AccordionGroup>
