
Firebird SQL
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.
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
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.
MCP Firebird
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 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
- Visit smithery.ai
- Connect your GitHub account
- Select the
mcpFirebirdrepository - 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" - 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:
| Driver | Installation | Wire Encryption | Use Case |
|---|---|---|---|
| Pure JavaScript (default) | β
Simple (npx) | β No | Most users, quick setup |
| Native Driver (optional) | β οΈ Complex (requires build tools) | β Yes | Enterprise, 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:
- Smithery CLI Installation Guide - β Recommended for local setup
- Native Driver Installation Guide - Step-by-step for Windows/Linux/macOS
- Wire Encryption Guide
- Advanced Installation Guide
π₯οΈ 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
-
Edit the Claude Desktop configuration:
code $env:AppData\Claude\claude_desktop_config.json # Windows code ~/Library/Application\ Support/Claude/claude_desktop_config.json # macOS -
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" } } } -
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 skillsComprehensive 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.
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.
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.
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).
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.
Database management and queries. Connect to SQL and NoSQL databases, run queries, and manage schemas.