Using MCP Firebird with VSCode and GitHub Copilot
June 25, 2026 ยท View on GitHub
This guide explains how to integrate MCP Firebird with Visual Studio Code and GitHub Copilot.
Prerequisites
- Visual Studio Code installed
- GitHub Copilot extension installed and configured
- MCP Firebird installed (
npm install -g mcp-firebird) - Firebird database server running
Configuration
- Create a
.vscodefolder in your project root if it doesn't exist already - Create a file named
mcp.jsoninside the.vscodefolder with the following content:
{
"mcpServers": {
"mcp-firebird": {
"command": "npx",
"args": [
"-y",
"mcp-firebird",
"--database",
"C:\\path\\to\\database.fdb",
"--host",
"localhost",
"--port",
"3050",
"--user",
"SYSDBA",
"--password",
"masterkey"
]
}
}
}
- Replace the placeholders with your actual Firebird database connection details:
your_host: The hostname or IP address of your Firebird server/path/to/your/database.fdb: The path to your Firebird database fileyour_username: Your Firebird database username (typically "SYSDBA")your_password: Your Firebird database password
Using with GitHub Copilot
Once configured, you can use GitHub Copilot to interact with your Firebird database. For example:
- Open a new chat with GitHub Copilot
- Ask questions about your database, such as:
- "List all tables in my Firebird database"
- "Show me the structure of the EMPLOYEES table"
- "Execute a query to find all employees in the Sales department"
Troubleshooting
If you encounter errors like Failed to validate tool: Error: tool parameters array type must have items, make sure you're using the latest version of MCP Firebird.
To update to the latest version:
npm install -g mcp-firebird@latest
Common Issues
- Connection errors: Verify your database connection parameters in the
mcp.jsonfile. - Tool validation errors: Make sure you're using the latest version of MCP Firebird.
- Permission issues: Ensure your user has the necessary permissions to access the database.
Example Queries
Here are some example queries you can try with GitHub Copilot:
List all tables in my database
Describe the structure of the CUSTOMERS table
Execute this query: SELECT * FROM EMPLOYEES WHERE DEPARTMENT_ID = 10
Analyze the performance of this query: SELECT * FROM ORDERS WHERE ORDER_DATE > '2023-01-01'