Connect to VS Code

Overview

Integrate Compliancely into Visual Studio Code using the Model Context Protocol (MCP). Once configured, VS Code AI assistants can securely access Compliancely verification and compliance services directly from your development environment.


Prerequisites


Setup instructions

Option 1: One-Click Install

To open VS Code and automatically add the Compliancely MCP - Install in VS Code

VS Code will automatically configure the MCP server and prompt for authentication when needed.

Option 2: Manual Configuration

  1. Open Command Palette:

    Ctrl + Shift + P

  2. Open MCP configuration settings.
  3. Add the following configuration:
     {
      "servers": {
        "compliancely": {
          "type": "http",
          "url": "https://mcp.compliancely.com/mcp"
        }
      }
    }
  4. Save the configuration
  5. Reload VS Code.

Authenticate with Compliancely

When a Compliancely tool is used for the first time:

  1. VS Code opens a browser window.
  2. Sign in to your Compliancely account.
  3. Review requested permissions.
  4. Approve access.

Authentication tokens are then securely managed by the IDE.

Verify Your Connection

Open your AI chat panel and enter:

List available Compliancely tools

or

Verify the MCP connection

Successful setup will display available Compliancely tools.

Troubleshooting

MCP Server Not Available

Verify:

  • MCP support is enabled in your extension
  • Configuration syntax is valid
  • The server URL is reachable

Authentication Failed

Try:

  • Reauthorizing access
  • Restarting VS Code
  • Clearing cached credentials

Service Invocation Errors

Verify:

  • Network connectivity
  • Account permissions
  • Available usage credits

Support

Need help? Reach the Compliancely team through these channels.

[email protected]