Skip to content

Commit e8011bc

Browse files
committed
Update documentation and date search API
1 parent 32a1045 commit e8011bc

File tree

3 files changed

+55
-19
lines changed

3 files changed

+55
-19
lines changed

README.md

Lines changed: 37 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,12 @@
1717
- [Task management](#task-management)
1818
- [Document management](#document-management)
1919
- [Setup](#setup)
20-
- [Claude Desktop + npx](#claude-desktop--npx)
21-
- [Claude Desktop + Docker](#claude-desktop--docker)
20+
- [Find the MCP settings file for the client](#find-the-mcp-settings-file-for-the-client)
21+
- [Claude](#claude)
22+
- [Cline](#cline)
23+
- [Any other client](#any-other-client)
24+
- [Set up the MCP server](#set-up-the-mcp-server)
25+
- [Variant: setup with Docker](#variant-setup-with-docker)
2226
- [Help and Resources](#help-and-resources)
2327
- [Contributing](#contributing)
2428
- [License](#license)
@@ -70,12 +74,31 @@ Each tool supports comprehensive input validation and returns structured JSON re
7074

7175
The easiest way to run the MCP server is with `npx`, but a Docker setup is also available.
7276

73-
### Claude Desktop + npx
77+
### Find the MCP settings file for the client
78+
79+
#### Claude
7480

7581
1. [Install Claude Desktop](https://claude.ai/download) as needed
76-
2. [Install npx](https://nodejs.org/en/download), which comes bundled with Node, as needed
77-
3. Copy your authentication token from [your Dart profile](https://app.itsdart.com/?settings=account) and use that below
78-
4. Add the following to your `claude_desktop_config.json`, which can be found in Claude Desktop > Settings > Developer > Edit Config
82+
2. Open the `claude_desktop_config.json` file, which can be located by opening the Claude Desktop app, going into its Settings, opening the 'Developer' tab, and clicking the 'Edit Config' button
83+
3. Follow the 'Set up the MCP server' steps below
84+
85+
#### Cline
86+
87+
1. [Install Cline](https://cline.bot/) in your IDE as needed
88+
2. Install the MCP server by opening your IDE, opening the Cline sidebar, clicking the 'MCP Servers' icon button that is second from left at the top, opening the 'Installed' tab, and clicking the 'Configure MCP Servers' button
89+
3. Follow the 'Set up the MCP server' steps below
90+
91+
#### Any other client
92+
93+
1. Find the MCP settings file, usually `[client]_mcp_settings.json`
94+
2. Follow the 'Set up the MCP server' steps below
95+
96+
### Set up the MCP server
97+
98+
1. [Install npx](https://nodejs.org/en/download), which comes bundled with Node, as needed
99+
2. Copy your authentication token from [your Dart profile](https://app.itsdart.com/?settings=account)
100+
3. Add the following to your MCP setup, being sure to replace `dsa...` with your actual Dart token
101+
79102
```json
80103
{
81104
"mcpServers": {
@@ -90,13 +113,15 @@ The easiest way to run the MCP server is with `npx`, but a Docker setup is also
90113
}
91114
```
92115

93-
### Claude Desktop + Docker
116+
### Variant: setup with Docker
117+
118+
If the `npx` setup above does not work well, we also provide a Docker setup. Follow the instructions above to find the MCP settings file
119+
120+
1. [Install Docker](https://www.docker.com/products/docker-desktop/) as needed
121+
2. Build the Docker container with `docker build -t mcp/dart .`
122+
3. Copy your authentication token from [your Dart profile](https://app.itsdart.com/?settings=account)
123+
4. Add the following to your MCP setup, being sure to replace `dsa...` with your actual Dart token
94124

95-
1. [Install Claude Desktop](https://claude.ai/download) as needed
96-
2. [Install Docker](https://www.docker.com/products/docker-desktop/) as needed
97-
3. Build the Docker container with `docker build -t mcp/dart .`
98-
4. Copy your authentication token from [your Dart profile](https://app.itsdart.com/?settings=account) and use that below
99-
5. Add the following to your `claude_desktop_config.json`, which can be found in Claude Desktop > Settings > Developer > Edit Config
100125
```json
101126
{
102127
"mcpServers": {

admin/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@
1010
2. Run `yarn build` to build the library
1111
3. Debug with the MCP inspector
1212
1. Run `CLIENT_PORT=9001 SERVER_PORT=9000 npx @modelcontextprotocol/inspector node dist/index.js`
13-
2. Open http://localhost:9001?proxyPort=9000
13+
2. Open [the page for the inspector](http://localhost:9001?proxyPort=9000)
1414
3. Fill out any needed environment variables and click 'Connect'
1515
4. To use this with Claude Desktop, add the following to your `claude_desktop_config.json`:
16+
1617
```json
1718
{
1819
"mcpServers": {

index.ts

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ const TaskListParamsSchema = z.object({
130130
dartboard: z.string().optional(),
131131
dartboard_duid: z.string().optional(),
132132
description: z.string().optional(),
133-
due_at: z.string().optional(),
133+
due_at_before: z.string().optional(),
134+
due_at_after: z.string().optional(),
134135
duids: z.string().optional(),
135136
in_trash: z.boolean().optional(),
136137
is_draft: z.boolean().optional(),
@@ -139,7 +140,8 @@ const TaskListParamsSchema = z.object({
139140
offset: z.number().optional(),
140141
priority: z.string().optional(),
141142
size: z.number().optional(),
142-
start_at: z.string().optional(),
143+
start_at_before: z.string().optional(),
144+
start_at_after: z.string().optional(),
143145
status: z.string().optional(),
144146
status_duid: z.string().optional(),
145147
subscriber_duid: z.string().optional(),
@@ -336,9 +338,13 @@ const listTasksTool: Tool = {
336338
type: "string",
337339
description: "Filter by description content",
338340
},
339-
due_at: {
341+
due_at_before: {
340342
type: "string",
341-
description: "Filter by due date (ISO format)",
343+
description: "Filter by due date before (ISO format)",
344+
},
345+
due_at_after: {
346+
type: "string",
347+
description: "Filter by due date after (ISO format)",
342348
},
343349
duids: { type: "string", description: "Filter by DUIDs" },
344350
in_trash: { type: "boolean", description: "Filter by trash status" },
@@ -351,9 +357,13 @@ const listTasksTool: Tool = {
351357
},
352358
priority: { type: "string", description: "Filter by priority" },
353359
size: { type: "number", description: "Filter by task size" },
354-
start_at: {
360+
start_at_before: {
361+
type: "string",
362+
description: "Filter by start date before (ISO format)",
363+
},
364+
start_at_after: {
355365
type: "string",
356-
description: "Filter by start date (ISO format)",
366+
description: "Filter by start date after (ISO format)",
357367
},
358368
status: { type: "string", description: "Filter by status" },
359369
status_duid: { type: "string", description: "Filter by status DUID" },

0 commit comments

Comments
 (0)