npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@rezkam/mono-mcp-server

v0.2.0

Published

MCP server for Mono task management - enables LLMs to manage tasks and create daily plans

Readme

@rezkam/mono-mcp-server

MCP server for Mono task management. Enables LLMs to manage tasks, create daily plans, and act as a personal productivity assistant.

Features

  • Planning-Oriented Tools: Smart tools designed for daily planning workflows
  • Full CRUD Operations: Complete access to lists, items, and recurring templates
  • Actionable Error Messages: Helpful suggestions for LLMs to self-correct
  • Type-Safe: Built with TypeScript for reliability

Installation

npx @rezkam/mono-mcp-server

Configuration

Add to your MCP client configuration (e.g., Claude Desktop ~/.config/claude/config.json):

{
  "mcpServers": {
    "mono": {
      "command": "npx",
      "args": ["@rezkam/mono-mcp-server"],
      "env": {
        "MONO_API_KEY": "sk-your-api-key-here"
      }
    }
  }
}

Environment Variables

| Variable | Required | Default | Description | |----------|----------|---------|-------------| | MONO_API_KEY | Yes | - | Your Mono API key (starts with sk-) | | MONO_API_URL | No | https://monodo.app/api | API base URL (for local development) |

Available Tools

Planning Tools (Optimized for LLM Daily Planning)

These tools are designed to make the LLM an effective planning assistant:

get_plannable_tasks

Get tasks available to work on for daily planning.

  • Excludes done/archived/cancelled items
  • Sorted by priority (urgent→low), then due time
  • Includes estimated durations for time budgeting

get_overdue_tasks

Get tasks past their due date, sorted by how overdue.

  • Critical for responsible task management
  • Helps prioritize catch-up work

get_tasks_due_soon

Get tasks due within a time window (default: 7 days).

  • Helps with weekly planning
  • Prevents last-minute rushes

get_tasks_by_tag

Filter tasks by context/tag (e.g., "work", "home", "errands").

  • Enables context-based planning
  • Useful for location-based task batching

get_workload_summary

Get aggregated view of pending work.

  • Total count and estimated hours
  • Breakdown by priority and tag
  • Overdue and due-this-week counts
  • Answers "how much work do I have?" without listing everything

quick_add_task

Rapidly capture tasks with smart defaults.

  • Status: todo
  • Priority: medium (unless specified)
  • Simpler than create_item for quick capture

CRUD Tools (Full API Access)

Lists

  • list_lists - Get all todo lists with pagination and filtering
  • create_list - Create a new todo list
  • get_list - Get list details with item counts

Items

  • list_items - Get items with filtering by status/priority/tags
  • create_item - Create a task with full details
  • update_item - Update task fields via update_mask
  • complete_item - Mark task as done (convenience wrapper)

Recurring Templates

  • list_recurring_templates - Get recurring templates
  • create_recurring_template - Create recurring task (daily/weekly/monthly/etc)
  • update_recurring_template - Modify template settings
  • delete_recurring_template - Remove template

Example Prompts

Once configured, you can ask your LLM assistant:

  • Planning: "What should I work on today?"
  • Overview: "What's my workload like this week?"
  • Filtering: "Show me all high-priority work tasks"
  • Quick Capture: "Add 'buy groceries' to my personal list"
  • Updates: "Mark the report task as done"
  • Recurring: "Create a daily reminder to check email at 9am"
  • Overdue: "What am I behind on?"

Error Handling

The server provides actionable error messages to help LLMs self-correct:

Example: If you try to update an item with an invalid status, you'll get:

Error: Invalid status value
Code: VALIDATION_ERROR
Field: status
Suggestion: The status value is not recognized.
Recovery: Use one of the valid status values.
Valid values: todo, in_progress, blocked, done, archived, cancelled

Development

Local Development

# Clone the repository
git clone https://github.com/rezkam/mono-mcp-server
cd mono-mcp-server

# Install dependencies
npm install

# Build
npm run build

# Test with MCP Inspector (optional)
npx @modelcontextprotocol/inspector dist/index.js

Client Code Generation

This project uses auto-generated TypeScript client code from the Mono API OpenAPI specification. The client code is generated from the Mono OpenAPI spec and should not be manually edited.

Updating the Generated Client

When the Mono API specification changes, regenerate the client:

# Generate client code from OpenAPI spec
npm run generate

This will:

  1. Fetch the latest OpenAPI spec from GitHub
  2. Generate TypeScript client code to src/generated/
  3. Create type definitions, API functions, and client configuration

The generated files are gitignored and regenerated on each build.

Client Generation Configuration

Client generation is configured in openapi-ts.config.ts:

import { defineConfig } from '@hey-api/openapi-ts';

export default defineConfig({
  client: 'fetch',
  input: 'https://raw.githubusercontent.com/rezkam/mono/main/api/openapi/mono.yaml',
  output: {
    format: 'prettier',
    path: './src/generated',
  },
  types: {
    enums: 'javascript',
  },
});

Key points:

  • Uses @hey-api/openapi-ts for generation
  • Fetches spec directly from GitHub (always up-to-date)
  • Output directory: src/generated/ (gitignored)
  • Client: Native fetch API (no additional dependencies)
  • Generated code is formatted with Prettier

Architecture: Two-Layer Design

The codebase follows a two-layer architecture:

  1. Generated Client Layer (src/generated/):

    • Auto-generated from OpenAPI spec
    • Provides type-safe API functions
    • Should never be manually edited
    • Regenerated on every build
  2. MCP Tools Layer (src/tools/):

    • Manually crafted MCP tool definitions
    • Uses generated client for API calls
    • Contains business logic, filtering, sorting
    • This is where development and testing happens

Example:

// src/tools/items.ts - Manual MCP tool implementation
import { listItems } from "../client.js";  // Generated client function

case "list_items": {
  // Use generated client with type-safe parameters
  const { data, error, response } = await listItems({
    path: { list_id: args.list_id as string },
    query: { status: args.status as any }
  });

  if (error) {
    throw createActionableError(response.status, error as any, {...});
  }

  return data;
}

Versioning and Releases

This project uses Changesets for version management and automated releases. See .changeset/README.md for detailed instructions on creating releases.

Using with Local Mono API

Set MONO_API_URL to your local development server:

{
  "mcpServers": {
    "mono": {
      "command": "npx",
      "args": ["@rezkam/mono-mcp-server"],
      "env": {
        "MONO_API_KEY": "sk-dev-key",
        "MONO_API_URL": "http://localhost:8081/api"
      }
    }
  }
}

Architecture

src/
├── index.ts          # MCP server entry point
├── client.ts         # HTTP client with auth and error handling
├── types.ts          # TypeScript types from OpenAPI spec
├── errors.ts         # Actionable error formatting
└── tools/
    ├── index.ts      # Tool registry
    ├── lists.ts      # List CRUD operations
    ├── items.ts      # Item CRUD operations
    ├── recurring.ts  # Recurring template operations
    └── planning.ts   # Planning-oriented composite tools

License

MIT

Contributing

Contributions welcome! Please open an issue or PR on GitHub.