Skip to main content
Glama

Taskpad

A very small desktop to-do app (Electron) that runs its own MCP server on 127.0.0.1. It lets Claude and ChatGPT read and change your tasks, and every change shows up in the window straight away. You can switch each MCP tool on or off from the terminal or from inside the app.

Claude Desktop / Claude Code / ChatGPT desktop
        │ stdio
        ▼
connector.js  (from the taskpad-plugin repo; no tools of its own)
        │ HTTP 127.0.0.1 + bearer token        ◀── tools/list_changed (SSE)
        ▼
Taskpad app  ── window: tasks, theme, messages, tool switches
             ── MCP server: 9 tools
             ── ~/.taskpad/{tasks.json, config.json, app.json}

Run it

Installing and the first start need Node 22.12 or newer, because Electron downloads its binary the first time it runs. There is a .nvmrc, so with nvm:

nvm use              # Node 24 from .nvmrc
npm install
npm start            # opens the window and starts the MCP server on 127.0.0.1:8795
  • Older Node. After the first start, npm start also works on older Node versions. If you start with an older Node before Electron is downloaded, npm start says to run nvm use instead of failing with ERR_REQUIRE_ESM.

  • Port. Set it with TASKPAD_PORT; 0 picks any free port. Connectors find the app through ~/.taskpad/app.json, so the port can change.

  • Token. A new random token is made on every start.

  • Closing the window (macOS). The app keeps running, like other Mac apps. Quit it with Cmd+Q.

Related MCP server: todo-tree MCP Server

Tools

Tool

Group

Default

What it does

get_app_status

core

always on

Running?, task counts, theme, tools that are on

list_tasks

tasks

on

Tasks with id, title, notes, priority, done

add_task

tasks

on

Add a task (title, notes, priority)

complete_task

tasks

on

Mark done / not done

update_task

tasks

on

Change title, notes or priority

delete_task

cleanup

on

Delete one task

clear_completed

cleanup

off

Delete every done task

set_theme

ui

on

system / light / dark

show_message

ui

on

Banner in the window for a few seconds

Prompts (dynamic commands)

The server also offers MCP prompts: add, list, done, edit, remove, clear-done and review (in app/core/prompts.js).

  • Listing. A prompt is listed only while the tools it needs are on, so remove disappears when delete_task is off. The app sends prompts/list_changed when that set changes.

  • Content. The prompt text is built when it's picked and includes the current tasks.

  • Arguments. Each prompt takes one free-text argument, because Claude Code splits command arguments on spaces.

  • Where they appear. Claude Code shows them as slash commands, Claude Desktop under +. ChatGPT doesn't request MCP prompts yet.

Switch tools on and off

From the terminal (or open MCP tools at the bottom of the window):

npm run tools -- list
npm run tools -- disable delete_task
npm run tools -- enable --group cleanup        # groups: tasks, cleanup, ui
npm run tools -- reset

To get a taskpad command instead of npm run tools --, run npm link.

  • Where switches live. Both the CLI and the window write ~/.taskpad/config.json.

  • When they take effect. The running app picks up a change within about half a second and sends tools/list_changed. The connector passes it on, so open chats update without reconnecting.

  • What a chat sees. Through the plugin's connector, a switched-off tool disappears from the chat. If a chat calls it anyway, the call fails with an error that names the command to turn it back on.

Connect Claude and ChatGPT

The plugin is in its own repo: taskpad-plugin. It is one plugin folder that both Claude and ChatGPT install, and it holds the skill and the stdio connector. Its README has the install steps for Claude Desktop, Claude Code and ChatGPT desktop.

Then ask, for example: "Add 'Buy milk' as high priority in Taskpad", "What's still open?", "Mark the report done and switch Taskpad to dark mode".

Web and mobile chat (claude.ai, chatgpt.com) can't reach 127.0.0.1, because their connectors run in the vendor's cloud.

To talk to the app without the plugin, Claude Code can connect to the HTTP server directly:

claude mcp add --transport http taskpad "$(node -p "require(require('os').homedir()+'/.taskpad/app.json').url")" \
  --header "Authorization: Bearer $(node -p "require(require('os').homedir()+'/.taskpad/app.json').token")"

The token changes every time the app starts, so the connector, which re-reads app.json on each request, is the better route.

Security

  • The server binds to 127.0.0.1 only.

  • /mcp needs the bearer token from app.json (mode 0600).

  • The Host header must be the app's own address, which blocks DNS rebinding.

  • Requests that carry an Origin header (web pages) are refused.

  • The window runs sandboxed with context isolation. It has no Node access, only a fixed list of actions through preload.js.

Layout

app/main.js               Electron main: store, MCP server, window, IPC
app/preload.js            the window's only bridge to the app
app/renderer/             the window (HTML/CSS/JS, no framework)
app/core/                 plain Node, no Electron: store, toggles, MCP tools, HTTP server
app/headless.js           the MCP server without a window (tests, quick tries)
cli/taskpad.js            taskpad tools list|enable|disable|reset
app/core/prompts.js       MCP prompts (listed by tool switches, built with live tasks)
test/e2e.mjs              end-to-end checks (HTTP + SSE, guards, prompts, CLI switches, restart, Electron smoke)

Test

npm test

The tests use a temporary data folder and random ports, so your real tasks are never touched. If Electron is installed, they also start the real app with a hidden window.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers