Expand AI logo
DocsDocs
API Reference
Login

Documentation

Start

WelcomeQuickstartCLI & AgentsAPI Reference

Concepts

Progressive DisclosureState JSONAppendixCitationsSearch & HighlightingSpatial MarkdownInclude OptionsBatched Fetch

Product

FetchMCPCLI

SDKs

SDKsTypeScript SDKPython SDK

CLI & Agents

Set up Expand in Claude Code, OpenCode, Cursor, Codex, or another MCP client.

Use the CLI for local authentication and harness installation.

expandai login

Claude Code

expandai hook install claude-code project

OpenCode

expandai hook install opencode project

Cursor

expandai skill install cursor project
expandai mcp install cursor project

Codex

expandai skill install codex project
expandai mcp install codex project

Other MCP clients

Install the CLI, run expandai login, then configure the client to run:

expandai mcp run

Use global instead of project only when Expand should be available everywhere on the machine.

PreviousQuickstart
NextAPI Reference

On This Page

Claude CodeOpenCodeCursorCodexOther MCP clients