@@ -10,7 +10,7 @@ You can run the MCP Server directly via `npx`:
1010
1111``` sh
1212export PERPLEXITY_API_KEY=" My API Key"
13- npx -y @perplexity-ai/perplexity_ai- mcp@latest
13+ npx -y @perplexity-ai/mcp-server @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 "perplexity_ai_perplexity_ai_api" : {
2727 "command" : " npx" ,
28- "args" : [" -y" , " @perplexity-ai/perplexity_ai- mcp" , " --client=claude" , " --tools=all" ],
28+ "args" : [" -y" , " @perplexity-ai/mcp-server " , " --client=claude" , " --tools=all" ],
2929 "env" : {
3030 "PERPLEXITY_API_KEY" : " My API Key"
3131 }
@@ -169,10 +169,10 @@ http://localhost:3000?client=cursor&capability=tool-name-length%3D40
169169
170170``` js
171171// Import the server, generated endpoints, or the init function
172- import { server , endpoints , init } from " @perplexity-ai/perplexity_ai- mcp/server" ;
172+ import { server , endpoints , init } from " @perplexity-ai/mcp-server /server" ;
173173
174174// import a specific tool
175- import createChatCompletions from " @perplexity-ai/perplexity_ai- mcp/tools/chat/completions/create-chat-completions" ;
175+ import createChatCompletions from " @perplexity-ai/mcp-server /tools/chat/completions/create-chat-completions" ;
176176
177177// initialize the server and all endpoints
178178init ({ server, endpoints });
0 commit comments