Docs · Integrations
Connect LexVibe to any AI coding tool
LexVibe ships a Model Context Protocol (MCP) server in two flavors: a local stdio server (npx -y @lexvibe/mcp) that can scan your repo and install the cookie-banner snippet into your files, and a remote server over Streamable HTTP at https://lexvibe.vercel.app/api/mcp for browser-based agents that cannot run local processes. Platforms without MCP support get the same result through a single prompt.
| Platform | Method | Setup |
|---|---|---|
| Claude Code | MCP — stdio or remote | claude mcp add |
| Claude Desktop / claude.ai | MCP — remote | Settings → Connectors |
| Cursor | MCP — stdio | .cursor/mcp.json or one-click |
| Windsurf | MCP — stdio | mcp_config.json |
| Cline | MCP — stdio | cline_mcp_settings.json |
| VS Code (agent mode) | MCP — stdio | .vscode/mcp.json |
| Zed | MCP — stdio or remote | settings.json |
| ChatGPT | MCP — remote | Settings → Connectors |
| Lovable / Bolt / v0 / Base44 / Replit | Prompt | https://lexvibe.vercel.app/prompt |
Claude Code
Local (recommended — the agent can scan the repo and install the snippet for you):
claude mcp add lexvibe -- npx -y @lexvibe/mcpOr connect to the remote server (no local install):
claude mcp add --transport http lexvibe https://lexvibe.vercel.app/api/mcpThen ask: “Make my app legally compliant for the EU.” The make_compliant tool does everything in one step.
Claude Desktop & claude.ai
Add LexVibe as a custom connector: open Settings → Connectors → Add custom connector and paste the remote server URL:
https://lexvibe.vercel.app/api/mcpClaude can then check any website or app-store listing, draft localized policies, classify EU AI Act risk and hand you the exact install snippet — from the browser or the desktop app.
Cursor
One-click install: Add LexVibe to Cursor (uses Cursor's cursor://anysphere.cursor-deeplink/mcp/install deeplink). Or create .cursor/mcp.json in your project (or ~/.cursor/mcp.json for all projects):
{
"mcpServers": {
"lexvibe": {
"command": "npx",
"args": ["-y", "@lexvibe/mcp"],
"env": { "LEXVIBE_APP_ID": "YOUR_APP_ID" }
}
}
}Windsurf & Cline
Both use the standard mcpServers config. In Windsurf, add it to ~/.codeium/windsurf/mcp_config.json. In Cline, open MCP Servers → Configure MCP Servers (which edits cline_mcp_settings.json):
{
"mcpServers": {
"lexvibe": {
"command": "npx",
"args": ["-y", "@lexvibe/mcp"],
"env": { "LEXVIBE_APP_ID": "YOUR_APP_ID" }
}
}
}VS Code (agent mode)
GitHub Copilot's agent mode reads MCP servers from .vscode/mcp.json:
{
"servers": {
"lexvibe": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@lexvibe/mcp"]
}
}
}Zed
Add a context server to your settings.json:
{
"context_servers": {
"lexvibe": {
"command": "npx",
"args": ["-y", "@lexvibe/mcp"],
"env": {}
}
}
}Zed also supports remote servers directly — use { "url": "https://lexvibe.vercel.app/api/mcp" } instead of command.
ChatGPT
ChatGPT connects to remote MCP servers via connectors (available on paid plans; custom connectors may require enabling developer mode). Open Settings → Connectors → Create and paste:
https://lexvibe.vercel.app/api/mcpNo authentication is required — the LexVibe remote server is anonymous.
Lovable, Bolt, v0, Base44 & Replit
These builders don't support MCP yet, so LexVibe speaks their language: a prompt. Paste this one-liner into your AI builder's chat:
Read https://lexvibe.vercel.app/prompt and follow it to make this app legally compliant (privacy policy, terms, cookie banner, EU AI Act).The agent fetches https://lexvibe.vercel.app/prompt — step-by-step instructions to discover your legal needs from the code, generate the documents and install the snippet. Product context for AI assistants lives at https://lexvibe.vercel.app/llms.txt. Prefer zero setup? Paste your URL (website or App Store / Google Play listing) at https://lexvibe.vercel.app/check for an instant compliance report.
About the remote MCP server
The remote endpoint (https://lexvibe.vercel.app/api/mcp, Streamable HTTP, no auth) exposes: check_website, check_store, generate_policies (template-based drafts, capped for anonymous callers), check_ai_act, get_install_snippet, and claim_app / get_claim_status — the agent hands you a link to sign in and confirm, which creates a real app in your account and gives the agent the real app id and snippet (no more YOUR_APP_ID placeholder). It cannot read or write your files — for repo scanning and automatic snippet installation use the stdio server (npx -y @lexvibe/mcp). Stdio-only clients can bridge to the remote server with npx -y mcp-remote https://lexvibe.vercel.app/api/mcp.