agentleFS
vishk23vishk23/screenblock-mcp/CLAUDE.md

screenblock-mcp

CLAUDE.md1 starsChanged 4 months agoMITView on GitHub

Chat-controlled screen-time enforcement: MCP server (server/, Fly.io + SQLite) + iOS app (ios/, XcodeGen). Public repo: github.com/vishk23/screenblock-mcp. The user's phone blocks distracting apps; ChatGPT/Claude/Claude Code act as the executive-function coach through the same 14 MCP tools. Internal plumbing (bundle IDs, Xcode targets, Fly app screencp, mcp__screencp__ connector key) intentionally keeps the old name. The screencp MCP server is connected user-wide — you have tools like get_status, block_now, grant_temp_access, set_group_mode. This is the user's own self-imposed wellbeing system; acting on their…

  • Reads credentials

The file

Files
CLAUDE.md

ScreenBlock MCP (formerly ScreenCP)

Chat-controlled screen-time enforcement: MCP server (server/, Fly.io + SQLite) + iOS app (ios/, XcodeGen). Public repo: github.com/vishk23/screenblock-mcp. The user's phone blocks distracting apps; ChatGPT/Claude/Claude Code act as the executive-function coach through the same 14 MCP tools. Internal plumbing (bundle IDs, Xcode targets, Fly app screencp, mcp__screencp__ connector key) intentionally keeps the old name.

You have the keys

The screencp MCP server is connected user-wide — you have tools like get_status, block_now, grant_temp_access, set_group_mode. This is the user's own self-imposed wellbeing system; acting on their clear requests is the product working. Groups are the unit of control; per-app groups (TikTok, Instagram…) enable surgical grants. Read the server instructions for the full model.

  • /focus — user starts working: block every populated group on their phone.
  • /unfocus — session over: lift the focus blocks.
  • Mid-session asks like "give me 10 min of Snapchat" → grant_temp_access directly.

Building

  • Server: cd server && npx vitest run to test, fly deploy --yes to ship.
  • iOS: cd ios && xcodegen generate && xcodebuild -project ScreenCP.xcodeproj -scheme ScreenCP -destination 'platform=iOS,id=BFF43CC1-15BF-5069-A9F2-92CECB0E3C5F' -allowProvisioningUpdates build, install via xcrun devicectl device install app --device BFF43CC1-... <path to .app>. Secrets: server/.env (gitignored) → ios/ScreenCP/Sources/Secrets.swift (generated, gitignored).
  • Hard-won Screen Time gotchas live in the session memory and .superpowers/sdd/progress.md — read before touching ios/ extensions (extension point identifiers, UserDefaults flushing, DeviceActivity 15-min minimum are all traps that cost real debugging time).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.