P
PromptLayer MCP Server CLI
Details
- Command
-
npx @promptlayer/mcp-server - Docs
- https://docs.promptlayer.com/agents/overview
Authentication
env PROMPTLAYER_API_KEY Sign in to the PromptLayer dashboard, open the API keys page mentioned in the REST API authentication docs, and generate a workspace API key. The quickstart notes you need a PromptLayer API key from your workspace; set it as PROMPTLAYER_API_KEY for SDKs and local MCP, use it in X-API-Key for the REST API, or as Authorization: Bearer pl_... for the hosted MCP server.