@@ -10,7 +10,7 @@ You can run the MCP Server directly via `npx`:
1010export IMAGEKIT_PRIVATE_KEY=" My Private Key"
1111export OPTIONAL_IMAGEKIT_IGNORES_THIS=" My Password"
1212export IMAGEKIT_WEBHOOK_SECRET=" My Webhook Secret"
13- npx -y @imagekit/nodejs -mcp@latest
13+ npx -y @imagekit/api -mcp@latest
1414```
1515
1616### Via MCP Client
@@ -25,7 +25,7 @@ For clients with a configuration JSON, it might look something like this:
2525 "mcpServers" : {
2626 "imagekit_nodejs_api" : {
2727 "command" : " npx" ,
28- "args" : [" -y" , " @imagekit/nodejs -mcp" , " --client=claude" , " --tools=dynamic" ],
28+ "args" : [" -y" , " @imagekit/api -mcp" , " --client=claude" , " --tools=dynamic" ],
2929 "env" : {
3030 "IMAGEKIT_PRIVATE_KEY" : " My Private Key" ,
3131 "OPTIONAL_IMAGEKIT_IGNORES_THIS" : " My Password" ,
@@ -172,10 +172,10 @@ http://localhost:3000?client=cursor&capability=tool-name-length%3D40
172172
173173``` js
174174// Import the server, generated endpoints, or the init function
175- import { server , endpoints , init } from " @imagekit/nodejs -mcp/server" ;
175+ import { server , endpoints , init } from " @imagekit/api -mcp/server" ;
176176
177177// import a specific tool
178- import createCustomMetadataFields from " @imagekit/nodejs -mcp/tools/custom-metadata-fields/create-custom-metadata-fields" ;
178+ import createCustomMetadataFields from " @imagekit/api -mcp/tools/custom-metadata-fields/create-custom-metadata-fields" ;
179179
180180// initialize the server and all endpoints
181181init ({ server, endpoints });
0 commit comments