Test commands
Test layers
- Unit:
tests/public-tools.unit.test.ts - Manifest parity:
tests/manifest-parity.test.ts - MCP stdio e2e:
tests/mcp.e2e.test.ts
Troubleshooting
Missing API key
Missing API key
Set
PUBLIC_API_KEY in the MCP client env block.Tools not visible in client
Tools not visible in client
Build first (
npm run build), confirm dist/index.js exists, use absolute path in args, then restart client.API errors
API errors
Verify key scope, base URL (
EVENTO_API_BASE_URL), and test with a known username via smoke check.Security reminders
- Keep API keys in local env config, never source control
- Rotate keys periodically
- Monitor usage against rate limits