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.3.tar.gz (12.3 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.3.tar.gz.

File metadata

File hashes

Hashes for lax_mcp_flow_generation_cursor_client-0.0.3.tar.gz
Algorithm Hash digest
SHA256 30911296513e7ffa6eb4272e3015de333924daf88e790905657f4ff48841eafe
MD5 30f19fbc011f13449ed63387b480c566
BLAKE2b-256 2aec140737c82f43c5a910b33b63b008a16f252d17bf38cc40ad152ab07228a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lax_mcp_flow_generation_cursor_client-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 33aeaad1f41281d31e0c3a72302e03c10807c10e01ab71a1aa1db7bcfeb48d04
MD5 39f45cf15a3e5208fa535139a47e6ccf
BLAKE2b-256 299f44ea8b91dba497facb87c4b66b5d2fcf0c0752593f3774af79e47e492144

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