taskflow-doc-search
v0.1.1Search local TaskFlow workspace documentation and read tickets over MCP stdio.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_docs Search Docs
Keyword search over the workspace documentation repos. Ranking is deliberately simple and inspectable: a hit in a document title counts 3, in a heading 2, in body text 1. Returns workspace- relative path, title, score, and the first matching line as a snippet.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
limit | integer |
search_docs_semantic Search Docs Semantic
Vector-space (TF-IDF, cosine similarity) search over the docs. The contrast with search_docs is deliberate. Keyword search counts exact hits with hand-set weights (title x3, heading x2, body x1), so a document that repeats a common term many times can outrank the topically closest one. Here each document is a TF-IDF vector: terms that appear in many documents (low information) are down-weighted by the IDF factor, and ranking is by cosine similarity to the query vector, i.e. overall topical closeness across all query terms. It is still a bag-of-words model - no synonym or embedding magic. Pur…
| Parameter | Type | Description |
|---|---|---|
query * | string | |
limit | integer |
search_docs_embeddings Search Docs Embeddings
Search document sections using locally computed sentence embeddings. Returns path, title, cosine score rounded to four places, the first non-empty body line (up to 200 characters) as snippet, and heading trail. Writes only a derived cache in this server's .index/ directory. The optional model downloads on first use, then runs locally. Model imports are deferred until this tool is called, keeping startup torch-free.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
limit | integer |
get_doc Get Doc
Fetch one Markdown document by workspace-relative path, e.g. "projects/taskflow-docs/system-overview.md" or "tickets/TF-101.md". Paths outside projects/ and tickets/ are refused.
| Parameter | Type | Description |
|---|---|---|
path * | string |
list_tickets List Tickets
List the pre-TF-115 archive (Markdown files in tickets/). Optionally filter by status: open, in-progress, done. New work lives in GitHub Issues; humans promote drafts via scripts/promote-draft.
| Parameter | Type | Description |
|---|---|---|
status |
propose_ticket Propose Ticket
Propose a new ticket as a DRAFT under tickets/drafts/. Draft-first is enforced here, not left to convention: this is the server's only write tool, and it can only create a new file in tickets/drafts/ with status "draft". It cannot create, modify, or delete the pre-TF-115 archive in tickets/. A human reviews the draft and files an Issue via scripts/promote-draft if it should become a ticket. The server stays credential-free. Returns the workspace-relative path.
| Parameter | Type | Description |
|---|---|---|
body * | string | |
title * | string | |
priority | string |