Setup guide · Sourcegraph

Set up CleenUI in Cody (Sourcegraph).

Cody supports MCP via the cody.mcpServers setting — enable the feature flag and add cleenui to settings.json.

AI toolCody (Sourcegraph)

Cody supports local MCP servers as of recent versions. There are two gotchas: (1) MCP support is behind a feature flag that has to be enabled first, and (2) only local STDIO servers are supported (no remote URL servers). For VS Code the config goes into the standard settings.json under the cody.mcpServers key; JetBrains uses a separate cody_settings.json file.

Step by step

4 steps. About 5 minutes.

  1. 1

    Enable the agentic-context-mcp feature flag

    Cody's MCP support is gated. Open Cody settings via the extension's gear icon and look for the agentic context section. Toggle 'agentic-context-mcp-enabled' on.

  2. 2

    Edit settings.json to add the server

    For VS Code, open settings.json (⌘+Shift+P → 'Preferences: Open User Settings (JSON)'). Add cleenui under cody.mcpServers. For JetBrains the file is cody_settings.json — same JSON shape.

  3. 3

    Reload Cody

    Cody picks up MCP servers on reload. Run 'Cody: Reload' from the command palette, or restart your editor.

  4. 4

    Use the tools in Chat

    Open Cody Chat. With MCP enabled, the cleenui tools surface to the agent automatically — just describe what you want.

Verify

Confirm the feature flag

In Cody settings, confirm agentic-context-mcp-enabled is on. If it isn't shown at all, your Cody version may be too old — update the extension.

Tools-only support
Cody supports the MCP Tools capability but not Resources or Prompts. CleenUI's setup/builder/theme are all Tools, so this isn't a limitation in practice.
Troubleshooting

If something doesn't work.

agentic-context-mcp-enabled flag isn't visible

Update the Cody extension. MCP support is recent — older builds don't expose the flag.

Server registers but tools don't appear

Confirm you're in Cody Chat (not the older command/recipe surface). MCP tools only flow through the Chat interface.

Get started

Get started with CleenUI.

Two paths to your first component. Pick the one that fits how your team builds.

Path A · Recommended

With AI agent skills

One prompt to your AI tool. The Setup skill handles dependencies, design tokens, build config, and component registration — all without leaving your editor.

Path B · Manual

With npm

The classic flow. Install the package, import the styles, drop in your first component. No agents required — same end result.