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

# MCP Servers Overview

> Model Context Protocol servers that expose tools to AI models, enabling them to fetch real-world information and perform actions beyond text generation.

## What Are MCP Servers?

MCP (Model Context Protocol) servers expose tools that AI models can call to access external data and services. Instead of relying on training data alone, models can fetch current information, interact with APIs, and perform real-world actions.

This dramatically reduces hallucinations and enables AI assistants to provide accurate, up-to-date, and contextually grounded responses.

## How MCP Servers Work

<Steps>
  <Step title="AI Needs Information">
    Your AI model encounters a question that requires external data (e.g., "What's the weather in Paris?")
  </Step>

  <Step title="Model Identifies Tool">
    The AI decides which MCP server tool can answer the question (e.g., `get-weather` from a Weather MCP server)
  </Step>

  <Step title="Tool Executes">
    The tool calls the external API with the necessary parameters
  </Step>

  <Step title="Model Responds">
    The AI incorporates the tool's response into its final answer to the user
  </Step>
</Steps>

## Available MCP Servers

<CardGroup cols={2}>
  <Card title="Google Maps" icon="map-location-dot" href="/mcp-servers/google-maps">
    Geocoding, place search, directions, and location services
  </Card>

  <Card title="OpenRouter" icon="microchip-ai" href="/mcp-servers/openrouter">
    AI model recommendations and capability information
  </Card>

  <Card title="Time Utilities" icon="clock" href="/mcp-servers/time">
    Current time, date utilities, and timezone conversion
  </Card>

  <Card title="Reminders" icon="bell" href="/mcp-servers/reminders">
    Create, manage, and trigger reminders for conversations
  </Card>

  <Card title="Conversation Archives" icon="archive" href="/mcp-servers/conversation-archives">
    Access archived conversation message summaries
  </Card>
</CardGroup>

## Authentication Patterns

MCP servers use three authentication patterns:

### Public (No Authentication)

Some servers are publicly accessible and require no authentication.

**Examples:** Time Utilities, OpenRouter

```bash theme={null}
# No authentication required
curl https://app.chatbotplatform.io/mcp/time/call/today
```

### Conversation API Key

Servers that access conversation-specific data require the conversation's API key. The key is automatically provided when tools are called within an Agentic Loop.

**Examples:** Reminders, Conversation Archives

```bash theme={null}
# Requires conversation API key
curl https://app.chatbotplatform.io/mcp/reminders/call/list-reminders \
  -H "Authorization: Bearer conv_xxxxx..."
```

### External API Key

Some servers proxy external services and require an API key from that service. Pass the key in a custom header.

**Examples:** Google Maps

```bash theme={null}
# Requires Google Maps API key
curl https://app.chatbotplatform.io/mcp/google-maps/call/geocode \
  -H "X-Google-Maps-Api-Key: YOUR_API_KEY"
```

## Using MCP Servers with Agentic Loops

MCP servers integrate seamlessly with [Agentic Loops](/agent-loops/index). When you create an Agentic Loop and configure MCP servers, the AI model automatically has access to all tools provided by those servers.

<Callout type="info">
  **See [Agentic Loops → Using MCP Servers](/agent-loops/mcp-servers)** for detailed setup instructions.
</Callout>

## Building Custom MCP Servers

Chatbot Platform is built on **Laravel MCP**, making it easy to create your own MCP servers.

<Card title="Build Your Own MCP Server" icon="code" href="/mcp-servers/building-servers">
  Learn how to build custom MCP servers using Laravel's MCP package
</Card>

## When to Use MCP Servers

Use MCP servers when your AI needs to:

* **Fetch current information** - Weather, stock prices, real-time data
* **Search external databases** - Customer records, product catalogs, documentation
* **Perform actions** - Create reminders, send emails, update records
* **Access user-specific data** - Account details, order history, preferences
* **Validate information** - Check availability, verify addresses, confirm data

MCP servers turn AI from a static text generator into a dynamic assistant that can interact with the real world.

***

<Card title="API Reference" icon="code" href="https://app.chatbotplatform.io/openapi">
  View the complete API specification with all MCP server endpoints
</Card>
