Run the setup command in a terminal to add STACK's remote MCP server to Claude Code, Codex or Cursor and sign in with OAuth. When setup finishes, start a new client session and ask it to list your STACK agents; a new account should return an empty list.
Create an account at getstack.run. You do not need to connect any services yet.
Open a new terminal window and run:
npx @getstackrun/cli setupIf the STACK CLI is not already cached, npx downloads the package and runs it for this setup. It does not install a permanent global command.
Setup detects Claude Code, Codex and Cursor, asks which clients to configure when it finds more than one, then adds STACK's remote MCP server to the clients you choose. It does not install an MCP server on your computer.
Claude Code and Codex complete OAuth during setup. Cursor asks you to sign in the first time you use STACK.
STACK setup does not ask for provider credentials. Enter those later in the Console or through the provider's sign-in page.
When setup finishes, start a new Claude Code or Codex session by running claude or codex. In Cursor, open a new chat. Then enter:
List my STACK agents.STACK returns the agents in your account. A new account returns an empty list, which confirms that the client is signed in and can call STACK.
To configure a client without the setup command, follow MCP Setup for the server URL and client-specific commands.
To test the LLM gateway, continue to Make a governed model call. If your application will call STACK directly, start with the JavaScript and TypeScript or Python SDK.