LAX MCP Flow Generation Cursor Client Server
Project description
LambdaX MCP Flow Generation Cursor Client
This is a client-side MCP server that acts as a proxy to the backend LAX MCP Flow Generation server. It solves the performance issue of sending large JSON files through the MCP protocol by handling file reading locally and forwarding requests to the backend server.
Architecture
Cursor → Cursor Client MCP Server → Backend MCP Server
- Cursor: The IDE client that connects to our local MCP server
- Cursor Client MCP Server: This server (stdio transport) that handles file I/O and forwards requests
- Backend MCP Server: The original LAX MCP Flow Generation server (HTTP transport)
Features
- File Path Support: Tools can accept file paths instead of requiring full JSON objects
- Automatic File Reading: Reads JSON files locally to avoid large data transfers
- Transparent Forwarding: All requests are forwarded to the backend server
- Same Interface: Exposes identical tools as the original server
- Error Handling: Proper error handling for file operations and network requests
Available Tools
validate_flow: Validates flow JSON (supports file paths)search_flows: Search for similar flowssearch_flows_by_node: Search flows by specific nodesearch_nodes: Search for available nodescheck_flow_exists_lax: Check if flow exists in LAXsearch_advanced_features: Search for advanced featuressearch_functions: Search for transform functionsfetch_execution_of_node: Get node execution examplesget_node_by_name: Get node details by namethink: Log reasoning and analysisget_flow_by_name: Retrieve flow by namesave_flow_to_lax: Save flow to LambdaX (supports file paths)
Usage
Add this to your Cursor MCP configuration:
{
"mcpServers": {
"lax-mcp-flow-generation": {
"command": "lax-mcp-flow-gen",
"args": [],
"env": {
"BACKEND_SERVER_URL": "http://localhost:8000/mcp?username=YOUR_USERNAME&password=YOUR_PASSWORD"
}
}
}
}
Examples
Using validate_flow with file path
Instead of:
{
"flow_json": { /* large JSON object */ }
}
You can now use:
{
"flow_json": "/path/to/flow.json"
}
The server will automatically read the file and forward the content to the backend.
Environment Variables
BACKEND_SERVER_URL: URL of the backend MCP server (default: http://localhost:8000/mcp)LOG_LEVEL: Logging level (default: INFO)MAX_FILE_SIZE: Maximum file size in bytes (default: 10485760 = 10MB)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lax_mcp_flow_generation_cursor_client-0.0.3.tar.gz.
File metadata
- Download URL: lax_mcp_flow_generation_cursor_client-0.0.3.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30911296513e7ffa6eb4272e3015de333924daf88e790905657f4ff48841eafe
|
|
| MD5 |
30f19fbc011f13449ed63387b480c566
|
|
| BLAKE2b-256 |
2aec140737c82f43c5a910b33b63b008a16f252d17bf38cc40ad152ab07228a0
|
File details
Details for the file lax_mcp_flow_generation_cursor_client-0.0.3-py3-none-any.whl.
File metadata
- Download URL: lax_mcp_flow_generation_cursor_client-0.0.3-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33aeaad1f41281d31e0c3a72302e03c10807c10e01ab71a1aa1db7bcfeb48d04
|
|
| MD5 |
39f45cf15a3e5208fa535139a47e6ccf
|
|
| BLAKE2b-256 |
299f44ea8b91dba497facb87c4b66b5d2fcf0c0752593f3774af79e47e492144
|