Skip to main content

MCP server for Splunk On-Call (VictorOps) incident management

Project description

mcp-server-splunk-oncall

MCP server for Splunk On-Call (VictorOps) incident management. Full coverage of the Splunk On-Call REST API with automatic read-only detection.

Installation

uvx mcp-server-splunk-oncall

Or install from PyPI:

pip install mcp-server-splunk-oncall

Configuration

The server requires two environment variables:

  • SPLUNK_ONCALL_API_ID - Your Splunk On-Call API ID
  • SPLUNK_ONCALL_API_KEY - Your Splunk On-Call API key

Claude Code

Add to your Claude Code MCP settings:

{
  "mcpServers": {
    "splunk-oncall": {
      "command": "uvx",
      "args": ["mcp-server-splunk-oncall"],
      "env": {
        "SPLUNK_ONCALL_API_ID": "your-api-id",
        "SPLUNK_ONCALL_API_KEY": "your-api-key"
      }
    }
  }
}

Read-Only Mode

The server automatically detects whether the API key is read-only or full-access on first use. When a read-only key is provided, write operations return a clear error message instead of failing with a 403. Use get_access_mode to check.

You can also force read-only mode with a full-access key by setting:

"SPLUNK_ONCALL_READ_ONLY": "true"

This is useful when you want to use a full-access key but prevent accidental writes (e.g. a monitoring-only MCP instance).

Available Tools (45 total)

Access

  • get_access_mode - Check if API key is full-access or read-only

Incidents (7 tools)

  • list_incidents - List all current incidents
  • acknowledge_incidents - Acknowledge incidents by number
  • resolve_incidents - Resolve incidents by number
  • acknowledge_all_incidents - Acknowledge all triggered incidents
  • resolve_all_incidents - Resolve all triggered incidents
  • reroute_incidents - Reroute incidents to another user or policy
  • get_incident_timeline - Get event timeline for an incident

On-Call (3 tools)

  • get_oncall - Who is currently on call across all teams
  • get_team_oncall_schedule - On-call schedule for a team
  • get_user_oncall_schedule - On-call schedule for a user

Teams (10 tools)

  • list_teams - List all teams
  • get_team - Get team details
  • create_team - Create a new team
  • update_team - Update a team name
  • delete_team - Delete a team
  • get_team_members - List members of a team
  • add_team_member - Add a user to a team
  • remove_team_member - Remove a user from a team
  • get_team_admins - List team admins
  • get_team_policies - List escalation policies for a team

Users (9 tools)

  • list_users - List all users
  • get_user - Get user details
  • create_user - Invite a new user
  • delete_user - Delete a user (with replacement)
  • get_user_contact_methods - List contact methods
  • get_user_devices - List push notification devices
  • get_user_oncall_schedule - User on-call schedule
  • get_user_policies - User escalation policies
  • get_user_teams - User team memberships

Routing Keys (3 tools)

  • list_routing_keys - List routing keys and their policies
  • create_routing_key - Create a routing key
  • delete_routing_key - Delete a routing key

Escalation Policies (4 tools)

  • list_policies - List all escalation policies
  • get_policy - Get escalation policy details
  • create_policy - Create an escalation policy
  • delete_policy - Delete an escalation policy

Maintenance (4 tools)

  • list_maintenance - List maintenance windows
  • get_maintenance - Get maintenance window details
  • create_maintenance - Create a maintenance window
  • end_maintenance - End a maintenance window early

Organization (2 tools)

  • get_org_info - Get organization information
  • get_org_timeline - Organization-wide event timeline

Alerts and Reporting (3 tools)

  • list_alerts - List recent alerts
  • get_incident_history - Historical incident data
  • get_oncall_report - On-call report for a team

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_server_splunk_oncall-0.2.1.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_server_splunk_oncall-0.2.1-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file mcp_server_splunk_oncall-0.2.1.tar.gz.

File metadata

  • Download URL: mcp_server_splunk_oncall-0.2.1.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for mcp_server_splunk_oncall-0.2.1.tar.gz
Algorithm Hash digest
SHA256 bae730a245fcc4fa2788205f67640e20a0fbc04b5debcba19b2187d5525254a7
MD5 f1187727ab8bd8d3f6010380020eac7c
BLAKE2b-256 d78a6516a7819bc8d01ca872637bc3053829900a2732af012de9aae6225440de

See more details on using hashes here.

File details

Details for the file mcp_server_splunk_oncall-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: mcp_server_splunk_oncall-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for mcp_server_splunk_oncall-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d722ddbb3a411395f320b505c9c0180e4e17e2ac603623e16eed2d1627a8392a
MD5 5dbcbef8e230d3d2f40cc5de4224afc6
BLAKE2b-256 b086b0459b2031cf9d550bb3feb943df53bd68c2827042de631cffe63727d2d1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page