Integration · AI assistants (MCP)

VS Code integration

Let GitHub Copilot create, read, and edit your flow diagrams from inside VS Code.

Every plan, including Free. The free plan needs no card.

Demo: ask GitHub Copilot in VS Code to map checkout code as a Wavelength flow, allow the tool, and open the flow.▶ Watch the demo

What you can do

Sketch an architecture in agent mode

Ask Copilot to describe how a feature works. It saves the description as a flow in your account.

Turn an old diagram into a flow

Paste a Mermaid block or draw.io XML. Copilot imports it as a flow you can edit.

Bring the flow into a pull request

Export the flow as Mermaid or SVG and add it to the PR description.

See it in action

The video and screenshots come from a real Wavelength account on Windows.

Ask Copilot Chat in Agent mode to map your code. Allow the Wavelength tool, then open the flow it creates.
Click Start above the server in .vscode/mcp.json, then Allow to sign in to Wavelength.
Click Start above the server in .vscode/mcp.json, then Allow to sign in to Wavelength.
Copilot asks before it runs a Wavelength tool that saves a flow.
Copilot asks before it runs a Wavelength tool that saves a flow.
The new flow shows as an interactive diagram in the Copilot chat, next to the code.
The new flow shows as an interactive diagram in the Copilot chat, next to the code.
In Settings, AI connector, turn on Read-only mode if AI tools should only read and export your flows.
In Settings, AI connector, turn on Read-only mode if AI tools should only read and export your flows.

How it works

  1. Open .vscode/mcp.json in your project, or run MCP: Add Server from the Command Palette.
  2. Add this: {"servers": {"wavelength": {"type": "http", "url": "https://wavelengthflow.com/api/mcp"}}}
  3. Click Start above the server.
  4. Sign in with your Wavelength account when VS Code asks, then allow the tools when Copilot asks.

Worked example

In Copilot Chat in agent mode, you type:

"Import the Mermaid diagram in docs/signup.md into Wavelength, then add an email verification step after account creation."

What lands in Wavelength

  • A new flow made from the Mermaid block by import_diagram, with no AI call.
  • A new step, "Verify email", added by an exact graph edit.
  • A saved version for each change, which Copilot can compare with compare_versions.
  • An interactive flow widget inside Copilot Chat.

Who uses this

Security and permissions

VS Code signs in with OAuth, and Copilot asks before it runs each tool. Each tool acts only as you.

Wavelength never sees your workspace files. Read-only mode in Settings, then AI connector, blocks every write.

Read the Trust Center and the subprocessor list for how Wavelength handles your data.

Common questions

Does Wavelength work with GitHub Copilot?

Yes. Add the Wavelength server to VS Code. Copilot in agent mode can then read and edit your flows.

Does it work in other MCP clients?

Yes. Any MCP client that supports remote servers with OAuth can connect to the same URL.

Which formats can Copilot export?

Mermaid, JSON, SVG, and draw.io.

Does it cost extra?

No. The connector uses your normal Wavelength plan. A free account works.