Skip to content

Commit 89075b9

Browse files
committed
Add prompt to better handle multi account users
1 parent d425d9e commit 89075b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/mcp-common/src/tools/account.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import { type CloudflareMcpAgent } from '../types/cloudflare-mcp-agent'
77
export function registerAccountTools(agent: CloudflareMcpAgent) {
88
// Tool to list all accounts
99
agent.server.tool(
10-
'accounts_list',
11-
'List all accounts in your Cloudflare account',
10+
'accounts_list',`List all accounts in your Cloudflare account.
11+
If you have access to multiple accounts you MUST ask the user to select one.`,
1212
{},
1313
async () => {
1414
try {

0 commit comments

Comments
 (0)