Skip to content

Commit 829ad61

Browse files
committed
chore: remove get_image mcp tool
1 parent 0ed8851 commit 829ad61

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

packages/burger-mcp/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ The Burger MCP server provides the following tools:
3535
| get_order_by_id | Get a specific order by its ID |
3636
| place_order | Place a new order with burgers (requires `userId`) |
3737
| delete_order_by_id | Cancel an order if it has not yet been started (status must be `pending`, requires `userId`) |
38-
| get_image | Retrieve the full URL of an image file |
3938

4039
## Test with MCP inspector
4140

packages/burger-mcp/src/tools.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -116,20 +116,6 @@ export const tools = [
116116
});
117117
},
118118
},
119-
{
120-
name: "get_image",
121-
description: "Retrieve the full URL of an image file",
122-
schema: z.object({
123-
filepath: z.string().describe("Path to the image file"),
124-
}),
125-
handler: async (args: z.ZodRawShape) => {
126-
const imageUrl = new URL(
127-
`/api/images/${args.filepath}`,
128-
burgerApiUrl
129-
).toString();
130-
return JSON.stringify({ imageUrl });
131-
},
132-
},
133119
];
134120

135121
// Wraps standard fetch to include the base URL and handle errors

0 commit comments

Comments
 (0)