MCP Servers
Configuring MCP servers for tool connectivity in workflows.
MCP (Model Context Protocol) servers provide tool connectivity for workflows. They allow Agent and Action nodes to interact with external services such as Slack, Telegram, Google Workspace, file systems, and more.
MCP server configurations are managed at the organization level and assigned to specific workspaces.
Built-in Server Types
FlowTrux includes several built-in MCP server types:
| Server | Description | Required Configuration |
|---|---|---|
| YouTrack | Issue tracking integration. | baseUrl, apiKey |
| Telegram | Telegram Bot messaging. | botToken, chatId |
| Slack | Slack workspace messaging. | botToken, defaultChannel (optional) |
| Filesystem | Local file operations. | outputDir, allowedDirs |
| Stocks | Financial market data (Polygon or Finnhub). | provider, apiKey |
| Google Workspace | Google Sheets, Gmail, Calendar, Drive. | clientId, clientSecret (+ OAuth connection) |
| Files | S3-based file storage operations. | Automatically configured per workspace. |
| SSH | Remote server command execution and file transfer. | host, username, privateKey or password |
| Twilio | SMS, voice calls, WhatsApp messaging. | accountSid, authToken, fromNumber |
| PDF document generation (markdown, reports, tables). | Automatically configured per workspace. | |
| Notion | Notion pages, databases, blocks, comments. | apiKey (integration token) |
| GitHub | GitHub issues, PRs, repos, Actions. | token (PAT), owner (optional) |
| Jira | Jira Cloud issues, projects, sprints, transitions. | baseUrl, email, apiToken |
| Wialon | Wialon Hosting / Local telematics: units, messages, geofences, reports, ACL. | hostUrl, token |
Adding an MCP Server
Built-in Servers
- Navigate to Settings > MCP Servers.
- Click Add Server.
- Select a built-in server type from the dropdown.
- Fill in the required configuration fields for that server type.
- Click Save.
External Servers
For MCP servers not included as built-in types:
- Navigate to Settings > MCP Servers.
- Click Add Server.
- Select External as the server type.
- Provide the command to run the server, arguments, and any environment variables.
- Click Save.
All configuration values are encrypted before being stored in the database.
Google Workspace Setup
The Google Workspace server requires an additional OAuth connection step:
- Create a project in Google Cloud Console.
- Enable the APIs you need: Sheets, Gmail, Calendar, Drive.
- Create OAuth 2.0 credentials (Web application type).
- Add the redirect URI:
https://<your-domain>/api/auth/google-workspace/callback. - In FlowTrux, add a Google Workspace MCP server with your Client ID and Client Secret.
- After saving, click Connect Google Account and authorize access on the Google consent screen.
- Assign the server to a workspace.
The UI shows the connection status: a green "Connected" badge with the authorized email, or an amber "Not connected" indicator with a "Connect" button.
Assigning to Workspaces
MCP servers are not available in any workspace by default. To assign them:
- Go to Settings > Workspaces.
- Click Edit on the target workspace.
- Under Allowed MCP Servers, check the servers you want to make available.
- Save.
Only assigned servers appear in the MCP Action node dropdown within the workflow editor. If no servers are assigned to the current workspace, the editor displays a warning message.
Testing a Server
To verify a server is working correctly:
- Assign the server to a workspace.
- Create or open a workflow in that workspace.
- Add an MCP Action node.
- Open the node inspector and confirm the server appears in the server dropdown.
- Select the server and verify its tools are listed.
Connection Pool
FlowTrux uses a workspace-scoped connection pool for MCP servers. Connections are reused across concurrent workflow executions within the same workspace. Idle connections are automatically cleaned up after 5 minutes. The pool supports a maximum of 50 entries.