Agents work with Skep over the Model Context Protocol (MCP). The MCP server has 62 tools. They call the same code as the REST API and return the same objects, with as_of on every response and every count labeled with its source and whether it is an estimate. The in-app assistant uses exactly these tools, with the permissions of the person signed in. There are no private tools.
The server is at /mcp on your Skep URL and uses streamable HTTP. Authenticate with an API key:
In Skep, go to Agents, then Connect, and create an API key of kind service_account. Give it the scopes the agent needs: viewer to read, editor to propose and apply, plus sampling:boost if it may request boosts.
Ask the agent to call get_workspace_context. It answers with your organization, environments and counts.
Collector keys (skc_) do not work on /mcp. An agent may send X-Skep-On-Behalf-Of: <email> to name the person it acts for; Skep writes it to the audit log.
Read only tools change nothing. They are marked read only and idempotent in their MCP annotations.
Mutating tools change state. Each change is written to the audit log with the agent’s identity and the person it says it acts for.
Can wait for approval means the tool may answer status: "pending_approval" with an approval_id instead of acting. A person decides in Agents, then Approvals. The agent checks the outcome with get_approval_status. Only people decide approvals.
Some actions always wait for a person when an agent asks: deploying a fleet revision (needs a person with fleet:deploy) and promoting a registry snapshot (needs a person with registry:promote). Others wait only when your organization’s settings say so (Agents, then Approvals, or PUT /v1/settings). See Agents and approvals.
apply_remediation, apply_recipe, start_recipe_stage and open_remediation_pull_request fail with remediations_paused when the month’s remediation allowance or spend cap is used up. See Plans and limits.
Orientation: the organization, plan, environments, how many services, shapes and collectors exist, and which observation positions report. Call it first
list_services
Read only
Observed services with owner, latest version, languages, dependency count and last hour traffic before and after sampling
get_service
Read only
One service in one call: identity, owner, versions, dependencies with traffic, where it runs, its PagerDuty service and who is on call, top routes with latency and error rate, and its contract
get_schema
Read only
The spans, metrics and log events a service emits, with each attribute’s type, presence, estimated cardinality and policy class. Pass position=post_sampling to see what the backend receives
get_dependencies
Read only
Dependency edges of a service (services, databases, topics, external hosts) with type, provenance, confidence and traffic
get_recent_changes
Read only
New versions, shapes and dependencies for a service in a window. Use it after a deploy
get_entity
Read only
An entity from the graph (service, database, messaging destination, host, deployment, Kubernetes workload) and every edge touching it
get_attribute
Read only
Every service that emits an attribute key, with type, presence and cardinality, to spot inconsistent types or cardinality hot spots
get_service_graph
Read only
The dependency graph, bounded at any size: one service’s neighborhood, one group, or an overview of groups
Open findings, most severe first, grouped by root cause by default. A group stands for several findings with one primary fix. view=flat lists every finding
get_findings_rollup
Read only
Counts of one severity (default info) by type and service, with finding IDs, to work many small findings as one batch
explain_finding
Read only
One finding in depth: evidence, impact, history and remediations, plus its group and primary fix
get_remediations
Read only
Remediations for a finding. requires_approval says whether applying it as an agent needs a person
acknowledge_finding
Mutating
Marks a finding acknowledged with a note. Needs editor
apply_remediation
Mutating, can wait for approval
Applies a remediation. Exceptions and sampler rules take effect in Skep; code and collector changes are confirmed from telemetry
open_remediation_pull_request
Mutating, can wait for approval
Commits a remediation to branch skep/<remediation id> and opens a GitHub pull request. Waits for approval only when your organization requires it for pull requests. Needs editor and a GitHub integration
The contract a service is measured against (inferred baseline, organization policy or registry) and what it expects
get_schema_drift
Read only
Declared versus observed differences for a service, with the contract they are measured against
list_registries
Read only
Weaver registries with their source, promoted and latest snapshots, assignments and the pinned Weaver version
get_registry
Read only
One registry with its snapshots, check results and diffs
get_registry_snapshot
Read only
One snapshot: Weaver diagnostics, the classified diff with breaking flags, and optionally the model
check_registry
Read only
Checks a proposed registry without storing it: Weaver’s verdict, the diff and the conformance impact on assigned services
generate_registry
Mutating
Builds a candidate registry from observed telemetry and checks it. With save, stores it as a checked snapshot. Nothing becomes a contract until a person promotes it
promote_registry_snapshot
Mutating, always waits for approval
Asks to make a checked snapshot the registry’s contract. A person with registry:promote decides
An install guide for a new collector: configuration, steps and how to verify. Takes the same options as GET /v1/collectors/install. Files never contain secrets
list_fleets
Read only
Fleets in an environment with role (edge or gateway), management, health counts, throughput, rules and revisions
get_fleet_topology
Read only
How telemetry flows from sources through edge and gateway fleets to backends, and whether each link is verified
get_fleet
Read only
One fleet with its collectors, rules, revisions and drift
get_fleet_revision
Read only
A rendered configuration with its diff, validation by the real Collector and rollout progress
propose_pipeline_rule
Mutating
Proposes an OTTL rule for a fleet and renders a draft revision. Nothing reaches collectors until a deployment is approved
deploy_fleet_revision
Mutating, always waits for approval
Requests deployment of a draft revision. A person with fleet:deploy decides. A fleet whose configuration lives in Git opens a pull request instead
Recipes that match what Skep observes, with the evidence, inferred parameters, rendered rules, shape preview and target fleets
list_recipes
Read only
Every recipe in the bank with outcome, category, risk, parameters, verification and autopilot policy
preview_recipe
Read only
Renders a match with parameter overrides. Changes nothing
apply_recipe
Mutating, deployments wait for approval
Plans a staged rollout, one stage per environment with non-production first, and starts the first stage. The stage shows awaiting_approval until a person approves its deployment
get_recipe_application
Read only
One rollout with its stages, revisions and verification checks
list_recipe_applications
Read only
Rollouts, newest first, with each stage’s status
start_recipe_stage
Mutating, deployments wait for approval
Starts or retries a stage after the previous one passed verification
pause_recipe_application
Mutating
Stops a rollout from advancing. Nothing deployed changes
rollback_recipe_stage
Mutating, deployments wait for approval
Disables a rollout’s rules in one stage’s fleets and deploys the result
Where a fleet’s or a sampler’s configuration comes from (skep, git or observed), the last read with checks, validation and drift, and open pull requests
get_config_proposal
Read only
The change Skep would make to a fleet’s configuration now, as a diff with the checks it fixes. Nothing is stored