Connect and use an MCP client
Authenticate to the MCP server using an MCP client and issue commands to the MCP server.
- Provide the MCP server endpoint. This is
https://<YOUR_SPLUNK_DEPLOYMENT_NAME>.api.scs.splunk.com/<YOUR_SPLUNK_DEPLOYMENT_NAME>/mcp/v1/
- Provide the token that was generated during configuration. Note that the MCP client will have the same privileges as the user for whom the token was created.
Note that the exact configuration might differ depending on your chosen MCP client and the operating system of the machine. Your MCP client might also have additional dependencies like Node.js and mcp-remote that are not owned by Splunk.
{
"mcpServers": {
"splunk-mcp-server": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://<YOUR_SPLUNK_DEPLOYMENT_NAME>.api.scs.splunk.com/<YOUR_SPLUNK_DEPLOYMENT_NAME>/mcp/v1/",
"--header",
"Authorization: Bearer <YOUR_TOKEN>"
]
}
}
}