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

MCP Authentication and Transport

The StackAI MCP server lets a compatible client discover and call supported tools. Connect using the server’s documented transport and authentication flow.

Confirm the account behind the connection

Send through your client after completing the documented MCP connection and authentication flow. Confirm the returned identity and organization before accessing resources. This message is not a replacement for authentication.

Copy the example
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "whoami",
    "arguments": {}
  }
}

Before you begin

A compatible MCP client and an account with access to the required StackAI resources.

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.

Authentication

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

Read-only mode

A server configuration that limits available operations to supported non-mutating capabilities. Discover the actual tool set; execution and mutation tools can be absent.

User identity

The authenticated person or application acting on a resource. It determines access; a display name or conversation ID does not authenticate a caller.

Connect an MCP client

  1. Add the documented MCP server URL to the client.

  2. Complete its supported authentication flow.

  3. Inspect server information and your active identity before calling tools.

The client can discover tools available to the authenticated account.

Behavior and limitations

MCP authentication and REST API authentication are not interchangeable configuration instructions. Tool availability can depend on permissions or read-only mode. Confirm organization context before resource changes. Do not assume that successful transport setup grants access to every tool.

API Versions and Compatibility

Was this helpful?