Skip to main content

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 flows
  • search_flows_by_node: Search flows by specific node
  • search_nodes: Search for available nodes
  • check_flow_exists_lax: Check if flow exists in LAX
  • search_advanced_features: Search for advanced features
  • search_functions: Search for transform functions
  • fetch_execution_of_node: Get node execution examples
  • get_node_by_name: Get node details by name
  • think: Log reasoning and analysis
  • get_flow_by_name: Retrieve flow by name
  • save_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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lax_mcp_flow_generation_cursor_client-0.0.1.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file lax_mcp_flow_generation_cursor_client-0.0.1.tar.gz.

File metadata

File hashes

Hashes for lax_mcp_flow_generation_cursor_client-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b9586439a1cb8259bba747ddf3da34308457aa78aef1009e4fb494c2498aec47
MD5 82ff7cf2174603d9257878bc545f64e6
BLAKE2b-256 8decf2e591452e131ef1e9d76bb591e51eae1232b70339bfbb2674eb649c94f0

See more details on using hashes here.

File details

Details for the file lax_mcp_flow_generation_cursor_client-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for lax_mcp_flow_generation_cursor_client-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 29697f3b4ec5c3490881a326c17225fceac3f59356847163a17f2cb0b3e924cb
MD5 0de7a260ec5634133e5d9a74c61d8d22
BLAKE2b-256 94699075fdf989f6508a2d08fcb723da109879895b44e97c0d78cf89df5c806e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page