For this section Running MCP Inspector:
https://github.com/paypal/agent-toolkit?tab=readme-ov-file#running-mcp-inspector
npx -y @paypal/mcp --tools=all PAYPAL_ACCESS_TOKEN="YOUR_ACCESS_TOKEN" PAYPAL_ENVIRONMENT="SANDBOX"
It seems the command has typo, it should be:
npx -y @paypal/mcp --tools=all --access-token="{YOUR_ACCESS_TOKEN}" --paypal-environment="{SANDBOX}"
Otherwise, error liks these would prompt:
Error initializing PayPal MCP server:
Invalid argument: PAYPAL_ACCESS_TOKEN. Accepted arguments are: access-token, tools, paypal-environment