Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:42:10 +08:00
commit 5a69be63f2
7 changed files with 226 additions and 0 deletions

26
commands/disable.md Normal file
View File

@@ -0,0 +1,26 @@
---
description: Disable an MCP server without removing it
argument-hint: <server-name|all> [--global]
---
# Disable MCP Server
Run the mcp-manager CLI to disable servers:
```bash
# Parse arguments from $ARGUMENTS
ARGS="$ARGUMENTS"
if [ -z "$ARGS" ]; then
echo "Usage: /mcp-manager:disable <server-name|all> [--global]"
echo ""
echo "Examples:"
echo " /mcp-manager:disable filesystem"
echo " /mcp-manager:disable filesystem tavily-mcp"
echo " /mcp-manager:disable all"
echo " /mcp-manager:disable all --global"
exit 1
fi
bun ${CLAUDE_PLUGIN_ROOT}/src/cli.ts disable $ARGS
```

26
commands/enable.md Normal file
View File

@@ -0,0 +1,26 @@
---
description: Enable a disabled MCP server
argument-hint: <server-name|all> [--global]
---
# Enable MCP Server
Run the mcp-manager CLI to enable servers:
```bash
# Parse arguments from $ARGUMENTS
ARGS="$ARGUMENTS"
if [ -z "$ARGS" ]; then
echo "Usage: /mcp-manager:enable <server-name|all> [--global]"
echo ""
echo "Examples:"
echo " /mcp-manager:enable filesystem"
echo " /mcp-manager:enable filesystem tavily-mcp"
echo " /mcp-manager:enable all"
echo " /mcp-manager:enable all --global"
exit 1
fi
bun ${CLAUDE_PLUGIN_ROOT}/src/cli.ts enable $ARGS
```

11
commands/list.md Normal file
View File

@@ -0,0 +1,11 @@
---
description: List all configured MCP servers
---
# List MCP Servers
Run the mcp-manager CLI to list all servers:
```bash
bun ${CLAUDE_PLUGIN_ROOT}/src/cli.ts list
```