Integration StudioMCP Support

External MCP Servers

Connect to external MCP servers via URL or stdio commands

External MCP Servers allow you to connect FlowGenX to MCP servers running outside the platform. This enables you to leverage existing MCP integrations, use community-built servers, or connect to your own custom implementations.

Connect External Tools

Import tools from any MCP-compatible server running anywhere

Two Connection Methods

FlowGenX supports two ways to connect to external MCP servers:

External Hosted

Connect to MCP servers accessible via HTTP/HTTPS URL. Perfect for cloud-hosted or publicly accessible MCP services.

Jump to guide →

External Stdio

Launch MCP servers via command-line execution. Ideal for local development tools and CLI-based integrations.

Jump to guide →

External Hosted Servers

External Hosted servers connect to MCP servers running at a specific URL endpoint.

When to Use

  • MCP servers hosted in the cloud (AWS, GCP, Azure)
  • Third-party MCP services with public endpoints
  • Your own MCP servers running on internal networks
  • MCP servers with SSE (Server-Sent Events) transport

Step-by-Step Guide

Step 1: Start the Creation Wizard

1

Navigate to MCP Server Builder

Go to Agentic ToolkitMCP Servers and click Create MCP Server.

Step 2: Select External Hosted Type

2

Choose "External Hosted"

In the server type selection, choose "External Hosted". Fill in basic server information (name, slug, description).

Screenshot placeholder: Server type selection with External Hosted

Step 3: Enter Server URL

3

Provide the Server URL

Enter the URL where the MCP server is accessible. The URL should point to the MCP server's endpoint.

The connection configuration should include:

  • url - The server endpoint URL
  • transport - Usually "sse" for HTTP connections
Screenshot placeholder: Server URL configuration

Step 4: Configure Connection

4

Set Connection Configuration

Configure additional connection settings in the JSON editor. Common options include:

  • headers - Custom HTTP headers for authentication
  • timeout - Connection timeout in milliseconds
  • retries - Number of retry attempts on failure
Screenshot placeholder: Connection configuration

Step 5: Discover Tools

5

Connect and Discover Tools

Click Connect to establish a connection to the external server. FlowGenX will:

  1. Connect to the server at the specified URL
  2. Query the server for available tools
  3. Display all discovered tools with their descriptions
Screenshot placeholder: Tool discovery results

Step 6: Select and Import Tools

6

Choose Tools to Import

Select which tools you want to make available in FlowGenX:

  • Use checkboxes to select individual tools
  • Click Select All to import everything
  • Review tool names and descriptions

Click Create Server to finalize the import.

Screenshot placeholder: Tool selection step

External Stdio Servers

External Stdio servers launch MCP servers via command-line execution and communicate through standard input/output.

When to Use

  • Local development and testing
  • CLI-based tools (Python scripts, Node.js apps)
  • Tools that run as background processes
  • File system or local resource access

Step-by-Step Guide

Step 1: Start the Creation Wizard

1

Navigate to MCP Server Builder

Go to Agentic ToolkitMCP Servers and click Create MCP Server.

Step 2: Select External Stdio Type

2

Choose "External Stdio"

In the server type selection, choose "External Stdio". Fill in basic server information (name, slug, description).

Screenshot placeholder: Server type selection with External Stdio

Step 3: Enter Command

3

Specify the Launch Command

Enter the command to launch the MCP server. Common examples:

Python MCP Server

python -m my_mcp_server

Node.js MCP Server

npx @modelcontextprotocol/server-filesystem

UV (Python)

uvx mcp-server-sqlite --db-path ./data.db

Screenshot placeholder: Command configuration

Step 4: Configure Arguments and Environment

4

Set Arguments and Environment Variables

Configure additional settings for the process:

  • Arguments - Command-line arguments passed to the process
  • Environment Variables - Set environment variables (API keys, config paths)
  • Working Directory - Directory where the process runs
Screenshot placeholder: Arguments and environment configuration

Step 5: Discover Tools

5

Launch and Discover Tools

Click Connect to launch the process and discover tools:

  1. FlowGenX spawns the process with the specified command
  2. Establishes stdio communication with the MCP server
  3. Queries for available tools
  4. Displays discovered tools for selection
Screenshot placeholder: Tool discovery from stdio server

Step 6: Select and Create

6

Select Tools and Create Server

Select the tools you want to import and click Create Server.


Security Considerations

Important Security Notes

  • Verify server sources - Only connect to MCP servers from trusted sources.
  • Review tool capabilities - Understand what each imported tool can do before enabling it for agents.
  • Protect credentials - Use environment variables for sensitive data, never hardcode secrets.
  • Network access - External hosted servers require network connectivity; ensure firewalls allow access.
  • Process permissions - Stdio servers run with the permissions of the FlowGenX service; limit as appropriate.
  • Monitor usage - Enable logging to track how agents use external tools.

Troubleshooting

Connection Failed

  • Verify the URL is correct and the server is running
  • Check if the server requires authentication headers
  • Ensure network connectivity and firewall rules allow access
  • Try the URL directly in a browser or with curl

No Tools Discovered

  • Verify the server implements the MCP tools/list method
  • Check server logs for errors
  • Ensure the server is properly initialized before discovery

Stdio Process Fails

  • Verify the command is correct and executable exists
  • Check if required dependencies are installed
  • Ensure environment variables are set correctly
  • Try running the command manually in a terminal

Best Practices

Tips for External MCP Servers

  • Test locally first - Verify stdio servers work on the command line before importing.
  • Use versioned endpoints - For hosted servers, use versioned URLs to prevent breaking changes.
  • Document dependencies - Keep track of what's required for stdio servers to run.
  • Handle failures gracefully - External servers may be unavailable; configure appropriate timeouts.
  • Regular updates - Use the refresh feature to sync with upstream tool changes.

Ask AI

FlowGenX Documentation

How can I help you?

Ask me anything about FlowGenX AI - workflows, agents, integrations, and more.

AI responses based on FlowGenX docs