flowya-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@flowya-mcpShow me my current weekly goals"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
flowya-mcp
Hosted, multi-tenant MCP server that exposes each Flowya user's tasks, spaces, and weekly goals to AI clients (Cursor, Claude, Cowork).
It is a thin tool layer over the same Supabase database Flowya's macOS/iOS apps use. Every request is scoped to the calling user, so it is safe to run one shared endpoint for all users.
How it works
AI client (Cursor / Claude / Cowork)
│ HTTPS POST /mcp + Authorization: Bearer fmcp_...
▼
flowya-mcp (Vercel) ──service role + per-user ownership checks──▶ SupabaseTransport: Streamable HTTP at
POST /mcp(stateless: a fresh MCP server per request). A localstdioentrypoint exists for development.Auth (v1): Personal Access Tokens (PAT, prefix
fmcp_). A user generates one from Flowya ("Connect with AI"); the client sends it as a Bearer token. Seesrc/auth.ts.Isolation: the server uses the Supabase service role but scopes every query by the verified
user_idand checks resource ownership (spaces/todos/goals) before any read or write. Seesrc/api/.
Related MCP server: Weeek MCP Server
Tools
Tool | Description |
| List the user's spaces (fronts) |
| List tasks with filters (space, status, priority, archived, due dates) |
| Create a task in a space |
| Partial update (status changes set started_at/completed_at) |
| Set task order/positions |
| Soft-delete a task |
| Current week's goals (optionally last week too) |
| Replace the current week's goals |
| Attach tasks to a weekly goal |
The server also declares instructions so agents treat Flowya as the single source of truth for tasks and prioritize by impact on goals.
Setup
Install:
npm installCreate
.envfrom.env.example:FLOWYA_SUPABASE_URL,FLOWYA_SUPABASE_ANON_KEY— same values Flowya uses (VITE_SUPABASE_URL/VITE_SUPABASE_ANON_KEY).SUPABASE_SERVICE_ROLE— the project's service role key (server only).
Apply the token table migration to the Supabase project:
Flowya-MacOS/supabase/migrations/create_mcp_tokens_table.sqlTypecheck/build:
npm run typecheck/npm run build
Run locally
HTTP server:
npm run start(defaults to:8787). Health:GET /health.Stdio (dev, no token — acts as one user): set
FLOWYA_DEV_USER_IDand runnpm run mcp.
Deploy (Vercel)
The repo is Vercel-ready:
vercel.jsonbuildsdist/viatscand routes all traffic toapi/index.js, which calls the shareddispatchfromdist/http.js.Set env vars in the Vercel project:
FLOWYA_SUPABASE_URL,FLOWYA_SUPABASE_ANON_KEY,SUPABASE_SERVICE_ROLE,PUBLIC_API_URL(the deployed URL).Deployment protection (Vercel Authentication / SSO) must be OFF so the
/mcpendpoint is publicly reachable.Optional: point a custom domain (e.g.
mcp.flowya.app) at the deployment.
Currently deployed at https://flowya-mcp.vercel.app (MCP endpoint: https://flowya-mcp.vercel.app/mcp).
vercel --prod # from this directory, after `vercel link`How a user connects
In Flowya, open Settings → Connect with AI and generate a token (
fmcp_...). It is shown once.Add the remote MCP server to their client with the URL
https://flowya-mcp.vercel.app/mcpand headerAuthorization: Bearer fmcp_....
Example Cursor ~/.cursor/mcp.json:
{
"mcpServers": {
"flowya": {
"url": "https://flowya-mcp.vercel.app/mcp",
"headers": { "Authorization": "Bearer fmcp_YOUR_TOKEN" }
}
}
}The Flowya desktop app talks to this server's /v1/tokens endpoints (authenticated with the user's Supabase session) to create, list, and revoke tokens. Set VITE_FLOWYA_MCP_URL in Flowya-MacOS if the MCP is not at the default https://flowya-mcp.vercel.app.
Roadmap (v2)
OAuth 2.1 (dynamic client registration + PKCE) for a one-click "Connect" experience, replacing manual token paste. The transport, tools, and api/ layer are reused unchanged; only an OAuth token-issuance layer and a consent page are added.
This server cannot be deployed
Maintenance
Related MCP Connectors
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Work management where AI agents are first-class members: tasks, projects, memory over hosted MCP
Related MCP Servers
- AlicenseDqualityCmaintenanceThe intelligent execution layer for coding agents, exposed as an MCP server for high-stakes engineering projects. It enables AI agents to manage plans, tasks, and integrations via tool calls.25MIT
- FlicenseNot gradedqualityDmaintenanceFull-featured MCP server integrating all 71 endpoints of the Weeek API as MCP tools for AI clients, enabling task, project, and workspace management via natural language.3-
- AlicenseNot gradedqualityBmaintenanceSelf-hosted MCP server connecting AI assistants like Claude to Anki for AI-assisted flashcard generation and sync. It supports multi-tenant, authenticated operations to add, search, and analyze cards in real Anki collections.AGPL 3.0
- FlicenseNot gradedqualityBmaintenanceExtensible MCP server that aggregates multiple backends (email, browser, todoist, etc.) behind a single endpoint, with secure deployment via Cloudflare Tunnel and Workers.-