Skip to content

Commit ae253d6

Browse files
committed
Rename User-Agent and error messages from manufact to madmcp in Cloudflare client
1 parent 701f34b commit ae253d6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

connectors/cloudflare/client.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ import { CLOUDFLARE_API_TOKEN, CLOUDFLARE_ACCOUNT_ID, CLOUDFLARE_API } from "../
1010
function assertConfigured() {
1111
if (!CLOUDFLARE_API_TOKEN) {
1212
throw new Error(
13-
"CLOUDFLARE_API_TOKEN is not set. Add it as an environment variable on the Manufact server."
13+
"CLOUDFLARE_API_TOKEN is not set. Add it as an environment variable on the madmcp server."
1414
);
1515
}
1616
if (!CLOUDFLARE_ACCOUNT_ID) {
1717
throw new Error(
18-
"CLOUDFLARE_ACCOUNT_ID is not set. Add it as an environment variable on the Manufact server."
18+
"CLOUDFLARE_ACCOUNT_ID is not set. Add it as an environment variable on the madmcp server."
1919
);
2020
}
2121
}
@@ -29,7 +29,7 @@ export async function cfRequest(path, { method = "GET", body, accept } = {}) {
2929
Authorization: `Bearer ${CLOUDFLARE_API_TOKEN}`,
3030
Accept: accept || "application/json",
3131
"Content-Type": "application/json",
32-
"User-Agent": "manufact-mcp-server",
32+
"User-Agent": "madmcp-server",
3333
},
3434
body: body !== undefined ? JSON.stringify(body) : undefined,
3535
});

0 commit comments

Comments
 (0)