Skip to main content
Glama
howtoUnittest.prompt.md662 B
--- mode: agent --- # Tips: How to run unittests ## Quick Setup ```bash # 1. Start Phorge container (if not running) cd tests && docker build -t phorge_debug . && docker run -d --rm -p 38080:80 --name phorge_debug phorge_debug # 2. Get API token docker exec phorge_debug /usr/local/bin/get-api-token.sh # 3. Run tests cd .. && source venv/bin/activate && PHABRICATOR_TOKEN=<api-token> PHABRICATOR_URL=http://127.0.0.1:38080/api/ pytest ``` ## Tips - **Always check if container running first**: `docker ps | grep phorge_debug` - **Run specific test**: `pytest -k "whoami" -v` - **Browser access**: http://127.0.0.1:38080/ (modify Dockerfile to set password)

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cortex-app/conduit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server