Otocp
A MCP server written in python to add, list, complete and delete tasks in Obsidian.
Tools available:
- add_task - Add tasks based on user input.
- read_tasks - Lists all the task.
- complete_task - Completes a specified task (doesn't have to be exact.)
- clear_tasks - Deletes everything
Installation
Install using pip:
pip install otocp
or use uv
Install uv first.
MacOS/Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh
Windows:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Now run:
uvx otocp
MCP Config
{
"mcpServers": {
"otocp": {
"command": "otocp",
"args": [],
"env": {
"OTOCP_TODO_PATH": "path to your todo.md"
}
}
}
}
OTOCP_TODO_PATH example:
"OTOCP_TODO_PATH": "/home/crystal/Desktop/example/todo.md"
If you get any errors (most likely because of path of otocp):
On Linux/MacOS run which otocp on terminal and put the full path in command instead of just otocp like:
"command": "/home/crystal/.local/bin/otocp",
On Windows you can use where otocp and do the same thing.
For Development:
Clone the repo: https://github.com/lattisse/otocp.git
cd otocp
uv venv
To run mcp through use this MCP Config:
{
"mcpServers": {
"otocp": {
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"/ABSOLUTE/PATH/TO//otocp/src/otocp/todo.py"
]
}
}
}
Metadata
Release files for otocp 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| otocp-1.0.1.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| otocp-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.3 kB
Release files / otocp-1.0.1.tar.gz
| Download URL | otocp-1.0.1.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b857ae61c4760d5e28b677460bbc628f2fc41486f7fbaec951c54de63b518ac1
|
|
BLAKE2b-256 checksum How to use checksums |
362bb50cd26299c89015278d3cb643827690c6f344bd42200dfdbec97595431b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / otocp-1.0.1-py3-none-any.whl
| Download URL | otocp-1.0.1-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a69f3891e303936c4c41f471155a7bbaeb1f728a78dd4f1c459e01f3353ab93
|
|
BLAKE2b-256 checksum How to use checksums |
0463b3342e9a3d0d78d4131db0217ce03aef98058030878aed725f2eed9d32e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|