Skip to main content
Glama
AGC Todo MCP Server
by amithgc
README.md
# šŸ“‹ AGC Todo MCP Server

[![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge&logo=typescript&logoColor=white)](https://www.typescriptlang.org/)
[![Node.js](https://img.shields.io/badge/Node.js-43853D?style=for-the-badge&logo=node.js&logoColor=white)](https://nodejs.org/)
[![MIT License](https://img.shields.io/badge/License-MIT-green.svg?style=for-the-badge)](https://choosealicense.com/licenses/mit/)

> **A powerful Model Context Protocol (MCP) server for intelligent todo management with Claude Desktop**

Transform your task management with smart lists, natural language processing, and seamless Claude integration. Perfect for personal productivity and team coordination.

![Demo](https://img.shields.io/badge/Status-Production%20Ready-brightgreen?style=for-the-badge)

## ✨ Features

### šŸŽÆ **Smart Task Organization**
- **šŸ“ DO List**: Your personal tasks
- **šŸ‘„ GET DONE**: Tasks to follow up with others  
- **āœ… COMPLETED**: Archive of finished tasks

### šŸ”¢ **Simple Task References**
- Easy integer IDs (1, 2, 3...) - no complex UUIDs!
- Reference tasks naturally: *"Add update to task 1"*

### šŸ“… **Intelligent Date Handling**
- Natural language: *"tomorrow"*, *"12th Sep"*, *"today and tomorrow"*
- Smart date parsing and filtering
- Always knows current time and context

### šŸ’¬ **Rich Comments & Updates**
- Timestamped comments on every task
- Full comment history with dates
- Task timeline tracking

### šŸ“Š **Beautiful Table Display**
All task lists display in organized, professional tables:

| ID | Description | Owner | ETA | Status | Comments |
|----|-------------|-------|-----|--------|----------|
| 1  | Review API design | John | Sep 12 | pending | 3 |
| 2  | Update documentation | Sarah | Sep 15 | in-progress | 1 |

## šŸš€ Quick Start

### Installation

```bash
# Clone the repository
git clone https://github.com/your-username/agc-todo-mcp-server.git
cd agc-todo-mcp-server

# Install dependencies
npm install

# Build the project
npm run build
```

### Claude Desktop Setup

1. **Open Claude Desktop configuration:**
   ```bash
   cd ~/Library/Application\ Support/Claude/
   open -a TextEdit claude_desktop_config.json
   ```

2. **Add the server configuration:**
   ```json
   {
     "mcpServers": {
       "agc-todo": {
         "command": "node",
         "args": ["/path/to/your/agc-todo-mcp-server/build/index.js"]
       }
     }
   }
   ```

3. **Restart Claude Desktop** and you're ready to go! šŸŽ‰

> šŸ“– **Detailed setup guide:** See [claude-desktop-setup.md](./claude-desktop-setup.md)

## šŸ’” Example Usage

### Personal Task Management
```
šŸ—£ļø "Add a todo for me: Complete the quarterly report by Friday"
šŸ—£ļø "What are my tasks for today and tomorrow?"
šŸ—£ļø "Add an update to task 3: Making good progress, 80% done"
šŸ—£ļø "Mark task 1 as complete"
```

### Team Coordination  
```
šŸ—£ļø "Follow up with Sarah about the API review by next Tuesday"
šŸ—£ļø "Who should I follow up with?"
šŸ—£ļø "What are Sarah's tasks for this week?"
šŸ—£ļø "Search for tasks assigned to the development team"
```

### Task Tracking
```
šŸ—£ļø "View task 2"  → Shows complete history with timestamps
šŸ—£ļø "Search for tasks containing 'API'"
šŸ—£ļø "What are all my completed tasks?"
```

## šŸ› ļø Configuration Options

### Default Setup
Tasks are stored in `./todos.json` in your server directory.

### Custom Location
Choose your preferred storage location:

**Method 1: Command Line Argument**
```json
{
  "mcpServers": {
    "agc-todo": {
      "command": "node",
      "args": [
        "/path/to/agc-todo-mcp-server/build/index.js",
        "--todo-file",
        "/path/to/your/custom-todos.json"
      ]
    }
  }
}
```

**Method 2: Environment Variable**
```json
{
  "mcpServers": {
    "agc-todo": {
      "command": "node", 
      "args": ["/path/to/agc-todo-mcp-server/build/index.js"],
      "env": {
        "TODO_FILE_PATH": "/path/to/your/custom-todos.json"
      }
    }
  }
}
```

## šŸŽ® Available Commands

| Command | Description | Example |
|---------|-------------|---------|
| `add_todo` | Create new task | *"Add a todo for me..."* |
| `get_my_tasks` | View your DO list | *"What are my tasks?"* |
| `get_follow_ups` | View GET DONE list | *"Who should I follow up with?"* |
| `search_todos` | Search all tasks | *"Search for tasks for John"* |
| `update_todo` | Add comments/updates | *"Update task 1: nearly finished"* |
| `mark_complete` | Complete a task | *"Mark task 3 as done"* |
| `view_task` | Detailed task view | *"Show me task 2"* |

## šŸ“ Data Structure

```json
{
  "do": [
    {
      "id": 1,
      "description": "Complete project proposal",
      "owner": "current-user",
      "eta": "2024-09-15T00:00:00Z",
      "status": "pending",
      "comments": [
        {
          "timestamp": "2024-09-10T10:30:00Z",
          "text": "Started initial draft"
        }
      ],
      "createdAt": "2024-09-10T09:00:00Z",
      "updatedAt": "2024-09-10T10:30:00Z"
    }
  ],
  "getDone": [...],
  "completed": [...],
  "nextId": 4
}
```

## šŸ”§ Development

### Tech Stack
- **TypeScript** - Type-safe development
- **Node.js** - Runtime environment  
- **MCP SDK** - Model Context Protocol integration
- **Natural Language Processing** - Smart date parsing

### Scripts
```bash
npm run build    # Build TypeScript to JavaScript
npm start        # Start the MCP server
npm run dev      # Development mode with auto-reload
```

### Project Structure
```
agc-todo-mcp-server/
ā”œā”€ā”€ src/
│   ā”œā”€ā”€ index.ts          # Main MCP server
│   ā”œā”€ā”€ todoManager.ts    # Core todo operations
│   ā”œā”€ā”€ dateUtils.ts      # Smart date handling
│   └── types.ts          # TypeScript definitions
ā”œā”€ā”€ build/                # Compiled JavaScript
ā”œā”€ā”€ claude-desktop-setup.md
└── README.md
```

## šŸ¤ Contributing

We love contributions! Whether it's:

- šŸ› **Bug reports** - Found an issue? Let us know!
- šŸ’” **Feature requests** - Have an idea? Share it!
- šŸ”§ **Code contributions** - PRs welcome!
- šŸ“– **Documentation** - Help others get started

### Getting Started
1. Fork the repository
2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

## šŸ“ Example Prompts

### Daily Productivity
- *"Add a todo for me: Review and respond to team emails by 2 PM"*
- *"What are my tasks for today?"*
- *"Add an update to task 5: Contacted client, waiting for feedback"*

### Project Management
- *"Follow up with Alex about the database migration by Thursday"*
- *"Search for tasks related to the mobile app project"*
- *"Mark the API documentation task as complete"*

### Team Coordination
- *"What tasks do I need to follow up on this week?"*
- *"Add a todo: Schedule team meeting for project kickoff next Monday"*
- *"View task 7"* (shows complete history and timeline)

### Status Updates
- *"Update task 3: Encountered a bug in the payment system, investigating"*
- *"Add update to task 1: First draft complete, needs review"*
- *"What are all my completed tasks from last week?"*

## šŸ“„ License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## šŸ™‹ā€ā™‚ļø Support

- šŸ“– **Documentation**: Check our [setup guide](./claude-desktop-setup.md)
- šŸ› **Issues**: [GitHub Issues](https://github.com/your-username/agc-todo-mcp-server/issues)
- šŸ’¬ **Discussions**: [GitHub Discussions](https://github.com/your-username/agc-todo-mcp-server/discussions)

---

<div align="center">

**Made with ā¤ļø for productivity enthusiasts**

[⭐ Star this repo](https://github.com/your-username/agc-todo-mcp-server) if you find it useful!

</div>

TDQS

B3.2/5.0

Scored across 7 tools

Disambiguation4/5

Most tools have distinct purposes: add_todo vs mark_complete vs update_todo split create/status-change/edit, and get_my_tasks vs get_follow_ups split the two lists. However, mark_complete overlaps with update_todo, and adding comments is folded into update_todo while view_task is the read counterpart, creating mild boundary confusion.

Naming Consistency4/5

All names are snake_case with a verb_noun pattern (add_todo, search_todos, update_todo, view_task, get_follow_ups). Minor deviation: 'get' and 'view' are used interchangeably for reads, and 'mark_complete' lacks an explicit noun object, but the pattern is broadly readable.

Tool Count5/5

Seven tools is well-scoped for a todo server, covering create, read, search, update, and completion across both DO and GET_DONE lists. Each tool appears to earn its place without redundancy.

Completeness3/5

Create (add_todo), read (get_my_tasks, view_task, search_todos), and update (update_todo, mark_complete) are covered, but there is no delete/remove operation, which is a standard part of any todo lifecycle. Agents cannot remove or clean up tasks, a notable gap.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues