Skip to main content
Glama

MCP Firebird

# 🚀 MCP Firebird v2.2.0 - Complete SSE Transport Implementation ## 🎯 Major Release Highlights This release brings **complete SSE (Server-Sent Events) transport support** to MCP Firebird, making it fully compatible with the MCP Inspector and modern MCP clients while maintaining 100% backwards compatibility with existing STDIO implementations. ## ✨ New Features ### 🌐 **SSE Transport Support** - **Full SSE Implementation**: Complete Server-Sent Events transport using official MCP SDK v1.13.2 - **MCP Inspector Compatible**: Works seamlessly with `npx @modelcontextprotocol/inspector` - **Backwards Compatible Server**: Supports both modern and legacy MCP clients - **Multi-Protocol Support**: Single server instance handles STDIO, SSE, and HTTP simultaneously ### 🔧 **Technical Improvements** - **Latest MCP SDK**: Updated to Model Context Protocol TypeScript SDK v1.13.2 - **Modern API Implementation**: Using official `registerTool()`, `registerPrompt()` methods - **Enhanced Session Management**: Robust HTTP session handling with automatic cleanup - **Windows Path Support**: Proper escaping and handling of Windows file paths with backslashes ### 🌐 **New HTTP Endpoints** - **Modern Streamable HTTP**: `POST/GET/DELETE /mcp` for latest MCP clients - **Legacy SSE**: `GET /sse` for backwards compatibility with older clients - **Legacy Messages**: `POST /messages` for complete client support ## 🛠️ **Usage Examples** ### SSE Transport (New!) ```bash # Start SSE server npx mcp-firebird@latest --transport-type sse --sse-port 3003 \ --database "F:\\Proyectos\\SAI\\AUTOSERVICIO_LA_PAZ.FDB" \ --user SYSDBA --password masterkey # Connect MCP Inspector via SSE npx @modelcontextprotocol/inspector http://localhost:3003/sse ``` ### STDIO Transport (Preserved) ```bash # Traditional STDIO (unchanged) npx @modelcontextprotocol/inspector \ npx mcp-firebird@latest --transport-type stdio \ --database "F:\\Proyectos\\SAI\\AUTOSERVICIO_LA_PAZ.FDB" \ --user SYSDBA --password masterkey ``` ## 🔒 **Stability & Compatibility** ### ✅ **Backwards Compatibility** - **STDIO Preserved**: All existing STDIO functionality maintained without changes - **No Breaking Changes**: Existing configurations continue to work - **Same CLI Interface**: Familiar command-line arguments and options ### 🏗️ **Production Ready** - **Thoroughly Tested**: Verified with real Firebird databases - **Stable Connections**: No ECONNRESET errors in SSE transport - **Cross-Platform**: Enhanced Windows and Linux compatibility - **Error Handling**: Comprehensive error recovery and logging ## 📊 **Technical Details** ### **Architecture** - **Express.js Integration**: Clean REST API implementation - **Session Management**: UUID-based session tracking with automatic cleanup - **Transport Abstraction**: Unified server handling multiple transport types - **Modern TypeScript**: Full type safety with latest MCP SDK types ### **Performance** - **Concurrent Sessions**: Support for multiple simultaneous connections - **Memory Management**: Automatic cleanup of disconnected sessions - **Efficient Routing**: Optimized Express middleware for MCP protocols ## 🐛 **Bug Fixes** - **Windows File Paths**: Fixed backslash escaping in database file paths - **Path-to-regexp**: Resolved compatibility issues with Express v5 and MCP SDK - **Session Cleanup**: Fixed memory leaks in HTTP session management - **Error Propagation**: Improved error handling and user feedback ## 📈 **Developer Experience** ### **Enhanced Debugging** - **Detailed Logging**: Comprehensive debug and info logging - **Session Tracking**: Clear session lifecycle management - **Error Context**: Better error messages with actionable information ### **Documentation** - **Complete Examples**: Working examples for both transport types - **Configuration Guides**: Step-by-step setup instructions - **Troubleshooting**: Common issues and solutions ## 🎯 **Migration Guide** ### **For Existing Users** No migration required! Your existing STDIO configurations will continue to work exactly as before. ### **To Use SSE Transport** Simply add the transport type parameter: ```bash # Add these parameters to your existing command --transport-type sse --sse-port 3003 ``` ## 🔮 **What's Next** - **Resource Support**: Re-enable dynamic resources with path-to-regexp fixes - **Enhanced Security**: Additional authentication and authorization options - **Performance Optimization**: Further improvements to concurrent session handling - **Extended Protocol Support**: Additional MCP transport implementations ## 🙏 **Acknowledgments** Special thanks to the Model Context Protocol team for the excellent SDK and documentation that made this implementation possible. ## 📞 **Support** - **GitHub Issues**: [Report bugs and feature requests](https://github.com/PuroDelphi/mcpFirebird/issues) - **Documentation**: [Complete setup guides](https://github.com/PuroDelphi/mcpFirebird/tree/main/docs) - **Examples**: [Working code examples](https://github.com/PuroDelphi/mcpFirebird/tree/main/examples) --- **Full Changelog**: [v2.1.0...v2.2.0](https://github.com/PuroDelphi/mcpFirebird/compare/v2.1.0...v2.2.0)

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/PuroDelphi/mcpFirebird'

If you have feedback or need assistance with the MCP directory API, please join our Discord server