Guides: Hub Claude Desktop Cursor VS Code Windsurf Continue Cline Compare
🔗 Continue — Open-Source AI Assistant

Continue
MCP Server Setup Guide

Continue is an open-source AI coding assistant for VS Code and JetBrains. It supports MCP via its ~/.continue/config.json configuration file with both HTTP and stdio transport.

HTTP + stdio ~/.continue/config.json VS Code + JetBrains
Transport
HTTP + stdio
Config key
mcpServers
Config file
~/.continue/config.json
IDEs
VS Code, JetBrains

Prerequisites

  • Continue extension — install from VS Code Marketplace or JetBrains Marketplace
  • anonym.legal API key — Pro or Business plan

Installation

1

Open Continue Config

In VS Code, press Cmd/Ctrl+Shift+PContinue: Open config.json. Or open directly at ~/.continue/config.json.

2

Add MCP Server — HTTP Method

~/.continue/config.jsonjson
{
  "models": [...],
  "mcpServers": [
    {
      "name": "anonym-legal",
      "transport": {
        "type": "streamableHttp",
        "url": "https://anonym.legal/mcp",
        "requestOptions": {
          "headers": {
            "Authorization": "Bearer YOUR_API_KEY"
          }
        }
      }
    }
  ]
}
3

Alternative: stdio Method

~/.continue/config.json — stdiojson
{
  "mcpServers": [
    {
      "name": "anonym-legal",
      "transport": {
        "type": "stdio",
        "command": "npx",
        "args": ["-y", "@anthropic-ai/mcp-server-anonym-legal"],
        "env": {
          "ANONYM_LEGAL_API_KEY": "YOUR_API_KEY"
        }
      }
    }
  ]
}
4

Reload Continue

Press Cmd/Ctrl+Shift+PContinue: Reload config. The server will connect automatically. Check the Continue panel for the anonym-legal server status.

Available Tools (7)

anonym_legal_analyze_text
free
Scan text and return all detected PII entities with type, position, and confidence score — without modifying anything.
anonym_legal_anonymize_text
tokens
Replace PII with reversible tokens using configurable operators per entity type. Returns anonymized text + session token map.
anonym_legal_detokenize_text
free
Restore original PII values from session tokens. Used to de-anonymize AI responses.
anonym_legal_get_balance
free
Returns your current token balance, plan tier, and next reset date.
anonym_legal_estimate_cost
free
Preview token cost for a text before anonymizing it. No tokens consumed.
anonym_legal_list_sessions
free
List all active tokenization sessions with creation time, entity count, and expiry.
anonym_legal_delete_session
free
Delete a session and all stored tokens — for GDPR right-to-erasure compliance.

Operators (6)

replace
Substitute with custom text or entity type label.
John Smith → [CLIENT] or [PERSON]
redact
Remove entirely — no trace left in the text.
john@acme.com → (removed)
hash
SHA-256 or SHA-512 — deterministic, one-way. Enables deduplication across documents.
John Smith → a3f9b1...
encrypt
AES-256 with your personal key — reversible only by key holder.
4111-xxxx → enc:U2FsdGVkX1...
mask
Partial replacement — configurable chars from start or end.
john@acme.com → jo**@****.com
keep
Detect but pass through unchanged. Useful to audit without modifying.
John Smith → John Smith (tracked)

Troubleshooting

mcpServers not recognized

Ensure your Continue version supports MCP (0.9.195+). Update via VS Code Marketplace. Also note Continue uses an array for mcpServers, not an object like other clients.

JetBrains: config location

JetBrains Continue uses the same ~/.continue/config.json — the config is shared across all IDEs. Make sure you're editing the right file.