[{'Text': 'Found 9 matches:\n\n## Matches in point-topic-mcp/AGENTS.md\n\n### # Key Design Patterns › ## 5. Permission Middleware (Three-Tier Access) › L189-194\n```\n| Level | What They See |\n|-------|--------------|\n| **Unauthenticated** | Only `@public` tools (stdio: admin via ADMIN_API_KEY) |\n| **Authenticated** | `@public` + tools matching their `@requires_permissions` |\n| **ptAdmin** | All tools |\n\n```\n\n### # Key Design Patterns › ## 5. Permission Middleware (Three-Tier Access) › L195-196\n```\nStdio mode: `ADMIN_API_KEY` grants ptAdmin. HTTP mode: Auth0 JWT.\n\n```\n\n### # Environment Variables › L303-307\n```\n| `AUTH0_AUDIENCE` | server_http | Default: `https://point-topic-mcp.fastmcp.app/` |\n| `MCP_BASE_URL` | server_http | Public server URL |\n| `ADMIN_API_KEY` | stdio auth | Grants ptAdmin in local mode |\n\n# Adding New Features\n```\n\n## Matches in point-topic-mcp/src/point_topic_mcp/auth/middleware.py\n\n### def get_user_permissions › L74-79\n```\n        pass\n\n    # Stdio (server_local): no JWT. ADMIN_API_KEY is the auth - required for full access.\n    if os.getenv("ADMIN_API_KEY"):\n        return ["ptAdmin"]\n\n```\n\n## Matches in point-topic-mcp/src/point_topic_mcp/tools/server_info_tools.py\n\n### L33-37\n```\n#         Server information including name, version, and auth status\n#     """\n#     admin_key_set = bool(os.getenv("ADMIN_API_KEY"))\n\n#     return {\n```\n\n## Matches in point-topic-mcp/troubleshooting_report.md\n\n### # Point Topic MCP Server Troubleshooting Report › ## Timeline of Issues & Solutions › ### Environment Variables Not Passed to Production › L21-26\n```\n  - Only basic tools available (server info tools)\n  - Missing ADMIN_API_KEY meant admin tools not enabled\n  - Missing database credentials meant Snowflake tools unavailable\n  - Missing API keys meant GitHub/Chart tools unavailable\n\n- **Root Cause**: Claude Desktop configuration missing environment variables\n```\n\n### # Point Topic MCP Server Troubleshooting Report › ## Final Working Configuration › ### Environment Variables Now Included › L42-43\n```\n- ✅ ADMIN_API_KEY (enables all admin tools)\n- ✅ SNOWFLAKE_USER & SNOWFLAKE_PASSWORD (enables database tools) \n```\n\n### # Point Topic MCP Server Troubleshooting Report › ## Final Working Configuration › ### Key Lessons Learned › L51-52\n```\n3. **ADMIN_API_KEY presence determines whether all tools are available**\n4. **pyproject.toml dependencies work correctly** - the `--with` flags are for additional runtime dependencies not declared in the project\n```\n\n### # Point Topic MCP Server Troubleshooting Report › ## Current Status: ✅ RESOLVED › L57-58\n```\n- All tools should now be available when ADMIN_API_KEY is present\n- Dependencies properly managed through pyproject.toml\n```\n'}]