Metadata-Version: 2.4
Name: barie-google-tasks-mcp
Version: 0.1.0
Summary: Google Tasks MCP Server for managing Google Tasks via the Model Context Protocol
Author-email: Barie <support@barie.ai>
License: MIT
Keywords: google-api,google-tasks,mcp,model-context-protocol
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.9
Requires-Dist: google-api-python-client>=2.130.0
Requires-Dist: google-auth-oauthlib>=1.2.0
Requires-Dist: google-auth>=2.29.0
Requires-Dist: mcp>=0.9.0
Requires-Dist: pydantic>=2.0.0
Description-Content-Type: text/markdown

# Barie Google Tasks MCP Server

A Model Context Protocol (MCP) server for managing **Google Tasks** — list tasklists, create/update/complete tasks, and more.

## Installation

```bash
# Using uvx (recommended)
uvx --from . barie-google-tasks-mcp

# Or install locally
pip install -e .
```

## Usage

```bash
barie-google-tasks-mcp \
  --access-token "YOUR_ACCESS_TOKEN" \
  --refresh-token "YOUR_REFRESH_TOKEN" \
  --client-id "YOUR_CLIENT_ID" \
  --client-secret "YOUR_CLIENT_SECRET" \
  --expiry "2024-12-31T23:59:59Z" \
  --scopes '["https://www.googleapis.com/auth/tasks"]'
```

### Required Arguments

- `--access-token` — Google OAuth2 access token
- `--refresh-token` — Google OAuth2 refresh token
- `--client-id` — Google OAuth2 client ID
- `--client-secret` — Google OAuth2 client secret

### Optional Arguments

- `--expiry` — Token expiry timestamp (ISO format)
- `--scopes` — OAuth2 scopes as JSON array string (default: `tasks`)

## Tools

| Tool | Description |
|------|-------------|
| `list-tasklists` | List all tasklists |
| `get-tasklist` | Get a tasklist by ID |
| `create-tasklist` | Create a new tasklist |
| `delete-tasklist` | Delete a tasklist |
| `list-tasks` | List tasks in a tasklist |
| `get-task` | Get a task by ID |
| `create-task` | Create a task |
| `update-task` | Patch a task |
| `complete-task` | Mark task completed |
| `delete-task` | Delete a task |

## Development

```bash
python server.py --help
```

