magicsword-mcp
v0.1.7Manage MagicSword endpoints, alerts, policies, and private intelligence through MCP.
Values you need
| Variable | What it is | |
|---|---|---|
MAGICSWORD_API_KEY | required secret | MagicSword Customer API key from Portal settings. |
npm (npx)
Requires Node.js 18+
Run in a terminal
claude mcp add magicsword-mcp -e 'MAGICSWORD_API_KEY=<MAGICSWORD_API_KEY>' -- npx -y @magicsword-io/magicsword-mcp@0.1.7Add to
claude_desktop_config.json{
"mcpServers": {
"magicsword-mcp": {
"args": [
"-y",
"@magicsword-io/magicsword-mcp@0.1.7"
],
"command": "npx",
"env": {
"MAGICSWORD_API_KEY": "<MAGICSWORD_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"magicsword-mcp": {
"args": [
"-y",
"@magicsword-io/magicsword-mcp@0.1.7"
],
"command": "npx",
"env": {
"MAGICSWORD_API_KEY": "<MAGICSWORD_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "MAGICSWORD_API_KEY",
"id": "magicsword-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"magicsword-mcp": {
"args": [
"-y",
"@magicsword-io/magicsword-mcp@0.1.7"
],
"command": "npx",
"env": {
"MAGICSWORD_API_KEY": "${input:magicsword-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.magicsword-mcp]
command = "npx"
args = ["-y", "@magicsword-io/magicsword-mcp@0.1.7"]
env = { "MAGICSWORD_API_KEY" = "<MAGICSWORD_API_KEY>" }For AI agents
- Ask the user for: MAGICSWORD_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json