Requires Node 18+ on your system so npx can fetch the package on first run. Cursor reloads its MCP servers automatically the moment the file is saved — no restart needed. Paste the config below, then follow the reload step to register splunk-mcp.
~/.cursor/mcp.json.cursor/mcp.json (commit alongside your repo){
"mcpServers": {
"splunk": {
"command": "npx",
"args": [
"-y",
"splunk-mcp"
],
"env": {
"SPLUNK_HOST": "your_splunk_host",
"SPLUNK_PORT": "8089",
"SPLUNK_USERNAME": "your_username",
"SPLUNK_PASSWORD": "your_password",
"SPLUNK_SCHEME": "https",
"VERIFY_SSL": "true"
}
}
}
}