mcpserver.lol
registry/secure-flows
Connection check verified live · 27h ago

secure-flows

MCP server for secureFlows (secure-flows.com). Alias of io.github.michal-lefler/secureflows-mcp.

Tools 18
GitHub stars
Installs / wk
Licence MIT
Transport streamable-http
Last checked 27h ago

Tools & capabilities

18 tools

Read from the running server on 27h ago.

auth_session_callback authbodyquery*paramsconnection*
**Browser redirect endpoint** used after hosted `/app/sessions/login`. No `Authorization` header. 1. Verifies **`firebaseToken`** (Firebase ID token). 2. Ensures **`client_redirec…
delete_sessions_delete_key authbodyqueryparams*connection*
Removes `key` from the session payload and returns `true` if the key existed. Source: DELETE /api/v1/sessions/delete/{key} Requires `auth.sessionToken` and forwards it as a Bearer…
get_auth_logout authbodyquery*paramsconnection*
Browser-friendly logout endpoint for **cross-site** clients (e.g. apps running on `localhost`). Use this as a **top-level navigation** (not XHR/fetch) so `Clear-Site-Data` is appl…
get_docs_search authbodyquery*paramsconnection*
Embeds the query with Ollama (`nomic-embed-text`) and returns the closest public doc chunks from the environment's search index (pgvector). Source: GET /api/v1/docs/search No Auth…
get_sessions authbodyqueryparamsconnection*
Returns the decrypted session payload for the authenticated internal session token. Response shape is a **flat JSON object**. Empty payload returns `{}`. Source: GET /api/v1/sess…
get_sessions_get_key authbodyqueryparams*connection*
Retrieves the decrypted payload value for `key`. **Important:** `404` means the key was never written (normal first-use case). Do not treat as an error. Source: GET /api/v1/sessi…
get_sessions_identity authbodyqueryparamsconnection*
Returns the workspace end-user's **`userId`** and **email** for the authenticated session token. Does not return Firebase UID or session payload. `userId` is a stable, opaque iden…
get_sessions_my authbodyquery*paramsconnection*
Returns a page of sessions for the current user within the current workspace. Self-service dashboard endpoint — requires workspace **`enableSelfService: true`**. Payload is include…
post_auth_logout authbodyqueryparamsconnection*
Logs out the current session **without revoking** it. **Browser warning:** calling this endpoint via XHR/fetch from a different origin than `secure-flows.com` is not a reliable wa…
post_sessions authbody*queryparamsconnection*
Verifies **Firebase** ID token, creates a session for **`workspaceName`**, stores serialized **`payload`** (defaults to `{}` when omitted), and returns **`sessionToken`** (JWT; sub…
post_sessions_get_or_create authbody*queryparamsconnection*
Verifies **Firebase** ID token. If an **active** session already exists for **`(workspaceName, Firebase UID, app_id)`**, returns a new **`sessionToken`** JWT for the **most recentl…
post_sessions_renew_session_token authbodyqueryparams*connection*
Verifies **Firebase** ID token. Parses **`sessionToken`** path segment as an internal SESSION JWT **without enforcing JWT expiry** (signature and `tokenType=SESSION` are still vali…
post_sessions_revoke authbodyqueryparamsconnection*
Revokes the session referenced by the internal SESSION Bearer token. This endpoint is useful for automation clients that only hold a session token and want to revoke it cleanly. S…
post_sessions_revoke_session_id authbodyqueryparams*connection*
Self-service dashboard endpoint. Revokes a session owned by the caller in the current workspace. Requires workspace **`enableSelfService: true`**. Source: POST /api/v1/sessions/re…
post_sessions_set_key authbody*queryparams*connection*
Sets a key in the encrypted session payload and returns the updated decrypted payload. If the JSON body is `{ "value": <x> }`, the server unwraps it and stores `<x>` directly. Sou…
secureflows_build_login_url appId*intentoriginredirectUri*expiredTokenworkspaceName*
Builds a correct hosted-login redirect URL. Needs no secureFlows token — safe to call at app-scaffolding time, before any user session exists, which is the phase most secureFlows i…
secureflows_build_logout_url originsessionToken*postLogoutRedirectUri*
Builds a correct redirect-logout URL and refuses to build one that violates the two documented logout anti-patterns: a redirect_uri pointing at /callback (SPA callback handlers tre…
secureflows_lint_integration files*
Checks source you already generated against the secureFlows integration rules. Needs no secureFlows token; safe at scaffolding time. Pass every auth/session-related file in one cal…