All Apps and Add-ons

Is it possible to use the Splunk MCP Server APP on-premises?

hk_baek
Engager

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:

hk_baek_3-1758510928563.png

Is there any additional step I should take?

Thank you.          

Labels (1)
Tags (1)
0 Karma

livehybrid
SplunkTrust
SplunkTrust

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:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

0 Karma

hk_baek
Engager

hi @livehybrid

  1. The MCP server I used was downloaded from https://splunkbase.splunk.com/app/7931.

  2. I configured it as shown below, but the same error still occurs..

{
  "mcpServers": {
    "splunk-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "--header",
        "Authorization: Bearer eyJraWQiOiJzcGx1bmsuc2..."
      ],
      "env": {
        "NODE_TLS_REJECT_UNAUTHORIZED": "0"
      }
    }
  }
}
 
3. Splunk was installed in a VMware instance running on a desktop PC.

Thank you.

Tags (1)
0 Karma

xvalette
Explorer

Did you try to use a token with a "mcp" audience ?

0 Karma

hk_baek
Engager

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?

hk_baek_0-1759105994131.png

 

0 Karma

xvalette
Explorer

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!

hk_baek
Engager

@xvalette Thank you for your response.

As you can see from the image below, the result is the same as what you mentioned.

hk_baek_0-1759192051791.png

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"
      }
    }
  }
}
0 Karma

xvalette
Explorer

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 !

hk_baek
Engager

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

 

0 Karma

hk_baek
Engager

There are additional settings.

authorize.conf

[role_mcp_user]
mcp_tool_admin = enabled
mcp_tool_execute = enabled

 

0 Karma
Get Updates on the Splunk Community!

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...