Hello,
I have a question regarding the Splunk MCP Server APP provided by Splunkbase.
After configuring Splunk Enterprise On-Prem as below and proceeding with the setup, an error occurs.
Splunk Enterprise On-Prem
a. We have installed Splunk Enterprise 9.4.4 with the Splunk MCP Server APP.
b. Roles, users, and tokens have been created.
c. When configuring the MCP server in Claude and running it,
the following error occurs:
Is there any additional step I should take?
Thank you.
Hi @hk_baek
Are you using a trusted SSL certificate on your Splunk mgmt port? If not you may need to configure mcp-remote to disable SSL verification:
"remote-example": {
"command": "npx",
"args": [
"mcp-remote",
"https://remote.mcp.server/sse"
],
"env": {
"NODE_TLS_REJECT_UNAUTHORIZED": "0"
}
}
}
Was the URL you are using provided by the MCP app in Splunk?
🌟 Did this answer help you? If so, please consider:
Your feedback encourages the volunteers in this community to continue contributing
hi @livehybrid
The MCP server I used was downloaded from https://splunkbase.splunk.com/app/7931.
I configured it as shown below, but the same error still occurs..
Thank you.
Yes, I’m using MCP.
I tried following this YouTube video: MCP Server on Splunk Cloud Platform Demo
Does it work well on your side, xvalette?
Yes it does @hk_baek (after some work) 🙂,
Let's first check connectivity between your MCP Client and your Splunk MCP Server,
If you perform such request, what do you get ?
xvalette@XVALETTE-M-06WY ~ % curl -k \
-H "Authorization: Bearer <YOUR_TOKEN>" \
-H "Content-Type: application/json" \
-X POST \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"client":"curl","version":"0.1"}}' \
https://<YOUR_IP_AND_PORT>/services/mcp
In my working environment, the response is :
{"jsonrpc":"2.0","id":1,"result":{"protocolVersion":"2025-03-26","capabilities":{"tools":{}},"serverInfo":{"name":"Splunk_MCP_Server","version":"0.2.2"}}}%
Happy to help!
@xvalette Thank you for your response.
As you can see from the image below, the result is the same as what you mentioned.
I configured Claude as shown below.
Is there anything I might have set up incorrectly?
{
"mcpServers": {
"splunk-mcp-server": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://<IP ADDR>:8089/services/mcp",
"--header",
"Authorization: Bearer <TOKEN>"
],
"env": {
"NODE_TLS_REJECT_UNAUTHORIZED": "0"
}
}
}
}
Hey @hk_baek,
On your laptop where Claude Desktop is installed, can you perform :
tail -f ~/Library/Logs/Claude/mcp*.log
Then launch Claude Desktop, you should have some logs that can help, feel free to share it here !
The response was delayed.
It seems to be an issue with Claude.
It works properly with the same configuration in Cursor.
{
"mcpServers": {
"splunk-mcp-server": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"[SPLUNK_SERVER IP:PORT/service/mcp]",
"--header",
"Authorization: Bearer eyJraWQiOiJzcGx..."
],
"env": {
"NODE_TLS_REJECT_UNAUTHORIZED": "0"
}
}
}
}
Thanks
There are additional settings.
authorize.conf
[role_mcp_user]
mcp_tool_admin = enabled
mcp_tool_execute = enabled