🤖 CreateLex Local MCP
Direct MCP integration for VSCode and Cursor - No separate bridge app required!
CreateLex Local MCP brings the power of Model Context Protocol directly into your code editor, enabling seamless AI assistance with full context awareness of your codebase.
What this does
- Logs you into CreateLex and stores a secure token in VS Code Secret Storage
- Verifies active subscription via CreateLex
- Starts a local Python MCP server (
mcp_server_protected.py) with your authentication token
- Auto-writes MCP server settings so editors that support MCP (VSCode, Cursor, Windsurf, Claude Desktop) can connect
- Bridges MCP stdio to your local CreateLex MCP server (localhost:38080) with authentication
Quick start
- Open the CreateLex MCP sidebar from the Activity Bar (robot icon)
- Click the Login button in the Control Panel
- Use browser login (recommended) or paste an access token
- Click Start Server to launch the MCP server
- This starts the Python MCP server locally and configures your editor
- Use your AI editor with MCP. The extension adds an MCP server named
createlex-unreal to your global settings.
No need to install CreateLex-Bridge app! This extension handles everything.
Settings
createlex.baseUrl (default: https://createlex.com)
createlex.mcpHost (default: localhost)
createlex.mcpPort (default: 38080)
createlex.autoConfigureMcp (default: true)
createlex.debug (default: false)
How it works
- The extension starts a local Python MCP server (
mcp_server_protected.py) with your authentication token.
- It runs a TCP bridge server on localhost:38080 that forwards requests to the Python server.
- The extension includes a small stdio bridge (
bridge-stdio-client.js) that connects to this TCP server.
- Your editor starts this bridge as the MCP "command".
- JSON-RPC requests are forwarded directly to the local server, exactly like the CreateLex-Bridge app does.
Compatibility
- VSCode and Cursor (writes
mcp.servers to global settings)
- Other MCP-enabled editors that read VS Code settings
Features
The Control Panel in the sidebar provides easy access to all functions:
- Login – authenticate with CreateLex via browser or token
- Logout – clear stored token and stop MCP server
- Show Status – check login/subscription status
- Start Server – start MCP server and configure editors
- Stop Server – stop the running MCP server
- Refresh – update the control panel display
Uninstall cleanup
If you want to remove the MCP settings, delete the mcp.servers entry from your user settings.
1 cd C:\Dev\AiWebplatform\vscode-extension-cloud-mcp
npm install
2 npm run build:prod (optional but keeps build-info.json up to date before packaging).
3 npm run package:marketplace
This runs vsce package, which bundles the entire extension including node_modules/, producing createlex-local-mcp-0.2.0.vsix at ~17 MB (command output shows “Packaged … 16.97 MB”).
Verify size if you want: Get-Item .\createlex-local-mcp-0.2.0.vsix | Select-Object Length.
Install/Update