> ## Documentation Index
> Fetch the complete documentation index at: https://docs.openbunny.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP

> Model Context Protocol endpoint for LLM tool integration.

Base URL: `http://localhost:3100`

The MCP server exposes task management as tools for LLM applications.

## Endpoint

```bash theme={null}
POST /mcp     # JSON-RPC transport
GET  /mcp     # SSE transport
DELETE /mcp   # Close connection
```

## Available tools

### list\_tasks

List tasks with optional filters.

| Parameter  | Type   | Description        |
| ---------- | ------ | ------------------ |
| `status`   | string | Filter by status   |
| `priority` | string | Filter by priority |

### get\_task

Fetch a single task by ID.

| Parameter | Type   | Description |
| --------- | ------ | ----------- |
| `id`      | number | Task ID     |

### update\_task

Modify task fields.

| Parameter     | Type      | Description          |
| ------------- | --------- | -------------------- |
| `id`          | number    | Task ID              |
| `status`      | string    | New status           |
| `priority`    | string    | New priority         |
| `labels`      | string\[] | New labels           |
| `description` | string    | Appended description |

### delete\_task

Remove a task.

| Parameter | Type   | Description |
| --------- | ------ | ----------- |
| `id`      | number | Task ID     |

### search

Hybrid search across tasks.

| Parameter | Type   | Description  |
| --------- | ------ | ------------ |
| `query`   | string | Search query |

### find\_duplicates

Find similar tasks using vector similarity.

| Parameter | Type   | Description     |
| --------- | ------ | --------------- |
| `text`    | string | Text to compare |

### set\_task\_status

Change a task's status.

| Parameter | Type   | Description |
| --------- | ------ | ----------- |
| `id`      | number | Task ID     |
| `status`  | string | New status  |
