EventFlox developers · Preview v0.1
A permission-aware interface for AI-assisted operations.
Use Streamable HTTP MCP when your client supports MCP. Use the versioned OpenAPI interface for function-calling clients. Both paths resolve a real EventFlox user and enforce the same organization, role, workflow, and conflict rules.
Endpoints
MCP https://<preview-host>/mcp
REST base https://<preview-host>/api/agent/v1
OpenAPI https://<preview-host>/api/agent/v1/openapi.jsonThis release is Preview-only. EventFlox currently accepts a scoped Supabase user access token as a Bearer token. OAuth-style authorization is the production target. Never put a token in source control, prompts, or logs.
Available tools
Read: list_events, get_event, list_spaces, check_space_availability, list_my_todos, list_my_approvals, list_resources, check_resource_availability, list_departments, list_people
Low-risk write: create_event_draft. Draft creation requires an idempotency key and always assigns the authenticated user as owner.
Approval, confirmation, deletion, role changes, ownership transfer, and bulk import are not exposed in v0.1.
Connect an MCP client
Verified client: Codex remote MCP
# ~/.codex/config.toml
[mcp_servers.eventflox]
url = "https://<preview-host>/mcp"
bearer_token_env_var = "EVENTFLOX_AGENT_TOKEN"Other clients
Clients that support Streamable HTTP MCP and custom authorization headers may be able to use the same endpoint. Validate each client and its permission model before operational use; compatibility is not implied.
REST and function calling
Function-calling applications can map the OpenAPI operations to tools. The application—not the model—must execute HTTPS requests and keep the EventFlox token outside model-visible conversation content.
curl -X POST https://<preview-host>/api/agent/v1/tools/list_events \
-H "Authorization: Bearer $EVENTFLOX_AGENT_TOKEN" \
-H "X-EventFlox-Agent-Client: ApprovedClient" \
-H "Content-Type: application/json" \
-d '{"limit":25}'Security model
Client names are audit metadata, never authorization. Tool arguments are strictly validated. Every request is tenant-scoped and rate-limited. Event descriptions and notes are returned as untrusted data and cannot grant permissions. Agent traffic never receives Supabase service credentials.