SemanticKernel.Agents.DatabaseAgent.MCPServer 1.2.0-beta01

This is a prerelease version of SemanticKernel.Agents.DatabaseAgent.MCPServer.
There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global SemanticKernel.Agents.DatabaseAgent.MCPServer --version 1.2.0-beta01
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local SemanticKernel.Agents.DatabaseAgent.MCPServer --version 1.2.0-beta01
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=SemanticKernel.Agents.DatabaseAgent.MCPServer&version=1.2.0-beta01&prerelease
                    
nuke :add-package SemanticKernel.Agents.DatabaseAgent.MCPServer --version 1.2.0-beta01
                    

Database Agent MCP Server

The Database Agent MCP Server is a server that listens for incoming connections from the Database Agent and processes the messages sent by the Database Agent. The Database Agent MCP Server is responsible for processing the messages sent by the Database Agent and executing the appropriate actions based on the message type.

Installation

To install the MCP server, you first should install the .NET Core SDK. You can download the .NET Core SDK from the following link: https://dotnet.microsoft.com/download

After installing the .NET Core SDK, you can install the MCP server tool by running the following command:

dotnet tool install --global SemanticKernel.Agents.DatabaseAgent.MCPServer

Usage

To start the MCP server, you can run the following command:

modelcontextprotocol-database-agent --*options*

Options

The following options are available:

. --agent:QualityAssurance:EnableQueryRelevancyFilter
- Description: Enables or disables the query relevancy filter in the quality assurance process.
- Type: bool
- Default: true
- Example: --agent:QualityAssurance:EnableQueryRelevancyFilter=false

. --database:ConnectionString
- Description: The connection string for connecting to the database.
- Type: string
- Example: --database:ConnectionString="Data Source=northwind.db;Mode=ReadWrite"

. --database:Provider
- Description: Specifies the database provider (e.g., SQLite, SQL Server, etc.).
- Type: string
- Example: --database:Provider=sqlite

. --memory:Kind
- Description: Defines the kind of memory to be used for the kernel (e.g., Volatile).
- Type: string
- Example: --memory:Kind=Volatile

. --kernel:Completion
- Description: Defines the completion model used by the kernel.
- Type: string
- Example: --kernel:Completion=gpt-4o-mini

. --kernel:Embedding
- Description: Specifies the embedding model for the kernel's embedding operations.
- Type: string
- Example: --kernel:Embedding=text-embedding-ada-002

. --services:gpt-4o-mini:Type
- Description: Specifies the type of service (e.g., AzureOpenAI, OpenAI).
- Type: string
- Example: --services:gpt-4o-mini:Type=AzureOpenAI

. --services:gpt-4o-mini:Endpoint
- Description: The endpoint URL for the GPT-4o-mini service.
- Type: string
- Example: --services:gpt-4o-mini:Endpoint="https://xxx.openai.azure.com/"

. --services:gpt-4o-mini:Auth
- Description: Specifies the authentication method for the GPT-4o-mini service.
- Type: string
- Example: --services:gpt-4o-mini:Auth=APIKey

. --services:gpt-4o-mini:APIKey
- Description: The API key used for authentication to the GPT-4o-mini service.
- Type: string
- Example: --services:gpt-4o-mini:APIKey="xxx"

. --services:gpt-4o-mini:Deployment
- Description: Specifies the deployment name for the GPT-4o-mini service.
- Type: string
- Example: --services:gpt-4o-mini:Deployment="gpt-4o-mini"

. --services:text-embedding-ada-002:Type
- Description: Specifies the type of service for the text embedding (e.g., AzureOpenAI).
- Type: string
- Example: --services:text-embedding-ada-002:Type=AzureOpenAI

. --services:text-embedding-ada-002:Endpoint
- Description: The endpoint URL for the text-embedding-ada-002 service.
- Type: string
- Example: --services:text-embedding-ada-002:Endpoint="https://xxx.openai.azure.com/"

. --services:text-embedding-ada-002:Auth
- Description: Specifies the authentication method for the text-embedding-ada-002 service.
- Type: string
- Example: --services:text-embedding-ada-002:Auth=APIKey

. --services:text-embedding-ada-002:APIKey
- Description: The API key used for authentication to the text-embedding-ada-002 service.
- Type: string
- Example: --services:text-embedding-ada-002:APIKey="xxx"

. --services:text-embedding-ada-002:Deployment
- Description: Specifies the deployment name for the text-embedding-ada-002 service.
- Type: string
- Example: --services:text-embedding-ada-002:Deployment="text-embedding-ada-002"

Supported database providers

The following database providers are supported:

  • sqlite: SQLite database provider
  • sqlserver: SQL Server database provider
  • mysql: MySQL database provider
  • postgresql: PostgreSQL database provider
  • oracle: Oracle database provider
  • oledb: OLE DB database provider`

Contributing

Contributions are welcome! For more information, please see the CONTRIBUTING file.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.11.2 131 6/25/2025
1.11.1 127 6/25/2025
1.11.0 139 6/15/2025
1.10.1 138 6/5/2025
1.10.0 145 6/2/2025
1.9.0 142 5/26/2025
1.8.0 226 4/21/2025
1.7.1 262 4/14/2025
1.7.1-beta01 280 4/14/2025
1.7.0 260 4/13/2025
1.7.0-beta16 206 4/13/2025
1.7.0-beta15 230 4/13/2025
1.7.0-beta14 218 4/13/2025
1.7.0-beta13 212 4/13/2025
1.7.0-beta12 204 4/13/2025
1.7.0-beta11 159 4/12/2025
1.7.0-beta10 173 4/12/2025
1.7.0-beta09 204 4/11/2025
1.7.0-beta08 191 4/11/2025
1.7.0-beta07 210 4/11/2025
1.7.0-beta06 192 4/11/2025
1.7.0-beta05 211 4/11/2025
1.7.0-beta04 180 4/11/2025
1.7.0-beta03 187 4/11/2025
1.7.0-beta02 212 4/11/2025
1.7.0-beta01 189 4/11/2025
1.6.0 245 4/11/2025
1.5.1 201 4/11/2025
1.5.0 254 4/10/2025
1.5.0-beta03 220 4/10/2025
1.5.0-beta02 225 4/9/2025
1.5.0-beta01 215 4/9/2025
1.4.1-beta01 213 4/9/2025
1.4.0 234 4/8/2025
1.3.1 257 4/7/2025
1.3.1-beta02 224 4/7/2025
1.3.1-beta01 235 4/7/2025
1.3.0 221 4/6/2025
1.3.0-beta03 225 4/6/2025
1.3.0-beta02 178 4/5/2025
1.3.0-beta01 162 4/5/2025
1.2.2 193 4/4/2025
1.2.1 184 4/4/2025
1.2.1-beta02 203 4/4/2025
1.2.1-beta01 205 4/4/2025
1.2.0 206 4/4/2025
1.2.0-beta01 210 4/4/2025
1.1.0 203 3/31/2025
1.1.0-beta01 172 3/31/2025
1.0.2 173 3/31/2025
1.0.1 179 3/31/2025
1.0.0 173 3/31/2025
0.0.3 109 3/29/2025
0.0.3-alpha03 149 3/28/2025
0.0.3-alpha01 143 3/28/2025