PerformNicely MCP - My Tasks
by ygupta9132
README.md
# PerformNicely MCP - My Tasks
An MCP server that exposes the **My Tasks** section of [PerformNicely](https://performnicely.com)
(your in-house task manager) as tools an AI agent can call: list/search your
tasks, create tasks, and update status / priority / due date / title, archive,
and comment.
It wraps PerformNicely's same-origin REST API (`https://performnicely.com/api`)
and authenticates with cookie-based session login. See
[`docs/my-tasks-api.md`](docs/my-tasks-api.md) for the captured API contract.
## Tools
| Tool | What it does |
|------|--------------|
| `list_my_tasks` | List tasks assigned to you. Filters: `status`, `priority`, `project`, `search`; flags `includeCompleted` / `includeReviewed` / `includeArchived`. |
| `get_task` | Full details of one task by `taskId` or by the UI `taskNumber` (optionally with comments). |
| `create_task` | Create a task in a project (by `projectId` or `project` name/slug), optional task group, priority, due date, description, assign-to-me. **Due date defaults to today when omitted** - pass `"none"` to create with no due date. `hours` is sent as the string the API requires. |
| `update_task_status` | Move a task to `backlog` / `in_progress` / `completed` / `reviewed` / `archived`. |
| `set_task_priority` | Set `high` / `medium` / `low`. |
| `set_task_due_date` | Set or clear a due date (ISO, e.g. `2026-07-15`). |
| `set_task_hours` | Record hours on a task (PerformNicely's estimated-hours field). |
| `update_task_title` | Rename a task. |
| `update_task_description` | Replace a task's description. |
| `archive_task` | Archive a task (reversible in the app). |
| `add_task_comment` | Add a comment to a task. |
| `list_projects` | List projects (find a `projectId`). |
| `list_task_groups` | List task groups (Backend, Web Frontend, …) in a project. |
| `whoami` | Show the authenticated user - use to verify credentials. |
## Setup
```bash
npm install
npm run build
```
### Credentials
The server logs in with your PerformNicely email + password (via
`POST /api/auth/login`) and keeps the session cookie, re-logging in automatically
on expiry. It reads these on startup:
| Variable | Required | Default |
|----------|----------|---------|
| `PERFORMNICELY_EMAIL` | yes | - |
| `PERFORMNICELY_PASSWORD` | yes | - |
| `PERFORMNICELY_BASE_URL` | no | `https://performnicely.com/api` |
**Recommended: a `.env` file.** Create a `.env` file in the project root (copy from
`.env.example`). The server auto-loads it at startup - it looks for, in order,
`$PERFORMNICELY_ENV_FILE`, then `<project root>/.env`, then `<cwd>/.env`. `.env`
is gitignored. Real env vars set by your shell / MCP client take precedence over
the file; an empty/placeholder env value falls back to the file.
```dotenv
PERFORMNICELY_EMAIL="you@example.com"
PERFORMNICELY_PASSWORD="your-password"
```
> Quote the password if it contains spaces or special characters.
## Run / register with Claude Code
It is registered at user scope, so it is available from any directory:
```bash
claude mcp add --scope user performnicely -- node "/full/path/to/PerformNicelyMCP/dist/index.js"
```
You can also add a project-scoped `.mcp.json` so sessions started inside the
folder pick the server up automatically:
```json
"performnicely": { "command": "node", "args": ["/full/path/to/PerformNicelyMCP/dist/index.js"] }
```
Create your `.env` (above), then **restart Claude Code from this directory** so it
loads the project `.mcp.json`, and approve the `performnicely` server when prompted.
### Verify
The quickest check is the **`whoami`** tool - it returns your PerformNicely user
if login works, or a clear auth error if the credentials are wrong. Then try
**`list_my_tasks`**.
## Scope
This server intentionally covers **only the My Tasks section**. The wider
PerformNicely API (dashboard, daily check-in, projects board, meetings, goals,
performance, etc.) is out of scope for now.
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues