Skip to main content
Glama
README.md
# zenkit-mcp

An [MCP](https://modelcontextprotocol.io) server for [Zenkit](https://zenkit.com), the kanban and project planning application. Gives AI assistants like Claude full access to your Zenkit workspaces, lists, and entries.

## Features

- 12 tools covering workspaces, lists, entries, kanban, comments, and labels
- Human-readable field names (no UUIDs) for both reading and writing
- Two transports: **stdio** for local use, **HTTP** for remote/cloud deployment
- OAuth support for Claude.ai Custom Connectors
- Full TypeScript, zero extra runtime dependencies beyond the MCP SDK

## Tools

| Tool | Description |
|------|-------------|
| `list_workspaces` | List all workspaces and their lists |
| `get_list` | Get list field schema and category options |
| `list_entries` | Get entries with pagination |
| `get_entry` | Get a single entry with resolved fields |
| `create_entry` | Create an entry using human-readable field names |
| `update_entry` | Update entry fields |
| `delete_entry` | Delete an entry |
| `move_entry` | Move a kanban card to a different column |
| `add_comment` | Add a comment to an entry |
| `create_label` | Add a label/category option to a field |
| `update_label` | Rename or recolor a label |
| `delete_label` | Remove a label from a field |

## Quick Start

### Claude Desktop (local, stdio)

Add to your Claude Desktop config:

**Mac** (`~/Library/Application Support/Claude/claude_desktop_config.json`):

```json
{
  "mcpServers": {
    "zenkit": {
      "command": "npx",
      "args": ["-y", "zenkit-mcp"],
      "env": {
        "ZENKIT_API_KEY": "your-zenkit-api-key"
      }
    }
  }
}
```

**Windows** (`%APPDATA%\Claude\claude_desktop_config.json`):

```json
{
  "mcpServers": {
    "zenkit": {
      "command": "npx",
      "args": ["-y", "zenkit-mcp"],
      "env": {
        "ZENKIT_API_KEY": "your-zenkit-api-key"
      }
    }
  }
}
```

Restart Claude Desktop. You should see the Zenkit tools available.

### Claude.ai (remote, OAuth)

If you're running a hosted instance of this server:

1. Go to **claude.ai > Settings > Connectors**
2. Click **Add custom connector**
3. Enter your server URL (e.g. `https://your-server.example.com/mcp`)
4. You'll be redirected to enter your Zenkit API key
5. Done — tools are available in your conversations

### Getting Your Zenkit API Key

1. Log into [Zenkit](https://zenkit.com)
2. Go to **Settings** (your profile icon)
3. Navigate to the **API** section
4. Generate or copy your API key

## Self-Hosting

### Docker

```bash
docker build -t zenkit-mcp .
docker run -p 3000:3000 -e PUBLIC_URL=https://your-domain.com zenkit-mcp
```

### Railway / Render / Fly.io

The included `Dockerfile` works with any container hosting platform. Set the `PUBLIC_URL` environment variable to your public URL for OAuth metadata to work correctly.

## Environment Variables

| Variable | Required | Default | Description |
|----------|----------|---------|-------------|
| `ZENKIT_API_KEY` | stdio only | — | Zenkit API key (stdio transport) |
| `ZENKIT_BASE_URL` | No | `https://zenkit.com/api/v1` | Zenkit API base URL |
| `PORT` | No | `3000` | HTTP server port |
| `PUBLIC_URL` | HTTP only | `http://localhost:3000` | Public URL for OAuth metadata |

## Development

```bash
# Install dependencies
npm install

# Build
npm run build

# Run tests
npm test              # all tests
npm run test:unit     # unit tests only (mocked, no API key needed)
npm run test:integration  # integration tests (needs ZENKIT_API_KEY)

# Run locally (stdio)
ZENKIT_API_KEY=... node build/index.js

# Run locally (HTTP)
PUBLIC_URL=http://localhost:3000 node build/http.js
```

## License

MIT