原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Firebird MCP Server

作者:lucasgabriel0802版本 0.1.0i★ 0i在你的电脑上运行
注册名称io.github.lucasgabriel0802/firebird-mcp

安装方法

What it does

Firebird (2.5 to 5.0) MCP server with PLAN inspection and multi-database routing

  • Connects 在你的电脑上运行
  • Account or key No key needed
  • Category 数据库与数据集

安装

选择你使用的 AI 应用,然后复制设置。

通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

需要先在电脑上安装 Python (uv)(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

让 AI 帮你安装

把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude 安装 MCP server Firebird MCP Server,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "firebird": { "command": "uvx", "args": [ "firebird-mcp" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 Firebird MCP Server 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 uv(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    uv --version
    • 显示版本号(例如 uv …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载

    打开 uv 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version

    安装一次,所有需要 uv 的工具都能用

  2. 打开电脑版 Claude 应用的设置文件

    SettingsDeveloperEdit Config

  3. 粘贴这些设置并保存文件

    {
      "mcpServers": {
        "firebird": {
          "command": "uvx",
          "args": [
            "firebird-mcp"
          ]
        }
      }
    }
  4. 退出 Claude 再重新打开

  5. 试一试

    用 Firebird MCP Server 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 Firebird MCP Server,或回答中出现 Firebird MCP Server 的工具名称,就表示连接成功

1 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • FIREBIRD_CONFIG_PATH Optional explicit path to the Firebird MCP JSON configuration file

说明仍为英文原文。

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 Firebird MCP Server

Firebird MCP Server 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 Firebird MCP Server 的应用

  • 需要先在电脑上安装 Python (uv)(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要先在电脑上安装 Python (uv)(只需一次)
  • 需要先在电脑上安装 Python (uv)(只需一次)
  • 需要先在电脑上安装 Python (uv)(只需一次)

B · 数据库与数据集 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code,但需要先准备

需要先在电脑上安装 Python (uv)(只需一次)

让 AI 帮你安装

把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude Code 安装 MCP server Firebird MCP Server,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user firebird -- uvx firebird-mcp 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 Firebird MCP Server 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 uv(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    uv --version
    • 显示版本号(例如 uv …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载

    打开 uv 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version

    安装一次,所有需要 uv 的工具都能用

  2. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  3. 粘贴这条命令并按 Enter

    claude mcp add --scope user firebird -- uvx firebird-mcp
  4. 在 Claude Code 中输入 /mcp

    应能看到 Firebird MCP Server 在列表中并显示已连接

  5. 试一试

    用 Firebird MCP Server 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 Firebird MCP Server,或回答中出现 Firebird MCP Server 的工具名称,就表示连接成功

1 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • FIREBIRD_CONFIG_PATH Optional explicit path to the Firebird MCP JSON configuration file

说明仍为英文原文。

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor,但需要先准备

需要先在电脑上安装 Python (uv)(只需一次)

让 AI 帮你安装

把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Cursor 安装 MCP server Firebird MCP Server,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "firebird": { "command": "uvx", "args": [ "firebird-mcp" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 Firebird MCP Server 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 uv(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    uv --version
    • 显示版本号(例如 uv …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载

    打开 uv 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version

    安装一次,所有需要 uv 的工具都能用

  2. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  3. 在 Cursor 中以 Agent 模式打开 AI 聊天

  4. 试一试

    用 Firebird MCP Server 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 Firebird MCP Server,或回答中出现 Firebird MCP Server 的工具名称,就表示连接成功

1 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • FIREBIRD_CONFIG_PATH Optional explicit path to the Firebird MCP JSON configuration file

说明仍为英文原文。

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code,但需要先准备

需要先在电脑上安装 Python (uv)(只需一次)

让 AI 帮你安装

把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 VS Code 安装 MCP server Firebird MCP Server,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "firebird": { "type": "stdio", "command": "uvx", "args": [ "firebird-mcp" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 Firebird MCP Server 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 uv(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    uv --version
    • 显示版本号(例如 uv …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载

    打开 uv 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version

    安装一次,所有需要 uv 的工具都能用

  2. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  3. 在 VS Code 中以 Agent 模式打开 AI 聊天

  4. 试一试

    用 Firebird MCP Server 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 Firebird MCP Server,或回答中出现 Firebird MCP Server 的工具名称,就表示连接成功

1 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • FIREBIRD_CONFIG_PATH Optional explicit path to the Firebird MCP JSON configuration file

说明仍为英文原文。

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 Firebird MCP Server 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

安装在电脑上

Claude Code

claude mcp add --scope user firebird -- uvx firebird-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "firebird": {
      "command": "uvx",
      "args": [
        "firebird-mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "firebird": {
      "command": "uvx",
      "args": [
        "firebird-mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "firebird": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "firebird-mcp"
      ]
    }
  }
}

需要你填写的值

  • FIREBIRD_CONFIG_PATH env
    Optional explicit path to the Firebird MCP JSON configuration file

说明仍为英文原文。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
21/周
连接方式
在你的电脑上运行
最新版本i
0.1.0
发布到注册中心i
2026年10月17日
代码最后更新i
2026年10月20日
作者
lucasgabriel0802
软件包
pypi: firebird-mcp
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月15日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 lucasgabriel0802 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于26天前

  • ✓ 通过

    有许可证

    使用 MIT

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

已公开的漏洞(OSV.dev)

尚未检查

我们检查什么 → · JSON

作者:申请重新检查或报告信息错误

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

用户评价

还没有评价

登录后写评价

与“数据库与数据集”中的其他服务器比较i

  • 星标数多于此分类中其他 1200 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1200 个服务器的 61% 更新
  • 基础检查结果等于或优于此分类中其他 1200 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Firebird MCP Server 安全吗?

它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于26天前,最新版本(0.1.0)于29天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:QueryWeaver, Supabase, Neon, DBCode, Keboola MCP

功能相近的其他选择

同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

QueryWeaver

An MCP server for Text2SQL: transforms natural language into SQL using graph schema understanding.

作者:FalkorDB正在增长★ 109614个月前更新

在你的电脑上运行✓ falkordb.com

Supabase

MCP server for interacting with the Supabase platform

作者:supabase广泛使用↓ 24.6万/周★ 3012 整个仓库的星标前天更新

电脑或云端✓ 服务方 · supabase.com

Neon

Official Neon MCP server for managing Neon projects and Lakebase Postgres databases.

作者:neondatabase正在增长★ 6639天前更新

在云端运行✓ 服务方 · neon.com

DBCode

Query and explore 100+ databases through your DBCode connections.

作者:dbcodeio起步阶段↓ 80/周★ 366 整个仓库的星标43天前更新

在你的电脑上运行✓ 服务方 · dbcode.io

Keboola MCP

Connect your AI assistants to Keboola and expose your data, transformations, SQL queries, ...

作者:keboola正在增长↓ 1421/周★ 854天前更新

电脑或云端✓ 服务方 · keboola.com
  • QueryWeaver — 需要安装在电脑上 · 不需要密钥
  • Supabase — 云端或安装在电脑上都可以 · 需要密钥 · 在 Claude 的目录中
  • Neon — 在云端运行,无需安装 · 不需要密钥
  • DBCode — 需要安装在电脑上 · 不需要密钥
  • Keboola MCP — 云端或安装在电脑上都可以 · 不需要密钥

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Firebird MCP Server 🔥

🌐 Language / Idioma: English | Português (Brasil)

Open-source Model Context Protocol (MCP) server for Firebird Database, developed for free and independent community use with support for all major releases (Firebird 2.5, 3.0, 4.0, and 5.0).

Built according to the open industry standards for MCP servers (stdio / JSON-RPC 2.0), ensuring turnkey compatibility with any AI client or IDE: Google Antigravity IDE, Cursor, Claude Desktop, VS Code (with Cline / Roo Code / Copilot extensions), Windsurf, Zed, and CLI tools.


🎯 Key Highlights

  1. Pure Python Wire Protocol (Zero DLL Dependencies):
  • Connects directly over TCP (default port 3050) using pure Python (firebirdsql).
  • Requires no native C/C++ compilation and eliminates the need to install fbclient.dll (Windows) or libfbclient.so (Linux) on the host running the AI client or IDE.
  • Fully compatible with legacy authentication (Legacy_Auth in FB 2.5) as well as modern pluggable SRP authentication in FB 3.0, 4.0, and 5.0.
  1. Multi-Database Support per Project:
  • Allows a single project workspace to declare and manage multiple databases (e.g., main, audit_logs, staging), switching dynamically via chat prompts or tool arguments.
  1. Workspace Auto-Discovery (`.firebird-mcp.json`):
  • Automatically detects database configuration files placed at the root of your project or repository.
  1. Execution Plan & Performance Analysis (`PLAN`):
  • Compiles queries to extract the Firebird optimizer's execution plan (PLAN) without scanning entire datasets, detecting unindexed full-table scans (NATURAL SCAN) and memory/disk sorting bottlenecks (SORT).
  1. Strict Query Safety & MVCC Best Practices:
  • fb_query enforces read-only operations (SELECT), guarding against accidental data modification.
  • Commits read transactions immediately upon completion, preventing **OAT (*Oldest Active Transaction*)** stalls, garbage collection starvation, and runaway .fdb database file growth.
  1. Broad System Catalog Mapping:
  • Comprehensive introspection of Firebird system catalog tables (RDB$), supporting types across versions: BOOLEAN (FB3+), INT128, DECFLOAT(16/34), TIMESTAMP WITH TIME ZONE (FB4+), BLOB SUB_TYPE TEXT/BINARY, and index selectivity (RDB$STATISTICS).

🗄️ Multi-Database & Per-Project Configuration

Real-world production codebases (such as enterprise ERPs in Delphi, Laravel, or Python) frequently require:

  • Different databases per project/workspace.
  • Multiple databases within the same project (e.g., operational database ERP_DATA.FDB and audit trail AUDIT_LOGS.FDB).
Where and How to Configure Databases:

Firebird MCP provides two flexible organization patterns:

Option A (Recommended Default): Central Global Catalog (~/.firebird-mcp.json)

Instead of scattering .firebird-mcp.json files across every repository, maintain a single central catalog in your user home directory (~/.firebird-mcp.json on Linux/macOS or C:\Users\YourUser\.firebird-mcp.json on Windows).

In this catalog, you register all databases on your machine and use the "projects" property to specify which projects/repositories use each database:

{

"default": "erp_main", "databases": { "erp_main": { "host": "localhost", "port": 3050, "database": "/var/data/ERP_DATA.FDB", "user": "SYSDBA", "password": "masterkey", "charset": "WIN1252", "description": "Primary ERP operational database", "projects": ["web_projects", "erp-desktop"], "tags": ["erp", "financial", "sales"] }, "erp_audit": { "host": "localhost", "port": 3050, "database": "/var/data/AUDIT_LOGS.FDB", "user": "SYSDBA", "password": "masterkey", "charset": "WIN1252", "description": "Secondary database for audit trails and logs", "projects": ["web_projects", "erp-desktop"], "tags": ["audit", "logs", "security"] }, "pos_store": { "host": "192.168.1.10", "port": 3050, "database": "C:\\POS\\STORE.FDB", "user": "SYSDBA", "password": "masterkey", "charset": "WIN1252", "description": "Store front checkout database", "projects": ["pos-vcl"], "tags": ["pos", "cashier"] }, "shared_staging": { "host": "localhost", "port": 3050, "database": "/data/STAGING.FDB", "user": "SYSDBA", "password": "masterkey", "charset": "WIN1252", "description": "Shared staging/test database accessible across all projects", "projects": [] } } }

Tip on Shared Databases: Databases with an empty "projects": [] array or "*" are treated as global shared databases and remain visible across all workspaces.

Option B: Local Project Configuration (.firebird-mcp.json)

If you prefer a repository to isolate its own credentials, place a .firebird-mcp.json file in the project root. The MCP checks for a local project file first; if present, it has absolute precedence over the global catalog.


How the Agent Interacts with Databases:
  1. Automatic Workspace Context (CWD):
  • When you open a workspace (e.g., /home/lucas/web_projects), the MCP automatically resolves the active project and filters databases matching that project.
  • Single Database in Project: The MCP auto-selects the database without asking unnecessary questions.
  • Multiple Databases in Project (e.g., main and audit): For generic commands (e.g., *"run a select on orders"*), the MCP halts and asks which database to use.
  1. Direct Investigation Targeting (Zero Friction):
  • If you mention the database in your prompt (e.g., *"investigate bug on audit database"* or *"check table X on pos"*), the agent/MCP resolves the alias immediately and connects without asking confirmation questions.
  1. Smart Approximate Search:
  • Switch databases using fb_use_database("audit") — the MCP matches exact names, substrings (e.g., erp_audit), and associated tags.
  1. ⚠️ Rigid Safety Rule: Mandatory Double Confirmation for DDL and Data Manipulation (DML):
  • Structural commands (CREATE, ALTER, DROP, RECREATE) and data mutation commands (INSERT, UPDATE, DELETE, EXECUTE PROCEDURE) are NEVER executed directly without prior explicit user consent.
  • The assistant must present the exact SQL/DDL statement, explain its technical purpose, detail the impact (affected rows/tables, lock risks, irreversibility), and request confirmation.
  • The MCP server blocks execution with an error unless the confirmed=True parameter is passed following the user's explicit affirmative response.

🛠️ Available MCP Tools

Database & Connection Management
ToolParametersDescription
fb_create_configdatabase, alias, host, port, user, password, charset, description, projects, tags, filepathCreates and saves Central Global Catalog (~/.firebird-mcp.json) or local file with project tags.
fb_list_databasesproject_filter *(optional)*Lists all databases in catalog, highlighting matches for the active project.
fb_use_databasealiasSwitches the active database for the current session (with smart match by name, substring, or tag).
fb_configure_databasealias, database, host, port, user, password, charset, description, projects, tags, set_as_default, save_to_fileRegisters or updates a connection with projects/tags dynamically and persists to file.
fb_reload_configconfig_path *(optional)*Reloads the catalog from global or local file.
Schema & Metadata Introspection
ToolParametersDescription
fb_list_tablesdb_alias *(optional)*Lists all user tables (filters out RDB$ system tables).
fb_list_viewsdb_alias *(optional)*Lists all registered user views.
fb_list_proceduresdb_alias *(optional)*Lists all user Stored Procedures.
fb_list_generatorsdb_alias *(optional)*Lists all user Generators / Sequences.
fb_inspect_tabletable_name, db_alias *(optional)*Returns column definitions, precise data types, PK/FK constraints, and indices with real selectivity (RDB$STATISTICS).
Performance Analysis & Execution
ToolParametersDescription
fb_explain_plansql, db_alias *(optional)*Compiles the query in the engine, extracts the PLAN, highlights NATURAL SCAN warnings, and suggests indexing strategies.
fb_querysql, limit (default 50, max 1000), db_alias *(optional)*Executes read-only SELECT queries with safety guards and immediate transaction commits.
fb_execute_dmlsql, db_alias *(optional)*, confirmed (default false)Executes explicit INSERT, UPDATE, DELETE, or EXECUTE PROCEDURE statements. Requires mandatory double confirmation (confirmed=True).
fb_execute_ddlddl, db_alias *(optional)*, confirmed (default false)Executes structural DDL statements (CREATE INDEX, ALTER TABLE, etc.) with explicit commit. Requires mandatory double confirmation (confirmed=True).
fb_database_healthdb_alias *(optional)*Audits database health via MON$ tables (ODS version, page size, active attachments, and OAT-to-Next-Transaction gap).

💻 Installation & Execution

🐳 Option 1: Docker (Gold Standard — Recommended for Windows, macOS & Linux)

Running via Docker eliminates all local Python runtime and dependency requirements:

# Clone and build the image locally:

git clone https://github.com/lucasgabriel0802/firebird-mcp.git cd firebird-mcp docker build -t firebird-mcp:latest .

Universal IDE Configuration via Docker (Stdio Mode):

Configure your IDE to launch the container on-demand. This configuration works seamlessly on Windows, macOS, and Linux:

{

"mcpServers": { "firebird": { "command": "docker", "args": [ "run", "-i", "--rm", "-v", "${workspaceFolder}:/workspace", "-w", "/workspace", "--add-host", "host.docker.internal:host-gateway", "firebird-mcp:latest" ] } } }

Why this is the Gold Standard:

- -i: Keeps stdin/stdout open for JSON-RPC without allocating a pseudo-TTY (no -t to avoid byte corruption).

- --rm: Cleans up the container automatically when the IDE closes.

- -v "${workspaceFolder}:/workspace": Mounts your current project for automatic .firebird-mcp.json discovery.

- --add-host host.docker.internal:host-gateway: Resolves your host machine's IP (e.g. Firebird running on port 3050 in Windows, macOS, or Linux) using host.docker.internal.


🚀 Option 2: Docker Compose (Background Service & Batteried Testing DB)
A. Run as an HTTP/SSE Background Service

If you prefer running the MCP server as a permanent background service on port 8000:

docker compose up -d firebird-mcp

Connect via SSE endpoint: http://localhost:8000/sse.

B. Full Local Testing Environment (with Firebird 5.0 Database)

Spin up both the MCP server and a ready-to-te

只显示了开头部分;其余内容请在仓库中阅读