Files
home-manager/tests/modules/programs/crush/mcp-integration.json
Vidhan Bhatt 44a1a0ab16 crush: add module
Add a module for Crush, Charm's coding agent for the terminal.

The module installs the package, writes the JSON configuration to
$XDG_CONFIG_HOME/crush/crush.json, and manages Agent Skills either from
an attribute set or from a directory. With `enableMcpIntegration` it
also takes the MCP servers from the shared `programs.mcp` module.

Co-authored-by: Rane <rane+git@junkyard.systems>
2026-08-05 10:43:29 -05:00

41 lines
791 B
JSON

{
"$schema": "https://charm.land/crush.json",
"mcp": {
"context7": {
"headers": {
"CONTEXT7_API_KEY": "$CONTEXT7_API_KEY"
},
"type": "http",
"url": "https://mcp.context7.com/mcp"
},
"disabled-server": {
"args": [
"test"
],
"command": "echo",
"disabled": true,
"type": "stdio"
},
"everything": {
"args": [
"-y",
"@modelcontextprotocol/server-everything"
],
"command": "npx",
"env": {
"NPM_TOKEN": "$(cat /run/secrets/npm-token)"
},
"type": "stdio"
},
"filesystem": {
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/tmp"
],
"command": "npx",
"type": "stdio"
}
}
}