Skip to main content

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"
      ]
    }
  }
}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

otocp-1.0.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

otocp-1.0.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file otocp-1.0.1.tar.gz.

File metadata

  • Download URL: otocp-1.0.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for otocp-1.0.1.tar.gz
Algorithm Hash digest
SHA256 b857ae61c4760d5e28b677460bbc628f2fc41486f7fbaec951c54de63b518ac1
MD5 68701560fdf21b827db29c510e004c1e
BLAKE2b-256 362bb50cd26299c89015278d3cb643827690c6f344bd42200dfdbec97595431b

See more details on using hashes here.

File details

Details for the file otocp-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: otocp-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for otocp-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9a69f3891e303936c4c41f471155a7bbaeb1f728a78dd4f1c459e01f3353ab93
MD5 00d908dccb6971e07f82ee47c28502ad
BLAKE2b-256 0463b3342e9a3d0d78d4131db0217ce03aef98058030878aed725f2eed9d32e5

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 files

1.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page