TaskFlow
An MCP server that lets AI tools read and manage a user's tasks via Appwrite, using OAuth2 consent for secure, revocable access.
README
TaskFlow: an MCP server powered by the Appwrite OAuth2 server
TaskFlow is a small task manager built on Appwrite. It ships a remote MCP server, hosted as an Appwrite Function, so AI tools like Claude Code can read and manage a user's tasks with the user's permission.
The interesting part is the auth. TaskFlow's Appwrite project acts as the OAuth2 server: AI clients register themselves, users approve access on a consent screen TaskFlow hosts, and the MCP server verifies the tokens the project issues. No API keys are handed out, and users can disconnect a tool at any time.
Companion repository for the Appwrite blog tutorial "Turn your app into an MCP server".
Layout
apps/taskflow The TaskFlow web app (TanStack Start): tasks, sign-in,
the OAuth2 consent screen, and a connected apps page.
functions/taskflow-mcp The MCP server, deployed as an Appwrite Function.
scripts One-time database provisioning.
Setup
-
Create an Appwrite project and copy
.env.exampleto.envwith your endpoint, project ID, an API key (scopes:sessions.write,users.read,apps.read,databases.read,databases.write,tables.read,tables.write), and a random session secret. -
Install and provision the database:
pnpm install pnpm provision -
In the Console, open Auth > OAuth2 server, enable the server, set the authorization URL to
http://localhost:4100/oauth/consent, and add thetasks.readandtasks.writescopes. -
Deploy the web app and the MCP server (uses the Appwrite CLI), then set the site's variables in the Console (same values as
.env):appwrite login appwrite push site --site-id taskflow appwrite push function --function-id taskflow-mcp --activate -
Update the OAuth2 server's authorization URL to
https://<SITE_DOMAIN>/oauth/consent. -
Connect from Claude Code, using the function's domain from the deploy output:
claude mcp add --transport http taskflow https://<FUNCTION_DOMAIN>/mcpRun
/mcpinside Claude Code and pick Authenticate. Sign in as a TaskFlow user, approve access, and ask Claude about your tasks.
Live demo
The deployed result of this repository: the app at taskflow.appwrite.network and the MCP server at https://taskflow-mcp.appwrite.network/mcp. Create an account, connect Claude Code with the command above, and manage your tasks from the conversation.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.