Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>SWC-Secure-mcpNew to Visual Studio Code? Get it now.
SWC-Secure-mcp

SWC-Secure-mcp

Dzmitry Bulauka

| (0) | Free
SWC secure MCP server setup and registration for VS Code and Cursor
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

swc-mcp VS Code / Cursor extension

Registers the bundled swc-mcp stdio MCP server and provides a tabbed Setup sidebar for secure-store configuration, per-integration MCP tool policy, and mcp.json helpers.

Requirements

  • VS Code 1.102+ or Cursor with extension support
  • Windows or macOS for OS secure-store configuration (same as the server CLI)
  • Node.js >= 20.11 on PATH (used to launch the bundled server)

Build

From the swc-mcp repository root:

npm install
npm run build:extension

This produces:

  • extension/out/extension.js — extension host bundle
  • extension/resources/server/index.js (+ any index*.js ncc chunks) copied from dist/

Package a VSIX:

npm run package:extension

Usage

  1. Install the extension (VSIX or F5 from extension/).
  2. Open the swc-mcp activity bar container → Setup webview.
  3. Use the tabs:
    • General — server metadata, setup checklist, status, mcp.json example, export portable server, reset all auth
    • GitLab / Figma / Jira / Confluence / Slack — in-webview credentials (verify on save), reset, and MCP tool toggles for that integration
  4. Credentials are stored in the OS secure store (swc-mcp/<account>), not in mcp.json. Leave a secret field blank on save to keep the existing token.
  5. MCP tools are registered automatically:
    • VS Code: vscode.lm.registerMcpServerDefinitionProvider
    • Cursor: vscode.cursor.mcp.registerServer when available
  6. Export portable server copies the full portable bundle (index.js and any index*.js chunks) to a folder of your choice and offers mcp.json copy/merge actions for Cursor, VS Code workspace config, or external clients.

Commands

Command Description
swc-mcp: Open Setup Focus the Setup webview
swc-mcp: Show Status Open Setup on the General tab (status section)
swc-mcp: Export Portable Server Copy bundled server + mcp.json helpers
swc-mcp: Copy mcp.json Example Copy snippet for the bundled binary

Manual test matrix

Check Steps
Tab navigation Switch General ↔ integrations; tab badges update without full reload flicker
Server save General → edit name/version/log level → Save server
Provider save Integration tab → valid credentials → Save & verify; invalid token shows inline error
Token reuse Save once, clear token field, save again — verification still succeeds
Tool toggle Figma tab → filter tools → toggle one checkbox; only that row and badge update
Reset provider Integration → Reset → confirm → form shows not configured
Reset all auth General → Reset all auth → confirm → checklist shows missing providers
Export / mcp.json General → Export portable; Copy mcp.json example
Show status command swc-mcp: Show Status opens General with status block
Linux read-only Unsupported notice; export and mcp.json actions still enabled; forms disabled
Host OS Check
VS Code Windows Extension activates; MCP server appears; Figma configure + tool toggle
Cursor Windows cursor.mcp.registerServer registers server; tabbed Setup flows
VS Code macOS Secure store read/write; status matches CLI
Either Linux Unsupported notice; read-only General actions still available

See the swc-mcp server README in the repository root for provider token scopes and security notes.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft