Connecting Agents

Build and run pages with Claude Code or Codex from the editor chat, or with any MCP client from your IDE.

One MCP server for every agent.

Glider serves a single MCP server at /api/mcp on the same port as the editor. Any MCP client can use it; Glider ships connect snippets and an editor-chat runner for Claude Code, Cursor and Codex.

Claude Code

Shell
claude mcp add --transport http glider http://localhost:4004/api/mcp

Cursor

JSON
{
  "mcpServers": {
    "glider": { "url": "http://localhost:4004/api/mcp" }
  }
}

Codex

Shell
codex mcp add glider --url http://localhost:4004/api/mcp

Put the Cursor snippet in .cursor/mcp.json. The editor's Connect agents button shows each snippet with this machine's address.