Skip to content

Commit 49d048f

Browse files
committed
fix: update serverConfig to include valid URLs and improve label descriptions
1 parent e86beab commit 49d048f

File tree

1 file changed

+24
-24
lines changed
  • packages/mcp-server/cloudflare-worker/src

1 file changed

+24
-24
lines changed

packages/mcp-server/cloudflare-worker/src/index.ts

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -13,39 +13,39 @@ type MCPProps = {
1313
*/
1414
const serverConfig: ServerConfig = {
1515
orgName: 'ImageKit',
16-
instructionsUrl: undefined, // Set a url for where you show users how to get an API key
17-
logoUrl: undefined, // Set a custom logo url to appear during the OAuth flow
16+
instructionsUrl: "https://imagekit.io/docs/mcp-server", // Set a url for where you show users how to get an API key
17+
logoUrl: "https://ik.imagekit.io/ikmedia/logo/light_T4buIzohVH.svg", // Set a custom logo url to appear during the OAuth flow
1818
clientProperties: [
1919
{
2020
key: 'privateKey',
21-
label: 'Private Key',
21+
label: 'ImageKit Private Key',
2222
description:
2323
'Your ImageKit private API key (starts with `private_`).\nYou can find this in the [ImageKit dashboard](https://imagekit.io/dashboard/developer/api-keys).\n',
2424
required: true,
2525
default: undefined,
26-
placeholder: 'My Private Key',
26+
placeholder: 'ImageKit Private Key',
2727
type: 'password',
2828
},
29-
{
30-
key: 'password',
31-
label: 'Password',
32-
description:
33-
'ImageKit uses your API key as username and ignores the password. \nThe SDK sets a dummy value. You can ignore this field.\n',
34-
required: false,
35-
default: 'do_not_set',
36-
placeholder: 'My Password',
37-
type: 'password',
38-
},
39-
{
40-
key: 'webhookSecret',
41-
label: 'Webhook Secret',
42-
description:
43-
"Your ImageKit webhook secret for verifying webhook signatures (starts with `whsec_`).\nYou can find this in the [ImageKit dashboard](https://imagekit.io/dashboard/developer/webhooks).\nOnly required if you're using webhooks.\n",
44-
required: false,
45-
default: null,
46-
placeholder: 'My Webhook Secret',
47-
type: 'string',
48-
},
29+
// {
30+
// key: 'password',
31+
// label: 'Password',
32+
// description:
33+
// 'ImageKit uses your API key as username and ignores the password. \nThe SDK sets a dummy value. You can ignore this field.\n',
34+
// required: false,
35+
// default: 'do_not_set',
36+
// placeholder: 'My Password',
37+
// type: 'password',
38+
// },
39+
// {
40+
// key: 'webhookSecret',
41+
// label: 'Webhook Secret',
42+
// description:
43+
// "Your ImageKit webhook secret for verifying webhook signatures (starts with `whsec_`).\nYou can find this in the [ImageKit dashboard](https://imagekit.io/dashboard/developer/webhooks).\nOnly required if you're using webhooks.\n",
44+
// required: false,
45+
// default: null,
46+
// placeholder: 'My Webhook Secret',
47+
// type: 'string',
48+
// },
4949
],
5050
};
5151

0 commit comments

Comments
 (0)