-
Notifications
You must be signed in to change notification settings - Fork 1
V3 Installation
Complete guide to installing and configuring DaemonsMCP Version 3.
-
.NET 8.0 SDK or later
- Download: https://dotnet.microsoft.com/download
- Verify:
dotnet --version
-
SQL Server 2019+
- Options:
- SQL Server Express (free, local development)
- SQL Server Developer Edition (free, full features)
- SQL Server Standard/Enterprise (production)
- Download: https://www.microsoft.com/sql-server/sql-server-downloads
- Options:
-
Visual Studio 2022 or VS Code usually both.
- VS 2022: https://visualstudio.microsoft.com/
- used to run and edit the server for the config and Angular config viewer.
- VS Code: https://code.visualstudio.com/ + C# extension
- used to run the config viewer app.
- VS 2022: https://visualstudio.microsoft.com/
-
Node.js 20+ and npm 10+
- Download: https://nodejs.org/
- Verify:
node --versionandnpm --version
-
Angular CLI 18+
- Install:
npm install -g @angular/cli - Verify:
ng version
- Install:
# Clone V3 branch
git clone -b V3 https://github.com/yourusername/DaemonsMCP.git
cd DaemonsMCPOr download ZIP from GitHub and extract.
-
Install SQL Server Express:
- Download SQL Server Express with LocalDB
- Accept defaults during installation
-
Verify Installation:
sqlcmd -S localhost -E -Q "SELECT @@VERSION"- Install SQL Server with SQL Server Management Studio (SSMS)
- Note your server name (usually
localhostor.\SQLEXPRESS)
Edit server/DaemonsMCP.Api/appsettings.json:
{
"ConnectionStrings": {
"DefaultConnection": "Server=localhost;Database=DaemonsMCP;Trusted_Connection=true;TrustServerCertificate=true"
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.EntityFrameworkCore": "Warning"
}
}
}Connection String Variations:
- Windows Authentication (recommended):
Server=localhost;Database=DaemonsMCP;Trusted_Connection=true;TrustServerCertificate=true
- SQL Authentication:
Server=localhost;Database=DaemonsMCP;User Id=sa;Password=YourPassword;TrustServerCertificate=true
- LocalDB:
Server=(localdb)\\mssqllocaldb;Database=DaemonsMCP;Trusted_Connection=true
- Named Instance:
Server=localhost\\SQLEXPRESS;Database=DaemonsMCP;Trusted_Connection=true;TrustServerCertificate=true
For the Server, I usually use Visual Studio and its Package Manager Console. Navigate to the API project:
cd server/DaemonsMCP.Apidotnet tool install --global dotnet-efdotnet ef database updateYou should see:
Build started...
Build succeeded.
Applying migration '20250101000000_InitialCreate'.
Done.
Using SSMS or sqlcmd:
USE DaemonsMCP;
GO
SELECT TABLE_NAME
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_TYPE = 'BASE TABLE';You should see tables:
- Projects
- FileSystemNodes
- ObjectHierarchy
- Items
- ItemTypes
- StatusTypes
cd server
dotnet buildVerify no errors in:
- DaemonsMCP.Domain
- DaemonsMCP.Application
- DaemonsMCP.Infrastructure
- DaemonsMCP.Api
- Set DaemonsMCP.Api as the default and run it. Verify by browsing to https://localhost:44356/swagger/index.html
Windows:
%APPDATA%\Claude\claude_desktop_config.json
macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Edit claude_desktop_config.json:
{
"mcpServers": {
"daemons3mcp": {
"command": "C:\\YourPath\\DaemonsMCP\\server\\DaemonsMCP\\bin\\Debug\\net9.0-windows7.0\\Daemons3MCP.exe",
"args": []
}
}
}- Close Claude Desktop completely
- Reopen Claude Desktop
- Wait for MCP server to initialize (check system tray icon)
In Claude, ask:
List available MCP tools
You should see tools like:
daemons3mcp:list-projectsdaemons3mcp:search-file-systemdaemons3mcp:search-object-hierarchydaemons3mcp:search-items
Ask Claude:
Add a new project called 'TestProject' at C:\Code\MyProject
SELECT * FROM Projects;Note: this is usually best done from VS Code.
cd client/config-viewernpm installIf you encounter peer dependency warnings:
npm install --legacy-peer-depsVerify src/environments/environment.ts:
export const environment = {
production: false,
apiUrl: 'https://localhost:44356'
};In Visual Studio or terminal:
cd server/DaemonsMCP.Api
dotnet runVerify at: https://localhost:44356/swagger/index.html
Ensure server/DaemonsMCP.Api/Program.cs has CORS enabled:
builder.Services.AddCors(options =>
{
options.AddPolicy("LocalDev",
policy =>
{
policy.WithOrigins("http://localhost:4200")
.AllowAnyHeader()
.AllowAnyMethod();
});
});
// After app.Build()
app.UseCors("LocalDev");This is usually done from VS Code terminal.
ng serveNavigate to: http://localhost:4200
You should see the DaemonsMCP Config Viewer interface.
Error: "A connection was successfully established with the server, but then an error occurred during the login process."
Solution:
- Verify SQL Server is running:
services.msc→ find SQL Server - Check server name in connection string
- Ensure Windows Authentication or correct SQL credentials
- Add
TrustServerCertificate=trueto connection string
Error: "Build failed."
Solution:
- Ensure you're in
DaemonsMCP.Apidirectory - Clean and rebuild:
dotnet clean && dotnet build - Check for compilation errors in all projects
Error: Claude shows "MCP server error"
Solution:
- Verify .NET 8.0 is installed:
dotnet --version - Check absolute path in
claude_desktop_config.json - Use forward slashes in path (even Windows)
- Check Claude logs:
%APPDATA%\Claude\logs\mcp*.log
Error: "Access to XMLHttpRequest blocked by CORS policy"
Solution:
- Ensure backend API is running at https://localhost:44356
- Verify CORS policy includes http://localhost:4200
- Navigate to https://localhost:44356/health and accept cert
- Restart Angular dev server
Error: "Failed to bind to address https://127.0.0.1:44356"
Solution:
- Change port in
launchSettings.json:
"applicationUrl": "https://localhost:44357;http://localhost:5001"- Update
environment.tsin Angular client - Update CORS origins in API
- Configuration Guide - Configure projects and indexing
- Quick Start Tutorial - Learn basic operations
- MCP Tools Reference - Explore available tools
- Angular Client Guide - Use the web interface
DROP DATABASE DaemonsMCP;Remove the daemonsmcp-v3 entry from claude_desktop_config.json
Delete the cloned repository directory.