# MCP Reference

The StackAI MCP Server lets AI clients like Claude Desktop connect directly to your StackAI workflows as tools.

Set it up once, and any MCP-compatible AI assistant can discover and call your deployed agents without writing custom integration code.

### In this section

<table data-view="cards"><thead><tr><th>Topic</th><th data-card-target data-type="content-ref">Page</th></tr></thead><tbody><tr><td><strong>StackAI MCP Server</strong><br>Connect Claude, Cursor, and other MCP clients to your deployed StackAI workflows.</td><td><a href="/spaces/FSlso1Kjob5CLDrh0dVn/pages/x1OkB9xKnbJUtHMmNP32">/spaces/FSlso1Kjob5CLDrh0dVn/pages/x1OkB9xKnbJUtHMmNP32</a></td></tr></tbody></table>

### What you can do with MCP

* Expose StackAI workflows as callable tools inside Claude, Cursor, or other MCP clients.
* Let users invoke your agents by name from within their AI assistant of choice.
* Combine StackAI's workflow capabilities with the conversational interface of any MCP client.

### Get started

* Start with the [**StackAI MCP Server**](/interface-and-deployment/mcp-reference/stackai-mcp-server.md) guide to configure the server URL and authentication.
* Add the server to your MCP client configuration.
* Test by asking the AI client to call one of your StackAI workflows.


---

# Agent Instructions: 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:

```
GET https://docs.stackai.com/interface-and-deployment/mcp-reference.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
