Connect Lucid to VS Code Copilot

Written by:  Morgan T
Last updated:  

By connecting Lucid with Visual Studio (VS) Code Copilot through the GitHub MCP Registry, you can use natural language to locate and summarize your documents, generate diagrams, and share them with your team. Read this article to learn more.

Plan availability: Free, Individual, Team, and Enterprise.

For Lucid admins: Enable the MCP server

If you are on a Team or Enterprise Lucid account, your Lucid admin must first enable the MCP server. If you are on a Free or Individual Lucid account, skip to the Connect VS Code Copilot to your Lucid account section below.

  1. From the Lucid Home Page, select Admin from the menu to the left.
  2. Select Security from the left-hand navigation menu.
  3. Select AI controls from the dropdown options.
  4. Under “MCP access”, use the toggle next to "Allow users to connect”.
  5. Click Enable MCP or Disable MCP in the modal that appears.
  6. Click Save changes in the top-right corner.

Once the Lucid MCP Server has been enabled, any Lucid user on your account can follow the steps in the next section to connect Lucid to VS Code Copilot.

Connect VS Code Copilot to your Lucid account

Follow these steps to connect VS Code Copilot to your Lucid account:

  1. Open the GitHub MCP Registry.
  2. Use the search bar at the top to search “Lucid”.
  3. Select the Lucid tile.
  4. Click Install MCP Server on the right side of the page.
  5. Select Install in VS Code.
    • VS Code will open in a separate window.
  6. Click Install.

The Lucid MCP Server is now ready to use in VS Code Copilot.

Features

The Lucid VS Code Copilot app has the same features and capabilities as the Lucid MCP server.

For a complete list of Lucid MCP server use cases and example prompts, check out this post from the Lucid Community.

FAQ

What information can the VS Code Copilot integration access?
Lucid’s VS Code Copilot app uses the Lucid MCP server to surface Lucid documents that you have permissions to access. It can access document titles, content, comments, and metadata to provide the LLM with the context it needs to fulfill your request.

Can I edit the diagrams that VS Code Copilot creates? 
Yes. When you ask VS Code Copilot to create a diagram, it generates a preview along with the option to open the document in Lucid. Edits can be made manually from inside the document or by prompting the MCP server from VS Code Copilot.

Give feedback on this article

Have feedback about this article? Tell us about your experience here.

Did you find what you were looking for?

Still have a question or want to share what you have learned? Visit our Community   to get help and collaborate with others.