Connect'O — MCP & OAuth agents
Connect'O exposes Wast-O data to agents (Cursor, SI automations) through a dedicated MCP server, authenticated with OAuth2 client_credentials.
Versus the public API
The public /public API stays anonymous and citizen read-only.
Connect'O = machine credentials bound to one cityGroupId, scopes, audit, and optional bounded writes.
Endpoints
| URL | |
|---|---|
| MCP (Streamable HTTP) | https://mcp.wast-o.com/mcp |
| Health | https://mcp.wast-o.com/health |
| OAuth token | https://api.wast-o.com/oauth/token |
| Who am I | GET https://api.wast-o.com/oauth/me |
Get credentials
- Wast-O console → Settings → Connect'O.
- Enable Connect'O on the city group if needed.
- New client → copy
client_id/client_secret(shown once). - Scopes:
wasto.mcp.read(default), optionalwasto.mcp.write.
Token
curl -s -X POST https://api.wast-o.com/oauth/token \
-H 'Content-Type: application/json' \
-d '{
"grant_type": "client_credentials",
"client_id": "wasto_cc_…",
"client_secret": "…"
}'
Do not reuse a console user JWT for agents.