mcp-add - Install dotforge MCP server template into Claude Code config
Install an MCP server template from dotforge into a project or global Claude Code config with a single command.
Tags
Updated: 2026-09-15Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Parse command arguments and flags
- Validate server template directory
- Load template config and permissions
- Check existing server configuration
- Merge server config block
- Merge allow and deny permissions
- Update settings.json file
- Copy rules.md to destination
Inputs
- Server name argument
- --global flag
- Environment variable $DOTFORGE_DIR
- Server template files
- Claude Code settings.json file
- User confirmation input
Outputs
- Updated settings.json file
- Copied mcp-<server>.md rule file
- Console confirmation and status messages
Requirements
- $DOTFORGE_DIR environment variable
- Existing dotforge MCP server template
- Claude Code environment
