Resources and tools

The Seamward MCP server exposes eight tools, six resources, and two prompts. Every one of them is read-only, idempotent, and non-destructive; nothing a client calls can change your workspace, your integrations, or your production systems.

Current registered contract

These are the names registered by the current server. Every tool is read-only and scoped to a previously reviewed workspace, mode and exact connection set. New hosted authorization reviews the exact mode and connection selection in browser consent. A zero-connection grant returns empty lists.

Every tool result and resource wraps its payload in the same envelope, so the client always knows which workspace the data came from. Counts and latest activity in the overview include only the reviewed mode and connections:

Code example

{  "schemaVersion": "seamward.mcp/1",  "workspace": { "id": "wks_2ac9017e", "name": "Acme", "slug": "acme" },  "data": { "...": "the tool-specific result" }}

Tools

ToolPurposeRequired scope
get_workspace_overviewWorkspace summary, integration health, incident countsseamward:workspace:read
list_integrationsPage through integrations with health and both analysis statesseamward:workspace:read
get_integrationOne integration with safe configuration and both analysis statesseamward:workspace:read
list_incidentsPage through incidents, optionally filtered by statusseamward:incidents:read
get_incidentOne incident with findings and evidence referencesseamward:incidents:read
get_incident_replayReplay dataset metadata and deterministic run resultsseamward:repairs:read
get_repair_proposalOne proposal with validation and decision provenanceseamward:repairs:read
get_approved_repair_bundleResource links for an approved repair bundleseamward:repairs:export

Parameters

The two list tools share pagination parameters:

ParameterTypeConstraints
cursorstring, optional1 to 256 characters; omit for the first page
limitinteger, optional1 to 100, default 25

The remaining tools each take one identifier:

ParameterUsed byFormat
integrationIdget_integrationStarts with int_
incidentIdget_incident, get_incident_replayOpaque string, 1 to 128 characters
proposalIdget_repair_proposal, get_approved_repair_bundleStarts with rep_
statuslist_incidents, optionalopen or resolved

get_workspace_overview takes no parameters. All tool inputs are strict: an unknown parameter is rejected rather than ignored.

Example call

A client listing open incidents sends:

Code example

{  "name": "list_incidents",  "arguments": { "status": "open", "limit": 10 }}

and receives the standard envelope with a page of incidents in data, including a cursor when more pages exist. Identifiers in results (such as incidentId values) feed directly into the single-item tools.

Tool errors

Failed calls return a stable error code instead of data:

CodeMeaningWhat to do
unauthorizedThe grant is no longer valid for this workspaceReconnect and approve again
forbiddenThe grant lacks the tool's required scopeReconnect and approve the missing scope
not_foundThe id is outside the reviewed selection or no longer existsCheck the id, mode and connection set
internal_errorSomething failed on the Seamward sideRetry; report it if it persists

get_approved_repair_bundle additionally requires that the proposal is already approved and passes fingerprint checks; an unapproved proposal is never exported.

Resources

Clients that browse resources can read the same data by URI:

Resource URIContentsRequired scope
seamward://workspace/current/overviewWorkspace health summaryseamward:workspace:read
seamward://workspace/current/integrations/{integrationId}One integrationseamward:workspace:read
seamward://workspace/current/incidents/{incidentId}One incident with redacted evidenceseamward:incidents:read
seamward://workspace/current/incidents/{incidentId}/replayImmutable replay evidenceseamward:repairs:read
seamward://workspace/current/repairs/{proposalId}One repair proposal and validation recordseamward:repairs:read
seamward://workspace/current/repairs/{proposalId}/export/{fileName}One file from an approved repair bundleseamward:repairs:export

The export resource serves three files per approved proposal: repair.json (the machine-readable manifest), REPAIR.md (the readable report), and repair.ts (the TypeScript patch). All resources return JSON except the export files, which are served as text.

Prompts

Two prompts package common workflows so you can start them from your client's prompt picker:

  • investigate_seamward_incident takes an incidentId and guides an evidence-backed investigation: read the incident and its replay evidence, inspect your local repository separately, and keep Seamward evidence distinct from inference. It never changes production systems.
  • implement_approved_repair takes a proposalId and guides a local review change: confirm the proposal is approved, retrieve its bundle, and prepare a local patch with tests. It never merges or deploys.

Neither prompt can approve, deliver, or mutate anything in Seamward; they only direct the client to the read-only tools above.

Next steps

  • Authorization: which scopes unlock these tools and how to revoke a client.
  • MCP overview: connecting a client for the first time.

Integration list and detail results include structuralAnalysis and behavioralAnalysis with its current status, last completed pass and any capacity pause. The object follows the Workspace API state definition. Observation activity or zero open incidents alone does not prove that both forms of analysis completed.