Spike.sh MCP by usefulapi

v1.41.1
io.usefulapi/spikesh Checked 3 days ago Published 1 day ago

Read Spike.sh incidents, on-call, escalations and services; acknowledge, resolve, set priority.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

spike_list_teams List teams

List all teams in the Spike.sh organization — {teams:[{_id, name, uid, private, org}]}. NOT team-scoped (no x-team-id needed). The `_id` values here are what you pass as `teamId` (x-team-id) to every other tool. Spike: GET /teams/get-all-teams.

spike_list_incidents List incidents

List incidents for a team — {incidents:[...], totalIncidents, totalOpenIncidents, pagination}. Each incident carries title, status, priority, severity, and timing. Spike: GET /incidents (team-scoped).

ParameterTypeDescription
pageinteger1-based page number for pagination.
perPageintegerResults per page.
teamIdstringThe 24-char hex team _id to scope this request to (x-team-id). Omit to use the configured default (SPIKE_TEAM_ID). List ids with spike_list_teams.

spike_list_triggered_incidents List triggered incidents

List currently TRIGGERED (open, unacknowledged) incidents for a team — the active fire-fighting queue. Spike: GET /incidents/triggered (team-scoped).

ParameterTypeDescription
teamIdstringThe 24-char hex team _id to scope this request to (x-team-id). Omit to use the configured default (SPIKE_TEAM_ID). List ids with spike_list_teams.

spike_list_acknowledged_incidents List acknowledged incidents

List currently ACKNOWLEDGED (being worked on, not yet resolved) incidents for a team. Spike: GET /incidents/acknowledged (team-scoped).

ParameterTypeDescription
teamIdstringThe 24-char hex team _id to scope this request to (x-team-id). Omit to use the configured default (SPIKE_TEAM_ID). List ids with spike_list_teams.

spike_get_incident Get incident

Get a single incident's full detail by its counterId — {incident, duration, metadata, comments, repeatedIncidents}. Spike: GET /incidents/{counterId} (team-scoped).

ParameterTypeDescription
counterId *stringThe incident's counterId (its human-facing incident number/id).
teamIdstringThe 24-char hex team _id to scope this request to (x-team-id). Omit to use the configured default (SPIKE_TEAM_ID). List ids with spike_list_teams.

spike_get_incident_activity_log Get incident activity log

Get the chronological activity log for an incident — {incident, activities:[...]} (who acknowledged/resolved/commented and when). Spike: GET /incidents/{counterId}/activity-log (team-scoped).

ParameterTypeDescription
counterId *stringThe incident's counterId.
teamIdstringThe 24-char hex team _id to scope this request to (x-team-id). Omit to use the configured default (SPIKE_TEAM_ID). List ids with spike_list_teams.

spike_list_on_calls List on-call schedules

List a team's on-call schedules — {oncalls:[...]}. Each on-call has an id, name, timezone, and layers. Use the id with spike_get_on_call / spike_who_is_on_call_next. Spike: GET /on-calls (team-scoped).

ParameterTypeDescription
teamIdstringThe 24-char hex team _id to scope this request to (x-team-id). Omit to use the configured default (SPIKE_TEAM_ID). List ids with spike_list_teams.

spike_get_on_call Get on-call schedule

Get one on-call schedule by id — {oncall:{_id, name, timezone, teams, users, activeShift, renderedShifts}}. `from` optionally sets the window start for rendered shifts. Spike: GET /on-calls/{oncallId} (team-scoped).

ParameterTypeDescription
oncallId *stringThe on-call schedule's id (from spike_list_on_calls).
fromstringISO timestamp to render upcoming shifts from (e.g. "2026-07-19T00:00:00Z").
teamIdstringThe 24-char hex team _id to scope this request to (x-team-id). Omit to use the configured default (SPIKE_TEAM_ID). List ids with spike_list_teams.

spike_who_is_on_call_next Who is on call next

Get the NEXT scheduled shift for an on-call schedule — {nextShift:{userId, startTimeInUTC, endTimeInUTC}} (or {} if none). Spike: GET /on-calls/{oncallId}/who-is-on-call-next (team-scoped).

ParameterTypeDescription
oncallId *stringThe on-call schedule's id.
teamIdstringThe 24-char hex team _id to scope this request to (x-team-id). Omit to use the configured default (SPIKE_TEAM_ID). List ids with spike_list_teams.

spike_list_escalations List escalation policies

List a team's escalation policies — {totalEscalations, escalations:[{_id, name, teams, org}], pagination}. Spike: GET /escalations (team-scoped).

ParameterTypeDescription
teamIdstringThe 24-char hex team _id to scope this request to (x-team-id). Omit to use the configured default (SPIKE_TEAM_ID). List ids with spike_list_teams.

spike_get_escalation Get escalation policy

Get one escalation policy by id — {escalation, integrations:[...], isPinned, alertRules}. Spike: GET /escalations/{escalationId} (team-scoped).

ParameterTypeDescription
escalationId *stringThe escalation policy's _id (from spike_list_escalations).
teamIdstringThe 24-char hex team _id to scope this request to (x-team-id). Omit to use the configured default (SPIKE_TEAM_ID). List ids with spike_list_teams.

spike_list_services List services

List a team's services — {totalServices, services:[{_id, counterId, name, desc, teams, org}], pagination}. Spike: GET /services (team-scoped).

ParameterTypeDescription
teamIdstringThe 24-char hex team _id to scope this request to (x-team-id). Omit to use the configured default (SPIKE_TEAM_ID). List ids with spike_list_teams.

spike_get_service Get service

Get one service by its counterId — {service, org, openIncidentsCountForService, incidents, badgeURL}. Spike: GET /services/{counterId} (team-scoped).

ParameterTypeDescription
counterId *stringThe service's counterId (from spike_list_services).
teamIdstringThe 24-char hex team _id to scope this request to (x-team-id). Omit to use the configured default (SPIKE_TEAM_ID). List ids with spike_list_teams.

spike_acknowledge_incidents Acknowledge incidents

ACKNOWLEDGES one or more incidents — this CHANGES live incident state (stops escalation and marks them as being worked on). Spike: POST /incidents/acknowledge with {ids:[...]}.

ParameterTypeDescription
ids *arrayIncident ids (the incident `_id` values) to acknowledge.
teamIdstringThe 24-char hex team _id to scope this request to (x-team-id). Omit to use the configured default (SPIKE_TEAM_ID). List ids with spike_list_teams.

spike_resolve_incidents Resolve incidents

RESOLVES (closes) one or more incidents — this CHANGES live incident state and marks them done. Spike: POST /incidents/resolve with {ids:[...]}.

ParameterTypeDescription
ids *arrayIncident ids (the incident `_id` values) to resolve.
teamIdstringThe 24-char hex team _id to scope this request to (x-team-id). Omit to use the configured default (SPIKE_TEAM_ID). List ids with spike_list_teams.

spike_set_incident_priority Set incident priority

Sets the PRIORITY (p1..p5) on one or more incidents — this CHANGES live incident state. Spike: POST /incidents/priority with {ids:[...], priority}.

ParameterTypeDescription
ids *arrayIncident ids (the incident `_id` values) to update.
priority *stringPriority level: p1 (highest) .. p5 (lowest).
teamIdstringThe 24-char hex team _id to scope this request to (x-team-id). Omit to use the configured default (SPIKE_TEAM_ID). List ids with spike_list_teams.