mcpservercsharp
MCP Server com C# + Firebird
Documentation
๐ ๏ธ MCP Server with C# + Firebird
This project is an MCP ( Model Context Protocol ) server created in C#, with support for custom tools. One of the features included is the execution of dynamic queries in a Firebird database with filter and record limit.
๐ฆ Technologies Used
- NPX
- C# (.NET 9)
- MCP ( Model Context Protocol )
- FirebirdSql.Data.FirebirdClient
- Dependency Injection via `Host.CreateApplicationBuilder`
- Configuration via `appsettings.json`
โ๏ธ Configuration
Install dependencies by nuget
dotnet add package ModelContextProtocol --prerelease๐ง `appsettings.json` File
Create an `appsettings.json` file in the project root with the following content:
{
"ConnectionStrings": {
"FirebirdDb": "Database=C:\\yourdata.fdb;User=SYSDBA;Password=masterkey;Dialect=3;Charset=NONE;" }
}๐ Change the path of the .FDB file according to the location of your database.
๐ Recommended Project Structure
src/
โโโ MCPServer/
โ โโโ Factory/
โ โ โโโ FbConnectionFactory.cs
โ โโโ Tools/
โ โ โโโ FbQueries.cs
โ โโโ Program.cs
โ โโโ appsettings.json๐งฉ MCP Tool Available
๐ ListTable
[McpTool, Description("List all records from a Firebird table")]
public List> ListTable(string tableName, string filter = "", int limitRecords = 0)This tool returns records from a Firebird database table with:
๐ Conditional filter via SQL
๐ข Limitation of number of records (using FIRST)
Example of use:
{
"tool": "ListTable",
"args": {
"tableName": "CUSTOMERS",
"filter": "STATUS = 'ACTIVE'",
"limitRecords": 10
}
}Run MCP server
npx @modelcontextprotocol/inspector dotnet runFrequently asked questions
What is mcpservercsharp?
mcpservercsharp is MCP Server com C# + Firebird
How do I install mcpservercsharp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcpservercsharp open source?
Yes โ it is hosted on GitHub at https://github.com/BoscoBecker/MCPServerCSharp and has 4 stars.
Related MCP tools
An MCP server that allows MCP clients like Claude Desktop or Cursor to perform actions in the Unity Editor C#-based implementation.
The official C# SDK for Model Context Protocol servers and clients. Maintained in collaboration with Microsoft. Trusted by 3500+ developers.
Model Context Protocol (MCP) plugin to connect with Unity Editor โ designed for OpenAI, Gemini, Claude, Deepseek and Grok interoperability
Playwright MCP server TypeScript-based implementation. Trusted by 22000+ developers. Trusted by 22000+ developers. Trusted by 22000+ developers.
MCP Server for Ghidra Java-based implementation. Trusted by 6400+ developers. Trusted by 6400+ developers. Trusted by 6400+ developers.
Official Notion MCP Server TypeScript-based implementation. Trusted by 3400+ developers. Trusted by 3400+ developers. Trusted by 3400+ developers.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP