Skip to main content
The ClosedLoop AI extension for VS Code brings customer evidence into the editor. It adds the ClosedLoop AI MCP for you, shows the customers behind the GitHub issue your branch is named for, and answers product questions as @closedloop in VS Code chat.

Install the extension

1

Install it

In VS Code, open the Extensions view, search for ClosedLoop AI and click Install. It is listed on the VS Code Marketplace and, for editors that use Open VSX, on Open VSX. It needs VS Code 1.101 or later. In an editor that cannot add an MCP from an extension, add the MCP by hand instead (see Other editors).
2

Choose your region

US workspaces need no change. For an EU workspace (eu.app.closedloop.sh), open Settings, search for ClosedLoop AI: Region (closedloopAi.region) and set it to eu.
3

Sign in

Run MCP: List Servers from the Command Palette, choose ClosedLoop AI and start it. (Connect ClosedLoop AI in the Who asked for this view opens the same list.) Your browser opens the ClosedLoop AI sign-in: log in, select your workspace and click Connect. VS Code keeps the sign-in.

Add the MCP by hand

Without the extension, you can still add the ClosedLoop AI MCP to VS Code yourself: every agent in VS Code chat can then use the ClosedLoop AI tools.
1

Add the MCP to your workspace

Create .vscode/mcp.json in your project (or run MCP: Add Server from the Command Palette and choose HTTP):
For EU workspaces (eu.app.closedloop.sh), use https://eu.mcp.closedloop.sh.
2

Start it and sign in

Run MCP: List Servers, choose closedloop-ai and start it. Your browser opens the ClosedLoop AI sign-in: log in, select your workspace and click Connect. VS Code keeps the sign-in.
3

Ask a question

In VS Code chat, in agent mode, ask “What do customers say about exports?”. The agent answers with the ClosedLoop AI tools listed in the tools reference.

What the extension adds

The extension adds the MCP without the file above, and adds two things the MCP alone does not.

Who asked for this

The Who asked for this view sits in the Explorer sidebar. On a branch named for a GitHub issue, such as feat/123-export-reports, it reads the issue’s title and shows:
  • The matching themes: the customer themes ClosedLoop AI matches to the issue title, each with its own number of product insights, customers and deal blockers. A theme marked possible match is close but not certain.
  • Revenue at stake: for each theme, the current ARR of its paying customers, with the largest of them by name. When some paying customers’ ARR is not known, the view shows the known amount as “at least” and says how many are missing. Revenue covers every customer of the theme, including its parts that are no longer open.
  • What customers said: quotes, word for word, with the customer who said each one.
Each theme keeps its own numbers. One insight can belong to two themes, so the numbers are never added together. The view refreshes when you switch branches. Click the refresh button in the view’s title bar to reload it. When there is nothing to show, the view says why:

@closedloop in chat

Ask product questions in VS Code chat by starting with @closedloop:
  • “@closedloop what do customers say about exports?”
  • “@closedloop which deal blockers mention single sign-on?”
@closedloop looks the answer up with the ClosedLoop AI tools, names the customers behind each point and quotes them. It only reads: it never creates or changes anything in your workspace. It answers with the chat model you picked in VS Code.

Other editors

Editors built on VS Code that cannot add an MCP from an extension, such as Cursor and Windsurf, add the ClosedLoop AI MCP by hand: use https://mcp.closedloop.sh for US workspaces and https://eu.mcp.closedloop.sh for EU workspaces, as shown in the MCP setup guide.

Privacy

The extension sends the title of the GitHub issue your branch is named for to your ClosedLoop AI workspace, through the MCP you signed in to. @closedloop sends your question, and what the ClosedLoop AI tools return for it, to the chat model you picked in VS Code.