spacecadet
Provides deterministic task management through Emacs org-mode, with tools to create, update, delete, list, search, and query tasks; track time; add notes; set properties; and refile tasks in org files.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
spacecadet
An MCP (Model Context Protocol) server that gives AI assistants reliable task management through Emacs org-mode.
Instead of relying on LLMs to track tasks in conversation context (where they fail at counting, temporal reasoning, and filtering), spacecadet delegates task storage and retrieval to org-mode -- a deterministic, structured system with 100% accuracy.
Prerequisites
Emacs (any recent version with built-in org-mode)
Python 3.10+
Linux or macOS (Windows works under WSL; native Windows has no file locking)
Org-mode ships with Emacs. If you don't have Emacs installed:
brew install emacs # macOS
sudo apt install emacs-nox # Ubuntu/Debian/WSL
sudo dnf install emacs-nox # Fedora
sudo pacman -S emacs-nox # ArchThe -nox variant is recommended since spacecadet doesn't need a GUI.
Related MCP server: Todoist MCP Server
Setup
git clone https://github.com/jamesdp3/spacecadet.git
cd spacecadet
./setup.shThe setup script installs dependencies and prints configuration instructions for your MCP client.
Configuration
Claude Desktop
Add to your MCP settings (~/.config/claude/claude_desktop_config.json):
{
"mcpServers": {
"spacecadet": {
"command": "python3",
"args": ["/path/to/spacecadet/server.py"]
}
}
}Claude Code
claude mcp add spacecadet python3 /path/to/spacecadet/server.pyTask storage
On first run, spacecadet creates a tasks.org file in ~/spacecadet-tasks/ and saves this path to .spacecadet.conf. Tasks persist across restarts.
To change the task directory, set the SPACECADET_ORG_DIR environment variable:
export SPACECADET_ORG_DIR=~/orgOr pass it in your MCP client config:
{
"mcpServers": {
"spacecadet": {
"command": "python3",
"args": ["/path/to/spacecadet/server.py"],
"env": {
"SPACECADET_ORG_DIR": "/home/you/org"
}
}
}
}You can also edit .spacecadet.conf directly -- it contains a single line with the path.
Cloud sync
Point SPACECADET_ORG_DIR at a cloud-synced folder to access your tasks from any machine:
Service | Example path |
iCloud |
|
Dropbox |
|
Google Drive |
|
OneDrive |
|
Syncthing |
|
Since tasks are plain .org text files, any file-syncing service works. If you already use org-mode, point spacecadet at your existing org directory and it will read your files directly.
Tools
Every task is assigned a unique ID on creation. Tools that operate on a specific task accept either id (preferred) or heading to identify the target task.
Task CRUD
Tool | Description |
| Create a new task with optional priority, tags, deadline, scheduled date. Returns the task's |
| Update a task's state (e.g. mark DONE), priority, or deadline |
| Remove a task |
| List all tasks, optionally filtered by state, priority, or tag. Each task includes its |
| Get full details of a specific task |
Querying
Tool | Description |
| Get the org-mode agenda view for a date or date range |
| Search using full org-mode match syntax |
Time tracking
Tool | Description |
| Start the clock on a task |
| Stop the clock on the currently clocked task |
| Get a time report showing hours logged per task |
Organization
Tool | Description |
| Add a timestamped note to a task's LOGBOOK |
| Set a custom property on a task (Effort, Assignee, URL, etc.) |
| Move a task under a different heading or into a different file |
How it works
AI Client (Claude Desktop, Claude Code, etc.)
| MCP protocol (stdio)
v
server.py (Python, FastMCP)
| emacsclient --eval
v
Emacs daemon (persistent, started on first request)
| org-mode API
v
~/spacecadet-tasks/*.org (plain text)On the first tool call, spacecadet starts a dedicated Emacs daemon with an isolated configuration (no interference with your personal Emacs setup). Subsequent calls use emacsclient to evaluate elisp against the running daemon, keeping response times under 500ms. The daemon is automatically shut down when the server exits.
Task IDs
Every task gets a UUID assigned automatically when created via add_task. The ID is stored as an org-mode ID property and returned in all tool responses. Use the id parameter instead of heading for reliable lookups -- headings can be ambiguous if duplicated, but IDs are always unique.
Task states
Tasks follow this workflow:
TODO -> NEXT -> WAITING -> DONE
-> CANCELLEDPriorities
A - Highest priority
B - High priority
C - Default priority
D - Low priority
Running tests
pip install -e ".[dev]"
pytestUnit tests (path validation) run without emacs. Integration tests are skipped automatically if emacs is not installed.
Documentation
Full documentation: https://jamesdp3.github.io/spacecadet
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
A graph-based task manager your agent can read and update: tasks, dependencies, blockers.
AI-native task management: list, create, update and archive tasks with rich context for AI agents
Manage tasks, Focus Zone, notes, projects, and task history from compatible AI assistants.
Manage Superlist tasks and lists in plain language from any MCP-compatible AI agent.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to manage tasks through a comprehensive interface with 8 tools for creating, updating, searching, and tracking tasks with priorities, categories, and due dates. Features persistent file-based storage, advanced filtering, and task statistics for complete task management workflow.8MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Todoist tasks, projects, sections, and labels through natural language, supporting task creation, updates, completion, and intelligent organization of your workflow.MIT
- FlicenseAqualityDmaintenanceEnables AI assistants to manage tasks across multiple projects with structured Markdown files, supporting creation, updates, completion, and organization with metadata and dependencies.7-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage todo.txt files, supporting task listing, adding, completing, removing, and updating tasks.18 npmMIT