Skip to main content
Glama
TEST_RUN_RESULTS_20250922.md3.96 kB
# Test Run Results - September 22, 2025 ## Initial Run of Automated Test Suite ### Attempt 1: Script Execution - **Time**: 08:16:10 PST - **Command**: `./test/docker-claude-verification/run-verification.sh` - **Result**: Script had syntax errors (unmatched parentheses on lines 410 and 413) - **Fix Applied**: Removed extra closing parentheses ### Attempt 2: Script Execution After Fix - **Time**: 08:16:10 PST - **Command**: `./test/docker-claude-verification/run-verification.sh` - **Result**: Script started but hung after first test - **Output Captured**: ``` Test ID: 20250922-081610 Output Directory: test-results-20250922-081610 PREREQUISITES CHECK [TEST 1] Docker Installation ✅ PASS: Docker installed: Docker version 28.4.0, build d8eb465 ``` - **Issue**: Script hung after Docker installation check - **Test directory created**: `test-results-20250922-081610/` (empty) ## Direct Testing Results ### Test Environment - **Docker Version**: 28.4.0, build d8eb465 - **API Key**: Set correctly (sk-ant-api03-...) - **Working Directory**: `/Users/mick/Developer/Organizations/DollhouseMCP/active/mcp-server` ### Test Results #### ✅ TEST 1: Dockerfile Exists ```bash ls -la docker/test-configs/Dockerfile.claude-testing ``` **Result**: File exists (7069 bytes, dated Sep 19 14:53) #### ✅ TEST 2: API Key Set ```bash echo $ANTHROPIC_API_KEY | head -c 15 ``` **Result**: API key is set: sk-ant-api03-9N... #### ✅ TEST 3: Docker Build ```bash docker build -f docker/test-configs/Dockerfile.claude-testing -t claude-mcp-test-env . ``` **Result**: Build successful - Image created: claude-mcp-test-env:latest - Build completed without errors #### ✅ TEST 4: Claude Binary Installed ```bash docker run --rm claude-mcp-test-env which claude ``` **Result**: Claude installed at `/usr/local/bin/claude` - Shows DollhouseMCP v1.9.8 - Shows entrypoint message #### ❌ TEST 5: API Connection ```bash echo "Say exactly: TEST_SUCCESSFUL" | docker run -i --rm -e ANTHROPIC_API_KEY="$ANTHROPIC_API_KEY" claude-mcp-test-env claude --model sonnet ``` **Result**: FAILED - "Invalid API key · Please run /login" #### ✅ TEST 6: API Key Passes to Container ```bash docker run --rm -e ANTHROPIC_API_KEY="$ANTHROPIC_API_KEY" --entrypoint bash claude-mcp-test-env -c 'echo ${ANTHROPIC_API_KEY:0:15}' ``` **Result**: API key is correctly passed: sk-ant-api03-9N... #### ❌ TEST 7: Claude Direct Execution ```bash echo "Say exactly: TEST_SUCCESSFUL" | docker run -i --rm -e ANTHROPIC_API_KEY="$ANTHROPIC_API_KEY" --entrypoint claude claude-mcp-test-env --model sonnet ``` **Result**: FAILED - "Invalid API key · Please run /login" #### ✅ TEST 8: API Key Format ```bash [[ "$ANTHROPIC_API_KEY" =~ ^sk-ant-api03- ]] ``` **Result**: API key format is correct #### ✅ TEST 9: MCP Configuration ```bash docker run --rm --entrypoint cat claude-mcp-test-env /home/claude/.config/claude-code/config.json ``` **Result**: Valid MCP configuration present with DollhouseMCP settings #### ✅ TEST 10: DollhouseMCP Built ```bash docker run --rm --entrypoint ls claude-mcp-test-env -la /app/dollhousemcp/dist/index.js ``` **Result**: index.js exists (785382 bytes) ## Summary of Findings ### What Works: 1. ✅ Docker image builds successfully 2. ✅ Claude Code is installed in the container 3. ✅ DollhouseMCP is built and present 4. ✅ MCP configuration file exists and is valid 5. ✅ API key is passed to the container correctly 6. ✅ Container runs and entrypoint works ### What Fails: 1. ❌ Claude Code reports "Invalid API key" when trying to connect 2. ❌ The `/login` command is mentioned but not documented ### Critical Issue: **Claude Code in the container is not accepting the API key via environment variable** The API key is correctly formatted and passed to the container, but Claude Code v1.0.110 appears to not be reading it from the ANTHROPIC_API_KEY environment variable as expected. It's requesting `/login` instead.

Latest Blog Posts

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/DollhouseMCP/DollhouseMCP'

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