A local MCP server for durable agent task state and lightweight memory.
Project description
MemTask
MemTask gives MCP agents a local task list and lightweight memory, backed by SQLite.
Install
pip install MemTask
Start
memtask start
MemTask starts a local MCP server at:
http://127.0.0.1:8000/mcp
Add It To Codex
memtask install
That prints the exact codex mcp add ... commands for stdio and HTTP:
Codex
stdio server
codex mcp add memtask -- memtask start --transport stdio
HTTP server
memtask start
codex mcp add memtask --url http://127.0.0.1:8000/mcp
Use It
Once connected, your agent gets tools for:
- tasks: add, list, focus, complete, remove, and track dependencies
- memory: remember, recall, update, and delete scoped context
Common Commands
memtask status
memtask stop
memtask start --transport stdio
What It Is
MemTask is a local MCP server for developer-built agents that need durable task state and persistent context. It gives an agent a small workspace for tracking active work, dependency order, completed tasks, and scoped memories across sessions.
State is stored locally. In this repo, MemTask uses data/tasks.sqlite. When installed outside this repo, it uses ~/.memtask/tasks.sqlite by default. Set MEMTASK_DB_PATH to choose a specific SQLite path.
Development
Run tests:
python -m pytest
Compile-check the package:
python -m py_compile src/memtask/*.py tests/*.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file memtask-0.0.2.tar.gz.
File metadata
- Download URL: memtask-0.0.2.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7095521e3fa09dd8554032f49938c3fdb80e13088b173dbffec575f19e48c57
|
|
| MD5 |
adf81ea529acc44af3290a063a04be74
|
|
| BLAKE2b-256 |
cc8937dceb2f72978840863e6b9b2144e4f3e59f3416ae478116a92d742a5e55
|
File details
Details for the file memtask-0.0.2-py3-none-any.whl.
File metadata
- Download URL: memtask-0.0.2-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b40f3113b5f39e7f64587d0b224d054a489df13489fd3db118caf668703c218e
|
|
| MD5 |
df49f73d9c526f72ff9ee715838da796
|
|
| BLAKE2b-256 |
7fe6cbb5d81d6e36367e46d8601bcef75c0333f2f22f557f55380872389ab432
|