# Taskflow Doc Search

> Taskflow Doc Search is an MCP server for knowledge and memory. Search a local workspace's Markdown docs three ways and draft tickets safely. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** CLI, Self-hosted
- **Repository:** https://github.com/cynthiawang109-sudo/ai-workspace-kit/tree/HEAD/mcp/doc-search
- **MCP Registry name:** io.github.cynthiawang109-sudo/taskflow-doc-search
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-23

## About

The server works over a workspace folder with projects/ and tickets/ directories and stands in for a Jira and Confluence setup in a public demo kit. It offers three levels of document search: weighted keyword counts (title hits count triple, headings double), TF-IDF cosine similarity over whole documents, and sentence embeddings over heading sections that can match synonyms and paraphrases.

Only projects/ and tickets/ are readable. Writes are limited by design: propose_ticket creates a new draft under tickets/drafts/ with status draft, refuses to overwrite and is annotated as a write so clients ask first. A human promotes a draft to a GitHub Issue with a script. The embeddings index is a derived local cache.

Keyword and TF-IDF search need no network; embeddings download a sentence-transformers model once and then run locally. It is written with FastMCP, installs from PyPI, and needs AI_WORKSPACE_ROOT pointing at the workspace.

## Features

- **Keyword search:** Weighted title, heading and body term hits.
- **TF-IDF search:** Cosine similarity over whole documents.
- **Embedding search:** Sentence embeddings over heading chunks, cached locally.
- **Draft-only writes:** propose_ticket writes only to tickets/drafts/.
- **Read boundary:** Only projects/ and tickets/ can be read.
- **Local and credential-free:** No network needed except a one-time model download.

## Good for

- Find the right project doc for a question
- Look up older tickets by status
- Propose a ticket draft for human review
- Compare three retrieval methods on the same corpus

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add taskflow-doc-search --env AI_WORKSPACE_ROOT='<AI_WORKSPACE_ROOT>' -- uvx taskflow-doc-search
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "taskflow-doc-search": {
      "command": "uvx",
      "args": [
        "taskflow-doc-search"
      ],
      "env": {
        "AI_WORKSPACE_ROOT": "<AI_WORKSPACE_ROOT>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "taskflow-doc-search": {
      "command": "uvx",
      "args": [
        "taskflow-doc-search"
      ],
      "env": {
        "AI_WORKSPACE_ROOT": "<AI_WORKSPACE_ROOT>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "taskflow-doc-search": {
      "command": "uvx",
      "args": [
        "taskflow-doc-search"
      ],
      "env": {
        "AI_WORKSPACE_ROOT": "<AI_WORKSPACE_ROOT>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "taskflow-doc-search": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "taskflow-doc-search"
      ],
      "env": {
        "AI_WORKSPACE_ROOT": "<AI_WORKSPACE_ROOT>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add taskflow-doc-search --env AI_WORKSPACE_ROOT='<AI_WORKSPACE_ROOT>' -- uvx taskflow-doc-search
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.taskflow-doc-search]
command = "uvx"
args = ["taskflow-doc-search"]
env = { AI_WORKSPACE_ROOT = "<AI_WORKSPACE_ROOT>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "taskflow-doc-search": {
      "command": "uvx",
      "args": [
        "taskflow-doc-search"
      ],
      "env": {
        "AI_WORKSPACE_ROOT": "<AI_WORKSPACE_ROOT>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e AI_WORKSPACE_ROOT='<AI_WORKSPACE_ROOT>' taskflow-doc-search uvx -- taskflow-doc-search

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "taskflow-doc-search": {
      "command": "uvx",
      "args": [
        "taskflow-doc-search"
      ],
      "env": {
        "AI_WORKSPACE_ROOT": "<AI_WORKSPACE_ROOT>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "taskflow-doc-search": {
      "command": "uvx",
      "args": [
        "taskflow-doc-search"
      ],
      "env": {
        "AI_WORKSPACE_ROOT": "<AI_WORKSPACE_ROOT>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "taskflow-doc-search": {
      "command": "uvx",
      "args": [
        "taskflow-doc-search"
      ],
      "env": {
        "AI_WORKSPACE_ROOT": "<AI_WORKSPACE_ROOT>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "taskflow-doc-search": {
      "command": "uvx",
      "args": [
        "taskflow-doc-search"
      ],
      "env": {
        "AI_WORKSPACE_ROOT": "<AI_WORKSPACE_ROOT>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "taskflow-doc-search": {
      "command": "uvx",
      "args": [
        "taskflow-doc-search"
      ],
      "env": {
        "AI_WORKSPACE_ROOT": "<AI_WORKSPACE_ROOT>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "taskflow-doc-search": {
      "command": "uvx",
      "args": [
        "taskflow-doc-search"
      ],
      "env": {
        "AI_WORKSPACE_ROOT": "<AI_WORKSPACE_ROOT>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "taskflow-doc-search": {
      "command": "uvx",
      "args": [
        "taskflow-doc-search"
      ],
      "env": {
        "AI_WORKSPACE_ROOT": "<AI_WORKSPACE_ROOT>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "taskflow-doc-search": {
      "command": "uvx",
      "args": [
        "taskflow-doc-search"
      ],
      "env": {
        "AI_WORKSPACE_ROOT": "<AI_WORKSPACE_ROOT>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 5 of 6 tools read data; 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `search_docs` (name suggests: reads): Keyword search across Markdown docs with title, heading and body weights.
- `search_docs_semantic` (name suggests: reads): TF-IDF cosine similarity search over documents.
- `search_docs_embeddings` (name suggests: reads): Sentence-embedding search over heading chunks.
- `get_doc` (name suggests: reads): Fetch one document by workspace-relative path.
- `list_tickets` (name suggests: reads): List archived tickets, optionally by status.
- `propose_ticket`: Write a ticket draft under tickets/drafts/.

## FAQ

### Can Taskflow Doc Search change real tickets?

No. It can only write new drafts under tickets/drafts/, which a human promotes.

### Does Taskflow Doc Search need credentials?

No; it never calls GitHub or other services.

### Which path should I set?

AI_WORKSPACE_ROOT, the absolute path of the workspace.

### Does semantic search work offline?

After the embedding model has been downloaded once, yes.

### How do I add Taskflow Doc Search to Claude Code?

Run this command in your terminal: claude mcp add taskflow-doc-search --env AI_WORKSPACE_ROOT='<AI_WORKSPACE_ROOT>' -- uvx taskflow-doc-search

### What are the best alternatives to Taskflow Doc Search?

The closest alternatives to Taskflow Doc Search are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/taskflow-doc-search
