# Rivr (global instance) Rivr is a social coordination platform for communities. People, groups and local places use it to publish events, marketplace offerings, projects, jobs and posts, and to organize together. Whatever an author makes public is readable here without an account, through the endpoints below; everything else stays with its members. - Base URL: https://app.rivr.social - Instance ID: 00000000-0000-0000-0000-000000000001 - Primary agent ID: none ## Public read API (no account, JSON, CORS-open, cached 300s) - GET https://app.rivr.social/api/public/events Upcoming public events, soonest first, each a schema.org Event (dates carry the event's UTC offset) plus a "rivr" block (id, visibility, updatedAt, locales). Parameters: locale (a locale id, or its name, case-insensitive, e.g. Boulder); after (ISO 8601, default now; an event still running then is included); before (ISO 8601); limit (1-100, default 50); cursor (the previous page's nextCursor, unchanged). - GET https://app.rivr.social/api/public/events/ One public event, the same item. 404 when it does not exist or is not public. - GET https://app.rivr.social/api/public/objects Every public object, most recently updated first: event, group, place, offering, project, job, post, person. Each has type, name, url, updatedAt and the schema.org JSON-LD its page publishes. Parameters: type (one of the types above); locale (a locale id, or its name, case-insensitive, e.g. Boulder); limit (1-100, default 50); cursor (the previous page's nextCursor, unchanged). Responses are { "@context": "https://schema.org", "items": [...], "nextCursor": null | "..." }. A bad argument is a 400 naming it; an unknown locale is a 404. ## Sitemaps - Index: https://app.rivr.social/sitemap.xml - Static pages: https://app.rivr.social/sitemap-static.xml - Events (upcoming, and ended within 30 days): https://app.rivr.social/sitemap-events.xml - Every other public object: https://app.rivr.social/sitemap-objects.xml - Public events, for a person: https://app.rivr.social/events Every object page carries schema.org JSON-LD. Private, members-only, deleted, person- or group-scoped and noindex objects appear nowhere above. ## MCP - Endpoint (JSON-RPC 2.0 over POST): https://app.rivr.social/api/mcp - Discovery: https://app.rivr.social/.well-known/mcp - Tools any caller may use, with no token: - rivr.discovery.list - rivr.events.upcoming - rivr.forms.describe - rivr.forms.submit - rivr.resources.query - rivr.wiki.glossary - rivr.wiki.read - rivr.wiki.search For anything else, get a scoped token with the device flow (RFC 8628): 1. POST https://app.rivr.social/api/mcp/device/code with optional JSON { "client_name": "...", "scopes": ["rivr.events.read", ...] }. The answer has device_code, user_code, verification_uri, verification_uri_complete, expires_in (600) and interval (3). 2. The person opens https://app.rivr.social/mcp/authorize?user_code= (verification_uri_complete) and approves. 3. POST https://app.rivr.social/api/mcp/device/token with { "device_code": "..." } every interval seconds. "authorization_pending" means keep polling; "access_denied", "expired_token" and "invalid_grant" mean stop. Success returns token, jti, expires_at, scopes, actor. 4. Call /api/mcp with Authorization: Bearer . A token that has expired or been revoked is answered HTTP 401 with WWW-Authenticate naming https://app.rivr.social/.well-known/oauth-protected-resource; get a new one. ## User wiki Every user-facing surface is documented, one page per surface, with no credential. Read it before answering a question about what Rivr does or how a person does something. - Whole wiki, one file: https://app.rivr.social/docs/wiki/index.json - One page as Markdown: https://app.rivr.social/docs/wiki/.md - For a person: https://app.rivr.social/docs/wiki - Over MCP: rivr.wiki.search, rivr.wiki.read and rivr.wiki.glossary, and every page as a resource under rivr://wiki/ ## Also - Universal Manifest: https://app.rivr.social/.well-known/universal-manifest.json - OAuth / federated login discovery: https://app.rivr.social/.well-known/openid-configuration - Federated SSO assertion issue (POST): https://app.rivr.social/api/federation/sso/issue - Federated SSO session handoff: https://app.rivr.social/api/federation/sso/session-handoff - Open data, for a developer: https://app.rivr.social/docs/api/open-data Visibility is not permission to act: writes require the object owner's authorization.