# How to connect with STACK

Choose how your agent connects to STACK, then add the services it needs. Each guide explains the connection, who authorises the work and what STACK checks.

### Claude

Connect Claude to STACK with the Claude directory.

- **Connection:** the Claude directory
- **Who authorises the work:** You add STACK from the app’s own directory and sign in to your STACK account. The directory connection has its own address and its own sign-in, and carries the tool set listed in the docs.
- **What STACK checks:** Scope and authority; Detectors and policy; Logging, review flags and revocation
- **Guide:** [Open guide](/docs/security/mcp-setup#directory)

### ChatGPT

Connect ChatGPT to STACK with the ChatGPT directory.

- **Connection:** the ChatGPT directory
- **Who authorises the work:** You add STACK from the app’s own directory and sign in to your STACK account. The directory connection has its own address and its own sign-in, and carries the tool set listed in the docs.
- **What STACK checks:** Scope and authority; Detectors and policy; Logging, review flags and revocation
- **Guide:** [Open guide](/docs/security/mcp-setup#directory)

### Claude Code

Connect Claude Code to STACK with Remote MCP.

- **Connection:** Remote MCP
- **Who authorises the work:** The member connects STACK to the client. For fleet work, an operator approves the available access once, and each Mission requests the part it needs. STACK returns the agent’s Passport automatically when the request fits.
- **What STACK checks:** Scope and authority; Detectors and policy; Logging, review flags and revocation
- **Guide:** [Open guide](/docs/integrations/claude-code)

### Codex

Connect Codex to STACK with Remote MCP.

- **Connection:** Remote MCP
- **Who authorises the work:** The member connects STACK to the client. For fleet work, an operator approves the available access once, and each Mission requests the part it needs. STACK returns the agent’s Passport automatically when the request fits.
- **What STACK checks:** Scope and authority; Detectors and policy; Logging, review flags and revocation
- **Guide:** [Open guide](/docs/security/mcp-setup#codex)

### Cursor

Connect Cursor to STACK with Remote MCP.

- **Connection:** Remote MCP
- **Who authorises the work:** The member connects STACK to the client. For fleet work, an operator approves the available access once, and each Mission requests the part it needs. STACK returns the agent’s Passport automatically when the request fits.
- **What STACK checks:** Scope and authority; Detectors and policy; Logging, review flags and revocation
- **Guide:** [Open guide](/docs/security/mcp-setup#guided)

### ChatGPT Workspace Agents

Connect ChatGPT Workspace Agents to STACK with Custom MCP.

- **Connection:** Custom MCP
- **Who authorises the work:** The member connects STACK to the client. For fleet work, an operator approves the available access once, and each Mission requests the part it needs. STACK returns the agent’s Passport automatically when the request fits.
- **What STACK checks:** Scope and authority; Detectors and policy; Logging, review flags and revocation
- **Guide:** [Open guide](/docs/integrations/openai-workspace-agents)

### Other MCP clients

Connect Other MCP clients to STACK with Streamable HTTP with OAuth.

- **Connection:** Streamable HTTP with OAuth
- **Who authorises the work:** The member connects STACK to the client. For fleet work, an operator approves the available access once, and each Mission requests the part it needs. STACK returns the agent’s Passport automatically when the request fits.
- **What STACK checks:** Scope and authority; Detectors and policy; Logging, review flags and revocation
- **Guide:** [Open guide](/docs/integrations/mcp)

### OpenAI Agents SDK

Connect OpenAI Agents SDK to STACK with Streamable HTTP MCP.

- **Connection:** Streamable HTTP MCP
- **Who authorises the work:** The agent authenticates with its own key. Its Mission requests specific access under an approved fleet policy, and STACK issues a Passport within that scope.
- **What STACK checks:** Scope and authority; Detectors and policy; Logging, review flags and revocation
- **Guide:** [Open guide](/docs/integrations/openai-agents-sdk)

### Anthropic Messages API

Connect Anthropic Messages API to STACK with Remote MCP connector.

- **Connection:** Remote MCP connector
- **Who authorises the work:** The agent authenticates with its own key. Its Mission requests specific access under an approved fleet policy, and STACK issues a Passport within that scope.
- **What STACK checks:** Scope and authority; Detectors and policy; Logging, review flags and revocation
- **Guide:** [Open guide](/docs/integrations/anthropic)

### LangChain

Connect LangChain to STACK with Python SDK.

- **Connection:** Python SDK
- **Who authorises the work:** The agent authenticates with its own key. Its Mission requests specific access under an approved fleet policy, and STACK issues a Passport within that scope.
- **What STACK checks:** Scope and authority; Detectors and policy; Logging, review flags and revocation
- **Guide:** [Open guide](/docs/integrations/langchain)

### CrewAI

Connect CrewAI to STACK with Python SDK.

- **Connection:** Python SDK
- **Who authorises the work:** The agent authenticates with its own key. Its Mission requests specific access under an approved fleet policy, and STACK issues a Passport within that scope.
- **What STACK checks:** Scope and authority; Detectors and policy; Logging, review flags and revocation
- **Guide:** [Open guide](/docs/integrations/crewai)

### AutoGen

Connect AutoGen to STACK with Python SDK.

- **Connection:** Python SDK
- **Who authorises the work:** The agent authenticates with its own key. Its Mission requests specific access under an approved fleet policy, and STACK issues a Passport within that scope.
- **What STACK checks:** Scope and authority; Detectors and policy; Logging, review flags and revocation
- **Guide:** [Open guide](/docs/integrations/autogen)

### JavaScript and TypeScript

Connect JavaScript and TypeScript to STACK with @getstackrun/sdk.

- **Connection:** @getstackrun/sdk
- **Who authorises the work:** The agent authenticates with its own key. Its Mission requests specific access under an approved fleet policy, and STACK issues a Passport within that scope.
- **What STACK checks:** Scope and authority; Detectors and policy; Logging, review flags and revocation
- **Guide:** [Open guide](/docs/sdk/javascript)

### Python

Connect Python to STACK with getstack.

- **Connection:** getstack
- **Who authorises the work:** The agent authenticates with its own key. Its Mission requests specific access under an approved fleet policy, and STACK issues a Passport within that scope.
- **What STACK checks:** Scope and authority; Detectors and policy; Logging, review flags and revocation
- **Guide:** [Open guide](/docs/sdk/python)

### REST API

Connect REST API to STACK with HTTPS with Bearer authentication.

- **Connection:** HTTPS with Bearer authentication
- **Who authorises the work:** The agent authenticates with its own key. Its Mission requests specific access under an approved fleet policy, and STACK issues a Passport within that scope.
- **What STACK checks:** Scope and authority; Detectors and policy; Logging, review flags and revocation
- **Guide:** [Open guide](/docs/api/authentication)

## Run your agent through STACK

[START FREE TRIAL](/get-started) [READ THE DOCS](/docs)
