task
A MCP Task Server
claude mcp add --transport stdio milkosten-task-mcp-server node dist/http-server.js \ --env TASK_MANAGER_API_KEY="your_api_key_here" \ --env TASK_MANAGER_HTTP_PORT="3000" \ --env TASK_MANAGER_API_BASE_URL="https://your-task-api-url.com/api"
How to use
This MCP server provides two runtime interfaces for managing tasks via the MCP protocol. The STDIO mode lets you interact with the server through command-line or AI agents using a streaming stdin/stdout transport, while the HTTP+SSE mode exposes a web-friendly endpoint that clients can connect to via Server-Sent Events. Core capabilities include listing tasks, creating new tasks with customizable fields, updating task properties (description, status, category, priority), and deleting tasks when appropriate. The included example client code demonstrates how to connect with both STDIO and HTTP transports and how to invoke tools such as listTasks, createTask, updateTask, and deleteTask to manage tasks programmatically.
How to install
Prerequisites:
- Node.js 16.x or higher
- npm or pnpm
- Clone the repository
git clone https://github.com/yourusername/milkosten-task-mcp-server.git
cd milkosten-task-mcp-server
- Install dependencies
npm install
or
pnpm install
- Create an environment file or set environment variables
# .env (example)
TASK_MANAGER_API_BASE_URL=https://your-task-api-url.com/api
TASK_MANAGER_API_KEY=your_api_key_here
TASK_MANAGER_HTTP_PORT=3000
- Build the project
npm run build
- Run the server (choose mode)
- STDIO mode:
npm start
(or
node dist/index.js
```)
- HTTP+SSE mode:
npm run start:http
(or
node dist/http-server.js
6) Verify by connecting a client via the respective transport (STDIO or HTTP SSE) and invoking task tools.
Additional notes
Notes and tips:
- Ensure your external Task API credentials are correctly configured in environment variables. The server relies on TASK_MANAGER_API_BASE_URL and TASK_MANAGER_API_KEY to communicate with the Task API.
- The HTTP server defaults to port 3000 but can be overridden with TASK_MANAGER_HTTP_PORT or an equivalent PORT variable. If you run both modes simultaneously, ensure distinct ports or separate environments to avoid conflicts.
- The README describes available tools (listTasks, createTask, updateTask, deleteTask). When using the STDIO client, you’ll typically connect via a StdioClientTransport and then call these tools with the appropriate arguments.
- If you encounter build-time or runtime errors, start with npm run build, then inspect dist/ logs for details. The MCP SDK integration can emit detailed validation messages for incorrect tool arguments.
- In development, you can run tests with npm test to verify behavior end-to-end; the test suite will build, start the server, run a test client, and shut down automatically.
Related MCP Servers
zen
Selfhosted notes app. Single golang binary, notes stored as markdown within SQLite, full-text search, very low resource usage
MCP -Deepseek_R1
A Model Context Protocol (MCP) server implementation connecting Claude Desktop with DeepSeek's language models (R1/V3)
mcp-fhir
A Model Context Protocol implementation for FHIR
mcp
Inkdrop Model Context Protocol Server
mcp-appium-gestures
This is a Model Context Protocol (MCP) server providing resources and tools for Appium mobile gestures using Actions API..
dubco -npm
The (Unofficial) dubco-mcp-server enables AI assistants to manage Dub.co short links via the Model Context Protocol. It provides three MCP tools: create_link for generating new short URLs, update_link for modifying existing links, and delete_link for removing short links.