DaemonsMCP
DaemonsMCP is a comprehensive C# MCP service that provides LLMs with secure, full-featured access to explore, read, and write to local codebases. Built on MCPSharp for reliable transport and JSON-RPC communication, it gives your AI assistant the ability to see, navigate, understand, and modify your project files just like a developer would.
claude mcp add --transport stdio mmeents-daemonsmcp dotnet DaemonsMCP/bin/Release/net9.0/DaemonsMCP.dll \ --env DAEMONSMCP_DATA_PATH="Optional override for centralized data location (defaults to standard ProgramData or user path)" \ --env DAEMONSMCP_CONFIG_VIEWER_HOST="Optional host for the DaemonsConfigViewer integration"
How to use
DaemonsMCP is a comprehensive MCP service written in C# that gives LLMs secure, full-featured access to explore, read, and modify your local codebases. It uses PackedTables.NET for fast, binary storage of configurations and supports features like code intelligence, multi-project management, and hot-reload file watching. You can navigate projects, read files, create/update/delete files and directories, back up destructive operations, and manage permissions. The DaemonsConfigViewer GUI provides an easy way to configure and manage all settings, projects, and security rules with live validation and hot-reload awareness. After starting the server, Claude or any compatible MCP client can issue RPC calls to browse the repository tree, read file contents, and perform write operations with safeguards and backups.
How to install
Prerequisites:
- .NET 9.0 SDK installed
- Build environment (e.g., Windows, Linux, or macOS with .NET tooling)
- Optional: Claude Desktop for integrated workflow
Step 1: Clone the repository
git clone https://github.com/mmeents/DaemonsMCP.git
cd DaemonsMCP
Step 2: Build the release version
# Build the release configuration
dotnet build --configuration Release
Step 3: Run the server
- On Windows, after a successful build, run the executable directly:
# From repository root, or use the published path
DaemonsMCP/bin/Release/net9.0/DaemonsMCP.exe
- Or use the dotnet command (preferred if you work with DLLs and cross-platform):
dotnet DaemonsMCP/bin/Release/net9.0/DaemonsMCP.dll
Step 4: Optional GUI configuration
- Run the DaemonsConfigViewer to configure projects and security settings via GUI:
cd DaemonsConfigViewer
dotnet run
Step 5: Verify configuration storage
- The server uses centralized storage under ProgramData on Windows or ~/.local/share on Linux/macOS. Ensure the paths exist or override with environment variables as needed.
Additional notes
Tips and common considerations:
- Centralized storage: DaemonsMCP moves configuration to a centralized location (e.g., C:\ProgramData\DaemonsMCP on Windows or ~/.local/share/DaemonsMCP on Linux/macOS). Ensure the process has write access to this directory.
- Security: The service includes multi-layer validation and backups. Use DaemonsConfigViewer to set per-project permissions and ensure only trusted LLMs can perform write operations.
- Backups: Writable destructive operations automatically create timestamped backups. Consider scheduling periodic backups for long-running projects.
- Hot reload: The RepositoryFileWatcher monitors changes and triggers reloads without restarting the service. Be aware of external edits from Claude/ConfigViewer and rely on the GUI indicators for changes.
- Data compatibility: If upgrading from older versions, migrate from per-project .daemons configurations to the centralized PackedTables storage as guided in the release notes.
- Environment variables: You can override default paths or enable integration with other tools by setting DAEMONSMCP_DATA_PATH and DAEMONSMCP_CONFIG_VIEWER_HOST as shown in the mcp_config env example.
Related MCP Servers
mcp-for-beginners
This open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable, and secure AI workflows from session setup to service orchestration.
Gitingest
mcp server for gitingest
aws-cost-explorer
MCP server for understanding AWS spend
ncp
Natural Context Provider (NCP). Your MCPs, supercharged. Find any tool instantly, load on demand, run on schedule, ready for any client. Smart loading saves tokens and energy.
mcp_server_filesystem
MCP File System Server: A secure Model Context Protocol server that provides file operations for AI assistants. Enables Claude and other assistants to safely read, write, and list files in a designated project directory with robust path validation and security controls.
RiMCP_hybrid
Rimworld Coding RAG MCP server