For the complete documentation index, see llms.txt. This page is also available as Markdown.

Install FLORA MCP in VS Code

Add FLORA MCP to VS Code for GitHub Copilot agent mode with code --add-mcp or a .mcp.json file, then sign in with your FLORA account.

VS Code connects to FLORA MCP as an HTTP server, and GitHub Copilot's agent mode can then call FLORA's tools. Add it with one command, an install link, or a few lines of JSON.

Fastest

code --add-mcp '{"name":"flora","type":"http","url":"https://agents.flora.ai/mcp"}'

Or

The install link, or .mcp.json at the root of your repo

Needs

VS Code with GitHub Copilot. On Copilot Business or Enterprise, your admin must enable the MCP servers in Copilot policy. Plus a FLORA plan: Starter or above for ongoing use, or Free on the $2.50 of usage every new workspace gets (pricing, details).

Sign in

VS Code asks you to trust and sign in when flora first starts

Verify

"List my FLORA workspaces. Don't generate anything."

Remove

MCP: List Servers, select flora, then uninstall

Install with one command

code --add-mcp '{"name":"flora","type":"http","url":"https://agents.flora.ai/mcp"}'

This adds flora to your user-level MCP configuration, so it's available in every workspace. In Windows PowerShell, escape the inner quotes:

code --add-mcp '{\"name\":\"flora\",\"type\":\"http\",\"url\":\"https://agents.flora.ai/mcp\"}'

Install in VS Code

If the button doesn't open VS Code, paste this into your browser's address bar:

vscode:mcp/install?%7B%22name%22%3A%22flora%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fagents.flora.ai%2Fmcp%22%7D

You can also run MCP: Add Server from the Command Palette, choose HTTP, enter https://agents.flora.ai/mcp, and name it flora.

Or add it to a workspace

To share FLORA with everyone who opens a repo, create .mcp.json at its root and commit it. This portable format also works in Claude Code and other tools that read .mcp.json:

For yourself across every workspace, put the same JSON in ~/.copilot/mcp-config.json (or $COPILOT_HOME/mcp-config.json).

VS Code still reads its older locations, .vscode/mcp.json and the user-profile file that MCP: Open User Configuration opens, but now lists them as deprecated. Those files use a servers object instead of mcpServers:

Sign in

  1. The first time flora starts, VS Code asks whether you trust it. Review it and allow it.

  2. VS Code asks to sign in to FLORA. Allow it, and your browser opens FLORA's sign-in page.

  3. Sign in with the account you use at app.flora.ai, then return to VS Code.

VS Code registers itself with FLORA automatically (dynamic client registration), stores the token and refreshes it. See Authentication.

Check it works

Open Copilot Chat, switch to Agent mode, and open the tools picker: flora should be listed with its tools. Then ask:

List my FLORA workspaces. Don't generate anything.

Copilot asks permission to call flora_list_workspaces, then lists your workspaces.

Use an API key instead (headless)

To use a FLORA API key, have VS Code prompt for it once and keep it out of the file. This example uses the .vscode/mcp.json format, which supports inputs. See API keys.

Gotchas

Symptom
Cause
Fix

FLORA tools don't show in chat

Copilot Chat is in Ask mode

Switch to Agent mode.

MCP is unavailable in Copilot Chat

On Copilot Business or Enterprise, the MCP servers in Copilot policy is off (the default)

Ask your GitHub organization or enterprise admin to enable it.

flora shows as stopped or errored

The server didn't start, or the URL has a trailing slash (/mcp/ returns 404)

Run MCP: List Servers, select flora, and start it. Check the URL is exactly https://agents.flora.ai/mcp.

The config is ignored

The keys don't match the file: .mcp.json and ~/.copilot/mcp-config.json use mcpServers, while .vscode/mcp.json uses servers. Or "type": "http" is missing

Use the JSON above for the file you chose.

Copilot calls a retired tool such as flora_generate

Old instructions or a cached tool list

Those tools are retired. Restart the server. See Retired tools.

Remove

Run MCP: List Servers from the Command Palette, select flora, and choose to uninstall it. You can also right-click it under MCP SERVERS - INSTALLED in the Extensions view. For a workspace install, delete the flora entry from .mcp.json (or .vscode/mcp.json). To clear FLORA's sign-in, run Authentication: Remove Dynamic Authentication Providers. If you used an API key, revoke it in FLORA; see Disconnect and revoke.

Next

Last updated

Was this helpful?