Skip to content

Commit 50d10b3

Browse files
authored
Merge pull request #7 from alex-wolf-ps/test-branch
Add MCP Server Support
2 parents ce84935 + ddee81f commit 50d10b3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+374
-23
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,8 @@ FodyWeavers.xsd
384384
!.vscode/tasks.json
385385
!.vscode/launch.json
386386
!.vscode/extensions.json
387+
!.vscode/launch.json
388+
!.vscode/mcp.json
387389
*.code-workspace
388390

389391
# Local History for Visual Studio Code

.vscode/launch.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "C#: MCP Debug",
9+
"type": "coreclr",
10+
"request": "attach",
11+
"processName": "DbChatPro.MCPServer.exe"
12+
}
13+
14+
]
15+
}

.vscode/mcp.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"inputs": [],
3+
"servers": {
4+
"DBChatPro": {
5+
"type": "stdio",
6+
"command": "dotnet",
7+
"args": [
8+
"run",
9+
"--project",
10+
"${workspaceFolder}/DbChatPro.MCPServer/DbChatPro.MCPServer.csproj",
11+
],
12+
"env": {
13+
"AZURE_OPENAI_ENDPOINT": "",
14+
"OPENAI_KEY": "",
15+
"OLLAMA_ENDPOINT": "",
16+
"GITHUB_MODELS_KEY": "",
17+
"AWS_REGION": "",
18+
"AWS_PROFILE": "",
19+
"DATABASETYPE": "MSSQL",
20+
"DATABASECONNECTIONSTRING": "",
21+
},
22+
}
23+
}
24+
}

DBChatPro/Components/Layout/MainLayout.razor renamed to DBChatPro.UI/Components/Layout/MainLayout.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<MudLayout>
88
<MudAppBar Elevation="2">
99
<MudIconButton Icon="@Icons.Material.Filled.Menu" Color="Color.Inherit" Edge="Edge.Start" OnClick="@((e) => DrawerToggle())" />
10-
<MudText Typo="Typo.h5" Class="ml-3">DBChatPro 5.0</MudText>
10+
<MudText Typo="Typo.h5" Class="ml-3">DBChatPro 6.0</MudText>
1111
<MudSpacer />
1212
<MudIconButton Icon="@Icons.Material.Filled.MoreVert" Color="Color.Inherit" Edge="Edge.End" />
1313
</MudAppBar>
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)