We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 740bf17 commit 81466e7Copy full SHA for 81466e7
doit-mcp-server/src/index.ts
@@ -254,7 +254,9 @@ export class DoitMCPAgent extends McpAgent {
254
255
// Tickets tools
256
this.registerTool(listTicketsTool, ListTicketsArgumentsSchema);
257
- this.registerTool(createTicketTool, CreateTicketArgumentsSchema);
+ if (this.props.isDoitUser !== "true") {
258
+ this.registerTool(createTicketTool, CreateTicketArgumentsSchema);
259
+ }
260
261
// Invoices tools
262
this.registerTool(listInvoicesTool, ListInvoicesArgumentsSchema);
0 commit comments