v1.0.8
Everything works!
npx works (connected to e.g. n8n)
- npx
- -y @mingzilla/pi-api-mcp-server@1.0.8 --api-url https://my-pi-app/pi/api/v2 --auth-token XXXXXXXX
This works because the dependencies are not dev ones
- Refer to package.json
- Compare with e.g. https://github.com/openbnb-org/mcp-server-airbnb/blob/main/package.json
docker works
{
"mcpServers": {
"pi-api": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"API_URL=http://localhost:8224/pi/api/v2",
"-e",
"PI_API_KEY=XXXXXXXX",
"mingzilla/pi-api-mcp-server"
],
"disabled": false,
"autoApprove": [
"authenticate",
"keep-session-alive",
"list-categories",
"get-category",
"list-charts",
"get-chart"
]
}
}
}
local dev works
- run in command line