Skip to content

Commit 8a98b34

Browse files
committed
functioning app with mcp
1 parent 8911014 commit 8a98b34

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

-44 Bytes
Binary file not shown.

src/app.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -196,11 +196,11 @@ def mcp_endpoint():
196196
"properties": {
197197
"title": {
198198
"type": "string",
199-
"description": "Title of the todo item"
199+
"description": "Title of the todo"
200200
},
201201
"description": {
202202
"type": "string",
203-
"description": "Optional description"
203+
"description": "Optional desc"
204204
},
205205
"priority": {
206206
"type": "string",
@@ -219,7 +219,7 @@ def mcp_endpoint():
219219
"properties": {
220220
"filter_completed": {
221221
"type": "boolean",
222-
"description": "Filter by completion status"
222+
"description": "Filter by status"
223223
}
224224
}
225225
}
@@ -232,7 +232,7 @@ def mcp_endpoint():
232232
"properties": {
233233
"todo_id": {
234234
"type": "integer",
235-
"description": "ID of the todo to update"
235+
"description": "Todo ID to update"
236236
},
237237
"title": {
238238
"type": "string",
@@ -263,7 +263,7 @@ def mcp_endpoint():
263263
"properties": {
264264
"todo_id": {
265265
"type": "integer",
266-
"description": "ID of the todo to delete"
266+
"description": "Todo ID to delete"
267267
}
268268
},
269269
"required": ["todo_id"]
@@ -277,7 +277,7 @@ def mcp_endpoint():
277277
"properties": {
278278
"todo_id": {
279279
"type": "integer",
280-
"description": "ID of the todo to mark"
280+
"description": "Todo ID to mark"
281281
},
282282
"completed": {
283283
"type": "boolean",
@@ -437,13 +437,13 @@ def mcp_info():
437437
"method": "POST"
438438
},
439439
{
440-
"name": "list_todos",
440+
"name": "list_todos",
441441
"endpoint": "/mcp/tools/list_todos",
442442
"method": "GET|POST"
443443
},
444444
{
445445
"name": "update_todo",
446-
"endpoint": "/mcp/tools/update_todo",
446+
"endpoint": "/mcp/tools/update_todo",
447447
"method": "POST"
448448
},
449449
{

0 commit comments

Comments
 (0)