# Register a service. The API key sets your workspace.
curl -X POST https://api.wanepia.com/v1/entities \
-H "Authorization: Bearer wnp_live_•••••••••••••" \
-H "Content-Type: application/json" \
-d '{
"blueprint": "service",
"slug": "payments-api",
"team": "payments",
"checks": [
{ "kind": "http", "url": "https://api.acme.io/health",
"expect": 200, "every": "30s" }
],
"notify": ["#payments-oncall", "pager:payments"]
}'
# 201 Created · monitoring starts immediately.
# One binary. Reads ~/.wanepia/config or $WANEEPIA_TOKEN.
$ wnp entity new payments-api \
--blueprint service --team payments \
--check http://api.acme.io/health --every 30s
✓ entity payments-api created (srv_a2qPx)
✓ check http://api.acme.io/health · every 30s
✓ notify #payments-oncall, pager:payments
$ wnp status --team payments --watch
payments-api ● up 99.99% 34 ms
checkout-web ● degraded 98.21% 812 ms
invoicing ● down — timeout
# claude_desktop_config.json · drop-in MCP server.
{
"mcpServers": {
"wanepia": {
"command": "npx",
"args": ["-y", "@wanepia/mcp"],
"env": { "WNP_TOKEN": "wnp_live_•••" }
}
}
}
# Your agent gets these tools:
list_entities // search the catalog
get_entity // full record + recent checks
open_incident // flip state, page on-call
acknowledge // claim an active incident
query_status // uptime % by team, window