For the complete documentation index, see llms.txt. This page is also available as Markdown.

Custom MCP Connections and Tool Discovery

A custom MCP connection makes tools from an MCP server available to StackAI. Tool discovery shows the operations that the server exposes to the connected account.

Before you begin

A supported MCP server URL and its required authentication details.

MCP connection concepts

Term
Definition

MCP server

A server that exposes tools and other supported capabilities through Model Context Protocol. Discover the catalog available to the authenticated client.

Transport

The communication mechanism used between an MCP client and server. The client and server must support the same connection method.

Tool discovery

Retrieval of the available tool names, descriptions, and input schemas. Use the current discovered schema instead of guessing an operation name.

Tool argument

A value supplied when calling a tool. It must match that tool’s exposed input schema and refer to accessible resources.

Authentication

Verification of the account or credential making a request. It identifies the caller but does not grant every resource permission.

Connect a custom MCP server

  1. Add the MCP connection using the server’s supported transport and authentication.

Add the required MCP integration, then review the tools it makes available.

Add the required MCP integration, then review the tools it makes available.

  1. Load its tool catalog and inspect the available descriptions and input schemas.

  2. Select the required tools and run an operation with the expected input fields.

Custom mcp configuration controls in StackAI
Enter the MCP endpoint in Server URL and give the connection a recognizable Label. Description explains what the server provides. Authorization supports OAuth Bearer authentication. For another authentication method, supply the header required by the server in Headers. Use the server’s documented header name and value format; the form’s placeholders are not a credential configuration to copy.

The selected tools are available with the connected account’s permissions.

Behavior and limitations

A successful connection does not guarantee access to every tool or underlying resource. Servers can change their catalogs or restrict tools by account. Refresh discovery after a server change. Treat tool errors separately from connection failures, and follow the server’s documentation for its authentication method.

MCP tools in an agent

Connection Ownership, Sharing, and Permissions

Was this helpful?