Download Now

MCP Extensions

MCP (Model Context Protocol) is an open protocol that lets AI connect to external tools. Through MCP, you can give SailFish’s AI Agent direct access to query databases, call APIs, and operate various external services—like installing dedicated plugins for the AI.

What is MCP

Without MCP

When the AI needs to query a database, it must do so indirectly through the terminal:

You: How many users are in the users table?
AI: [Runs mysql -u root -p -e "SELECT COUNT(*) FROM users"]
    → Needs password, handles command-line output parsing...

With MCP

The AI operates directly through structured interfaces:

You: How many users are in the users table?
AI: [Calls the MySQL MCP tool's query method]
    → Gets structured results directly, faster and more accurate

The MCP ecosystem includes many open-source tools covering databases, file systems, version control, cloud services, and more.

Adding MCP Tools

SailFish includes preset templates for popular MCP tools:

  1. Open SettingsMCP Configuration
  2. Click Add
  3. Select the tool you need from the template list (e.g., MySQL, PostgreSQL)
  4. Fill in the required configuration (e.g., database address, username, password)
  5. Save and enable

Manual Configuration

If no preset fits your needs, you can manually configure any MCP-compatible tool:

  1. Click AddManual Configuration
  2. Fill in the configuration:
FieldDescriptionExample
NameCustom name for identification”Production Database”
Transportstdio (local process) or SSE (remote service)stdio
CommandCommand to start the MCP server (stdio mode)npx @modelcontextprotocol/server-mysql
ArgumentsCommand-line arguments--host 10.0.1.50 --port 3306
Environment variablesVariables passed to the MCP processMYSQL_PASSWORD=xxx
URLMCP server address (SSE mode)http://localhost:8080/sse

Two Transport Modes

TransportHow It WorksUse Case
stdioSailFish starts a local process and communicates via stdin/stdoutMost scenarios (recommended)
SSEConnects to a remote HTTP server via Server-Sent EventsMCP service hosted on a remote server
MCP ToolFunctionUse Case
mysqlQuery and operate MySQL databasesData analysis, DB operations
postgresQuery and operate PostgreSQLData analysis, DB operations
sqliteOperate SQLite databasesLocal data file analysis
filesystemEnhanced file system operationsComplex file management
gitGit repository operations (commit, branch, log)Code management and review
fetchSend HTTP requestsREST API calls
puppeteerBrowser automationScreenshots, web scraping
memoryPersistent knowledge graphStoring structured information
everythingWindows file searchQuick file lookups

Browse the full MCP tool catalog at MCP official directory.

Using MCP Tools

Once MCP is configured, the AI automatically detects available tools and invokes them when needed. Just describe what you want in natural language:

Database Queries

How many users registered in the last 7 days?
What's the total order amount for today in the orders table?
List products with stock below 10 in the products table

API Calls

Call our internal API and get the current number of online users
Search my entire computer for Word files with "report" in the filename

Managing MCP Tools

From the MCP configuration section in Settings you can:

ActionDescription
Enable/DisableTemporarily turn off an MCP tool (without removing config)
ReconnectReconnect when the MCP process unexpectedly disconnects
View tool listSee which tools and parameters the MCP provides
EditChange configuration (e.g., database address)
DeleteRemove MCP configurations you no longer need

Troubleshooting

MCP Tool Fails to Start

  • Ensure the required npm package is installed (most MCP tools run via npx)
  • Check that your Node.js version meets requirements (18+ recommended)
  • Check SailFish logs for error details

Database MCP Cannot Connect

  • Verify database address, port, username, and password
  • Ensure the database allows connections from your machine
  • Check firewall rules for the database port

MCP Tool Not Used by AI

  • Confirm MCP status is “Connected”
  • Try explicitly mentioning the feature in your prompt (e.g., “query the database”)
  • Check the MCP tool list to confirm it provides the capability you need