FlowState MCP

FlowState MCP

An MCP server that preserves and recalls work context, enabling users to log sessions, decisions, blockers, and ideas, and automatically generate resumes and standups.

Category
访问服务器

README

🧠 FlowState MCP

Never lose your work context again. AI-powered session memory that picks up exactly where you left off.

License: MIT Python 3.10+ MCP Compatible Works with Cursor Works with Claude


😩 The Problem Every Developer Knows

You're in flow. Writing good code. Making decisions. Solving hard problems.

Then life happens.

You close your laptop for dinner. Sleep. A meeting pulls you away. You come back and...

"What was I doing? Why did I write it this way? Where was I supposed to go next?"

You spend 20–40 minutes just reconstructing context that was already in your head. That's not work — that's tax.

The average developer loses 30+ minutes of productivity every single day to context reconstruction.

FlowState eliminates that tax entirely.


✨ How It Works

As you work, you log context naturally through your AI assistant:

You: "Log that I decided to use Redis for session caching because Postgres was too slow under load"
You: "I'm blocked — the Redis connection times out in Docker but works locally"
You: "Checkpoint — I'm stopping for dinner, I was building the session middleware"

When you come back:

You: "Resume my work"

FlowState hands you a complete brain dump — exactly where you left off, every decision you made, every blocker you hit, every idea that occurred to you. You're back in flow state in 10 seconds.


🛠️ Tools

Tool What you say What happens
checkpoint "Checkpoint — stopping for the day" Saves your full work context
resume "Resume my work" Returns complete context brain dump
log_decision "Log that I chose Postgres over Mongo because..." Decision captured with reasoning
log_blocker "Log blocker — Redis timeout in Docker" Blocker tracked with workaround
resolve_blocker "Mark blocker abc123 as resolved" Clears it from future resumes
log_idea "Log idea — add rate limiting to auth" Idea saved, won't be forgotten
daily_standup "Generate my standup" Auto-writes your standup from logs
weekly_summary "Give me a weekly summary" Full week review in seconds
search_context "What did I decide about Redis?" Searches all your saved context
session_history "Show my recent sessions" Timeline of your work sessions

🚀 Quick Start

Install

pip install flowstate-mcp

Add to your MCP client

Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "flowstate": {
      "command": "uvx",
      "args": ["flowstate-mcp"]
    }
  }
}

Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "flowstate": {
      "command": "uvx",
      "args": ["flowstate-mcp"]
    }
  }
}

Restart your client. Start using it. That's it — no API keys, no account, no cloud.


💬 Real Example

Before leaving:

You:  Checkpoint — I'm stopping for the night.
      Project: payment-service
      Doing: implementing Stripe webhook handler
      Current task: handling the payment_intent.succeeded event
      Next steps: finish the idempotency check in webhook_handler.py line 84,
                  then write tests for the refund flow
      Files: webhook_handler.py, tests/test_webhooks.py
      Branch: feature/stripe-webhooks

Next morning:

You: Resume payment-service

FlowState:
# 🧠 FlowState Resume — `payment-service`
_Checkpoint saved 9h ago_

## 🎯 What You Were Doing
Implementing Stripe webhook handler

## 🔨 Where You Left Off
Handling the payment_intent.succeeded event

## 📂 Files You Were Touching
- `webhook_handler.py`
- `tests/test_webhooks.py`

## 🌿 Branch
`feature/stripe-webhooks`

## ➡️ Your Next Steps
Finish the idempotency check in webhook_handler.py line 84,
then write tests for the refund flow

## ⚖️ Decisions You Made
- **Use Stripe idempotency keys** — Why: prevents duplicate charges on retry

## 🚧 Blockers
- [🔴 Open] Webhook signature verification fails in test environment
  Workaround: Temporarily disabled in test config

## 💡 Ideas
- 🔴 Add webhook event logging to DB for audit trail

---
You've got this. Pick up right where you left off. 🚀

📋 Daily Standup — Auto-Generated

You: Generate my standup for today

## 📋 Daily Standup — February 23, 2025

### ✅ Yesterday
- [payment-service] Implementing Stripe webhook handler
- [auth-api] Refactored JWT middleware

### 🔨 Today
- Finish idempotency check, write refund flow tests

### 🚧 Blockers
- [payment-service] Webhook signature fails in test env
  → Workaround: disabled in test config

### ⚖️ Key Decisions
- Use Stripe idempotency keys (prevents duplicate charges on retry)

Copy. Paste. Done. Your standup writes itself.


🗂️ Where Data Lives

All context is stored 100% locally in ~/.flowstate/. No cloud. No account. No telemetry. Your work context stays on your machine.

~/.flowstate/
├── sessions.json    # Work checkpoints
├── decisions.json   # Technical decisions + reasoning
├── blockers.json    # Issues and blockers
└── ideas.json       # Captured ideas

🌍 Works With Any MCP Client

  • ✅ Claude Desktop
  • ✅ Cursor
  • ✅ Windsurf
  • ✅ Cline (VS Code)
  • ✅ Continue.dev
  • ✅ Zed
  • ✅ Any MCP-compatible tool

🗺️ Roadmap

  • [ ] Git integration — auto-detect branch and changed files
  • [ ] Team mode — share context across teammates (opt-in)
  • [ ] VS Code extension with status bar widget
  • [ ] Pomodoro integration — auto-checkpoint on timer
  • [ ] Export to Notion / Obsidian
  • [ ] Context handoff between AI sessions (beat the context window)

🛠️ Development

git clone https://github.com/attaelahi/flowstate-mcp
cd flowstate-mcp
uv venv && source .venv/bin/activate
uv pip install -e .

# Test
python tests/test_server.py

# Run with MCP Inspector
npx @modelcontextprotocol/inspector python -m flowstate_mcp.server

🤝 Contributing

PRs and ideas welcome. If FlowState saves you time, a ⭐ star helps others find it.


📄 License

MIT © Atta Elahi


💭 The Philosophy

Flow state is the most valuable thing a developer has. Context loss is its biggest enemy.

FlowState doesn't change how you work — it just remembers everything so you don't have to.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选