aRustyDev / aRustyDev/dotfiles

Add MCP server management module

Open
#169 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Jupyter Notebook
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Summary
Implemented a comprehensive MCP (Model Context Protocol) server management system as a Nix-Darwin module.

## Work Completed
- Created `nix-darwin/modules/mcp-servers.nix` with support for multiple installation types
- Support for binary, Docker, source code, and Git repository installations
- Smart caching mechanism to avoid unnecessary rebuilds
- Integration with 1Password for secret management via `op run`
- Automatic VS Code configuration generation
- All servers installed to `~/.mcp/servers/` with organized structure

## Technical Details
- Module uses content-based hashing for source builds
- Docker images can be exported as tar files for offline use
- Wrapper scripts handle environment setup and secret injection
- VS Code settings automatically updated via Home Manager activation

## Files Added
- `nix-darwin/modules/mcp-servers.nix` - Main module implementation
- `mcp/README.md` - Comprehensive documentation
- `mcp/examples/` - Example configurations for different server types
- `mcp/manage-servers.sh` - Server management utility
- `mcp/test-server.sh` - Testing utility

## Related
Part of the dotfiles repository enhancement effort.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.