> For the complete documentation index, see [llms.txt](https://docs.jetadmin.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.jetadmin.io/user-guide/data-sources/mcp.md).

# MCP

The basics of MCP servers and how they function as bridges in JetAdmin.

Connect an MCP (Model Context Protocol) server to make its tools available in Jet Admin. A tool performs a defined operation, such as retrieving a record or creating a task.

```mermaid
flowchart LR
  J["Jet Admin"] -->|"Tool name and inputs"| M["MCP server"]
  M --> S["External service"]
  S --> M
  M -->|"Tool result"| J
```

## Set up and use a tool

1. [Connect an MCP server](/user-guide/data-sources/mcp/connect-an-mcp-server.md).
2. [Test an MCP tool](/user-guide/data-sources/mcp/test-an-mcp-tool.md) with known inputs.
3. [Use MCP tools in agents and workflows](/user-guide/data-sources/mcp/use-mcp-tools-in-agents-and-workflows.md).
4. Review [authentication and server access](/user-guide/data-sources/mcp/authentication-and-server-access.md) and [limitations and troubleshooting](/user-guide/data-sources/mcp/limitations-and-troubleshooting.md).

For a worked example, see [Weather MCP example](/user-guide/data-sources/mcp/using-mcp-server-tools-in-jetadmin-with-weather-mcp-via-smithery.md).

## Choose the right integration

MCP exposes tools. For database tables and business-app records, browse [Data Sources](/user-guide/data-sources.md). For a custom HTTP request or SQL query, use [SQL queries and API requests](/user-guide/sql-queries-and-api-requests.md).

Connecting an external MCP server to Jet Admin is separate from exposing a Jet Admin agent to another MCP client. For the latter, see [Using Agents with MCP Clients](/ai-agents/slack-telegram-email-and-mcp/using-agents-with-mcp-clients.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.jetadmin.io/user-guide/data-sources/mcp.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
