Firebird SQL

Firebird SQL

purodelphi

Enables AI models to interact with Firebird SQL databases through natural language, executing queries and analyzing database structure with built-in security controls.

Enables secure access to Firebird SQL databases through natural language, supporting table listing, schema descriptions, query execution, and field metadata retrieval with comprehensive security features like data masking and operation restrictions.

47495 views18Local (stdio)

What it does

  • Execute SQL queries on Firebird databases
  • List tables and retrieve schema information
  • Analyze database structure and relationships
  • Perform database backup and restore operations
  • Validate database integrity
  • Analyze query performance and suggest optimizations

Best for

Database administrators managing Firebird systemsDevelopers building applications with Firebird backendsData analysts querying Firebird databases through AITeams needing secure AI-assisted database operations
Built-in security with data masking and operation restrictionsMultiple transport protocols supportedWorks with Claude Desktop and VSCode Copilot

About Firebird SQL

Firebird SQL is a community-built MCP server published by purodelphi that provides AI assistants with tools and capabilities via the Model Context Protocol. Firebird SQL empowers safe database access, protects from sql injection, and supports natural language queries with adva It is categorized under databases, analytics data.

How to install

You can install Firebird SQL in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

License

Firebird SQL is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

Verified on MseeP

MCP Firebird

smithery badge

Implementation of Anthropic's MCP (Model Context Protocol) for Firebird databases.

Example Usage

https://github.com/user-attachments/assets/e68e873f-f87b-4afd-874f-157086e223af

What is MCP Firebird?

MCP Firebird is a server that implements Anthropic's Model Context Protocol (MCP) for Firebird SQL databases. It allows Large Language Models (LLMs) like Claude to access, analyze, and manipulate data in Firebird databases securely and in a controlled manner.

Key Features

  • SQL Queries: Execute SQL queries on Firebird databases
  • Schema Analysis: Get detailed information about tables, columns, and relationships
  • Database Management: Perform backup, restore, and validation operations
  • Performance Analysis: Analyze query performance and suggest optimizations
  • Multiple Transports: Supports STDIO, SSE (Server-Sent Events), and Streamable HTTP transports
  • Modern Protocol Support: Full support for MCP Streamable HTTP (2025-03-26) and legacy SSE
  • Unified Server: Automatic protocol detection and backwards compatibility
  • Claude Integration: Works seamlessly with Claude Desktop and other MCP clients
  • VSCode Integration: Works with GitHub Copilot in Visual Studio Code
  • Session Management: Robust session handling with automatic cleanup and configurable timeouts
  • Security: Includes SQL query validation and security configuration options
  • Dual Driver Support: Choose between simple installation (default) or native driver with wire encryption support

πŸš€ Quick Start with Smithery (Recommended for Cloud Deployment)

Deploy MCP Firebird to the cloud in under 5 minutes!

smithery badge

Smithery is the easiest way to deploy MCP Firebird to production:

βœ… One-click deployment - No infrastructure setup required βœ… Automatic scaling - Handles traffic spikes automatically βœ… Built-in monitoring - Track usage and performance βœ… Secure credentials - Encrypted environment variables βœ… Auto-updates - Always running the latest version βœ… Global CDN - Low latency worldwide

How to Deploy on Smithery

  1. Visit smithery.ai
  2. Connect your GitHub account
  3. Select the mcpFirebird repository
  4. Configure your Firebird database connection:
    host: "your-firebird-server.com"
    port: 3050
    database: "/path/to/database.fdb"
    user: "SYSDBA"
    password: "your-secure-password"
    useNativeDriver: true  # Enable wire encryption (optional)
    logLevel: "info"
    
  5. Click Deploy - Done! ✨

Your MCP Firebird server will be available at:

https://server.smithery.ai/your-username/mcp-firebird

Using with AI Clients

import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";

const transport = new StreamableHTTPClientTransport(
  "https://server.smithery.ai/your-username/mcp-firebird"
);

const client = new Client({
  name: "my-ai-app",
  version: "1.0.0"
});

await client.connect(transport);

πŸ“š For detailed Smithery deployment instructions, see SMITHERY_DEPLOYMENT.md

πŸ”’ Wire Encryption Support

MCP Firebird supports two driver options:

DriverInstallationWire EncryptionUse Case
Pure JavaScript (default)βœ… Simple (npx)❌ NoMost users, quick setup
Native Driver (optional)⚠️ Complex (requires build tools)βœ… YesEnterprise, security required

Quick Start (Default - No Wire Encryption)

npx mcp-firebird@alpha --database=/path/to/database.fdb

Advanced (With Wire Encryption Support)

⚠️ CRITICAL: npx does NOT work with the native driver. You MUST install globally.

⚠️ IMPORTANT: Wire encryption must be configured on the Firebird server (firebird.conf), not on the client.

Server Configuration (required first):

# In firebird.conf on the server
WireCrypt = Required  # or Enabled

Client Installation (MUST be global):

# Step 1: Install build tools
# Windows: Visual Studio Build Tools (https://visualstudio.microsoft.com/downloads/)
# Linux: sudo apt-get install build-essential python3 firebird-dev
# macOS: xcode-select --install && brew install firebird

# Step 2: Install MCP Firebird globally
npm install -g mcp-firebird@alpha

# Step 3: Install native driver globally
npm install -g node-firebird-driver-native

# Step 4: Run directly (WITHOUT npx)
mcp-firebird --use-native-driver \
  --database=/path/to/database.fdb \
  --host=localhost \
  --user=SYSDBA \
  --password=masterkey

Why not npx? When npx runs a package from its temporary cache, it cannot access globally installed modules like node-firebird-driver-native. Both packages must be installed globally in the same location.

πŸ“š For detailed installation instructions, see:

πŸ–₯️ Local Installation with Smithery CLI

⭐ Recommended for local AI clients (Claude Desktop, Cursor, etc.)

The Smithery CLI provides the easiest way to install and configure MCP Firebird for local use:

Quick Install

# Interactive installation (prompts for configuration)
npx -y @smithery/cli@latest install mcp-firebird --client claude

# Pre-configured installation (skip prompts)
npx -y @smithery/cli@latest install mcp-firebird --client claude --config '{
  "database": "/path/to/database.fdb",
  "user": "SYSDBA",
  "password": "masterkey",
  "useNativeDriver": false
}'

Features

  • βœ… One-command installation - No manual configuration needed
  • βœ… Multiple clients - Works with Claude Desktop, Cursor, and more
  • βœ… Interactive setup - Prompts for all required settings
  • βœ… Auto-configuration - Automatically configures your AI client
  • βœ… Easy management - List, inspect, and uninstall servers easily

Common Commands

# List installed servers
npx @smithery/cli list servers --client claude

# Inspect server configuration
npx @smithery/cli inspect mcp-firebird

# Uninstall server
npx @smithery/cli uninstall mcp-firebird --client claude

πŸ“– Full Guide: Smithery CLI Installation Guide

Manual Installation

Stable Version

# Global installation (stable)
npm install -g mcp-firebird

# Run the server
npx mcp-firebird --database /path/to/database.fdb

# Or use specific stable version
npm install -g [email protected]

Stable Features (v2.2.3):

  • πŸ› FIXED: SSE JSON parsing bug - resolves "Invalid message: [object Object]" errors
  • ✨ Streamable HTTP transport support (MCP 2025-03-26)
  • πŸ”„ Unified server with automatic protocol detection
  • πŸ“Š Enhanced session management and monitoring
  • πŸ› οΈ Modern MCP SDK integration (v1.13.2)
  • πŸ”§ Improved error handling and logging
  • πŸ§ͺ Comprehensive test suite with 9+ tests for SSE functionality

Alpha Version (Latest Features)

# Install alpha version with latest features
npm install -g mcp-firebird@alpha

# Or use specific alpha version
npm install -g [email protected]

Alpha Features (v2.4.0-alpha.0):

  • οΏ½ NEW: Ready for next development cycle
  • ✨ All stable features from v2.2.3 included
  • πŸ”„ Unified server with automatic protocol detection
  • πŸ“Š Enhanced session management and monitoring
  • πŸ› οΈ Modern MCP SDK integration (v1.13.2)
  • πŸ”§ Improved error handling and logging
  • πŸ§ͺ Comprehensive test suite with 9+ tests for SSE functionality
  • πŸ“š Enhanced documentation with troubleshooting guides

Note: The SSE JSON parsing bug fix is now available in stable v2.2.3

For backup/restore operations, you'll need to install the Firebird client tools. See Complete Installation for more details.

For VSCode and GitHub Copilot integration, see VSCode Integration.

Basic Usage

With Claude Desktop

  1. Edit the Claude Desktop configuration:

    code $env:AppData\Claude\claude_desktop_config.json  # Windows
    code ~/Library/Application\ Support/Claude/claude_desktop_config.json  # macOS
    
  2. Add the MCP Firebird configuration:

    {
      "mcpServers": {
        "mcp-firebird": {
          "command": "npx",
          "args": [
            "mcp-firebird",
            "--host",
            "localhost",
            "--port",
            "3050",
            "--database",
            "C:\\path\\to\\database.fdb",
            "--user",
            "SYSDBA",
            "--password",
            "masterkey"
          ],
          "type": "stdio"
        }
      }
    }
    
  3. Restart Claude Desktop

Transport Configuration

MCP Firebird supports multiple transport protocols to accommodate different client needs and deployment scenarios.

STDIO Transport (Default)

The STDIO transport is the standard method for Claude Desktop integration:

{
  "mcpServers": {
    "mcp-firebird": {
      "command": "npx",
      "args": [
        "mcp-firebird",
        "--database", "C:\\path\\to\\database.fdb",
        "--user", "SYSDBA",
        "--passw

---

*README truncated. [View full README on GitHub](https://github.com/purodelphi/mcpfirebird).*

Alternatives

Related Skills

Browse all skills
postgresql-psql

Comprehensive guide for PostgreSQL psql - the interactive terminal client for PostgreSQL. Use when connecting to PostgreSQL databases, executing queries, managing databases/tables, configuring connection options, formatting output, writing scripts, managing transactions, and using advanced psql features for database administration and development.

38
fullstack-developer

Modern web development expertise covering React, Node.js, databases, and full-stack architecture. Use when: building web applications, developing APIs, creating frontends, setting up databases, deploying web apps, or when user mentions React, Next.js, Express, REST API, GraphQL, MongoDB, PostgreSQL, or full-stack development.

11
senior-data-scientist

World-class data science skill for statistical modeling, experimentation, causal inference, and advanced analytics. Expertise in Python (NumPy, Pandas, Scikit-learn), R, SQL, statistical methods, A/B testing, time series, and business intelligence. Includes experiment design, feature engineering, model evaluation, and stakeholder communication. Use when designing experiments, building predictive models, performing causal analysis, or driving data-driven decisions.

8
backend-dev-guidelines

Comprehensive backend development guide for Langfuse's Next.js 14/tRPC/Express/TypeScript monorepo. Use when creating tRPC routers, public API endpoints, BullMQ queue processors, services, or working with tRPC procedures, Next.js API routes, Prisma database access, ClickHouse analytics queries, Redis queues, OpenTelemetry instrumentation, Zod v4 validation, env.mjs configuration, tenant isolation patterns, or async patterns. Covers layered architecture (tRPC procedures β†’ services, queue processors β†’ services), dual database system (PostgreSQL + ClickHouse), projectId filtering for multi-tenant isolation, traceException error handling, observability patterns, and testing strategies (Jest for web, vitest for worker).

7
database-schema-designer

Design robust, scalable database schemas for SQL and NoSQL databases. Provides normalization guidelines, indexing strategies, migration patterns, constraint design, and performance optimization. Ensures data integrity, query performance, and maintainable data models.

5
database

Database management and queries. Connect to SQL and NoSQL databases, run queries, and manage schemas.

4