# AI Features

{% hint style="success" %}
This is the official documentation of the `@forestadmin/agent` Node.js agent.
{% endhint %}

## AI Features

Forest Admin provides two AI-related features for your agent:

### Self-hosted AI

By default, AI features in Forest Admin are processed by Forest Admin servers. With `addAi()`, you can route all AI requests through your own agent using OpenAI or Anthropic, ensuring your data never leaves your infrastructure.

[**Learn more about Self-hosted AI →**](https://docs.forestadmin.com/developer-guide-agents-nodejs/agent-customization/ai/self-hosted-ai)

### MCP Server

The MCP Server is an HTTP proxy that exposes your agent to external AI assistants (like Claude Desktop) via the [Model Context Protocol](https://modelcontextprotocol.io/). This allows AI tools to query and interact with your Forest Admin data.

[**Learn more about MCP Server →**](https://docs.forestadmin.com/developer-guide-agents-nodejs/agent-customization/ai/mcp-server)
