# @elguala/mcp-task [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/elguala9/mcp-task  
**GitHub Stars:** 0  
**npm Downloads (last month):** 75  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/elguala-mcp-task

## Description
Local MCP server + CLI for managing development tasks as Markdown files, no database required

## Tools
Capabilities this server exposes over MCP:

- **create_task** — Creates a new task .md file under .task_manager/tasks/, generating the section skeleton for its type.
- **list_tasks** — Lists tasks, optionally filtered by status/type/priority/tag.
- **get_tasks_by_group** — Returns every task belonging to the given group id, searching both .task_manager/tasks/ and .task_manager/tasks/done/ (a group's tasks routinely finish at different times, so .task_manager/tasks/done/ is always included here, unlike list_tasks).
- **get_group_info** — Returns the general-information file (.task_manager/groups/<group>.md) of a group: context shared by all its tasks, so it isn't repeated in each task. The file is created automatically the first time a group is used.
- **update_group_info** — Replaces the whole body of a group's info file. Read it with get_group_info first and send back the full new body.
- **get_task** — Returns a task's full frontmatter plus its body as a section tree.
- **get_section** — Returns a single section (and its subsections) of a task, addressed by a ' > '-separated path.
- **get_task_description** — Returns the optional "description" configured in task-config.yaml for a given type's section, without reading any task file.
- **check_task** — Validates a task against its type's configured section structure. Read-only.
- **fix_task** — Additively fixes missing sections found by check_task. Never removes or alters existing content.
- **update_task** — Merges frontmatter fields and/or replaces section contents. Moves the file to/from .task_manager/tasks/done/ when status becomes/leaves 'finished'. The 'type' field cannot be changed.
- **update_section** — Overwrites the full content of one section/subsection, leaving the rest of the file untouched.
- **append_to_section** — Appends content to the end of a section/subsection without rewriting the rest of it.
- **delete_task** — Deletes a task .md file (from .task_manager/tasks/ or .task_manager/tasks/done/). Does not fix up other tasks' dependencies.
- **move_task** — Moves a task .md file from one path to another (relative to .task_manager/tasks/, e.g. into/out of done/). Pure path rename: never touches status, never renames based on title, and fails on a destination collision. Rewrites the 'dependencies' list of every other task that referenced the old path.
- **init** — Sets up the project: creates task-config.yaml, .task_manager/tasks/ and .task_manager/groups/. Existing files are left untouched unless force is set. TASK-MANAGER.md (instructions for the AI agent) is created only if instructions is true.
- **init_config** — Creates task-config.yaml from the packaged example template if it doesn't already exist. Fails with 'collision' if it exists, unless force is set.
- **get_task_config** — Returns the general task-config.yaml configuration (statuses, priorities, types/sections).
- **end_task** — Shortcut for update_task setting status to "finished" (moves the file to .task_manager/tasks/done/).
- **change_status** — Sets a task's status to any status defined in task-config.yaml (reserved or custom).

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "mcp-task": {
    "command": "npx",
    "args": ["-y","@elguala/mcp-task"],
    "env": {
      "MCP_TASK_PROJECT_ROOT": ""
    }
  }
}
```

**Requires environment variables:** `MCP_TASK_PROJECT_ROOT` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What @elguala/mcp-task does

@elguala/mcp-task combines a local MCP server with a command-line interface for project task management. Tasks are individual Markdown files under `.task_manager/tasks/`, identified by relative path. There is no database or generated index to maintain. The server reads task files when tools are called, which keeps manual edits visible without a synchronization step.

A task can contain frontmatter and a structured body made of named sections. Task types define the expected section layout through `task-config.yaml`. Metadata can include status, priority, tags, group, dependencies, and links to a related task. Finished tasks are moved into a `done/` directory.

## How it works

Start the server with `npx` and point it at a project using `--project`, or set `MCP_TASK_PROJECT_ROOT`. MCP clients launch the process through their normal server configuration. The same operations are also available as hyphenated CLI commands, such as `create-task` and `list-tasks`, which makes the task store usable from shell scripts.

Paths passed to task operations are relative to the configured tasks directory. The default storage root is `.task_manager/`; `task-config.yaml` can change the data directory within the project, subject to the configuration rules. A task may also be created inside a subfolder.

Most failures return a structured error with a stable code, including cases such as missing files, path collisions, unknown statuses or types, and unresolved dependencies. Moving a task updates dependency references in other tasks, while deleting one leaves those references unchanged.

## Setup and configuration

The npm package can be run on demand with `npx -y @elguala/mcp-task`. Configure an MCP entry with the `serve` command and an absolute project path. Claude Code uses `claude mcp add`; Claude Desktop, Cursor, Windsurf, Cline, and other MCP clients can use a JSON server entry. A local clone can instead be built with `npm install` and `npm run build`, then launched with Node against `dist/index.js`.

Use the `init` CLI command or `init` MCP tool to create the configuration and task/group directories. `init_config` creates `task-config.yaml` from the packaged template. Existing files are preserved unless the force option is used. The optional configuration can define statuses, priorities, task types, and their sections. Only `created` and `finished` are built in; additional statuses must be declared in the YAML file.

## Tools and capabilities

Task operations create, filter, inspect, update, move, finish, and delete files. Listing supports status, type, priority, tag, group, and completed-task filters. Section tools read, replace, or append content without requiring a whole-task rewrite. Group tools maintain shared Markdown context in `.task_manager/groups/`.

Validation tools compare a task with the sections required by its type. `fix_task` adds missing sections without changing existing content. Configuration tools expose the parsed YAML and initialize project files. `get_task_description` retrieves the configured description for a type section without opening a task.

## Limitations and notes

Changing a task's type is not supported by `update_task`. A finished status is terminal in the built-in workflow and causes the file to move to `done/`; custom statuses require configuration. Updating a group replaces the complete body of its group information file. `move_task` is a path rename rather than a status operation, and `delete_task` does not repair dependencies pointing to the removed file.

_Full upstream README: https://allmcps.com/mcp/elguala-mcp-task/readme_

