We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Martian-Engineering/claude-team'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
constants.py•2.46 kB
"""
Shared constants for Claude Team MCP tools.
"""
from pathlib import Path
# Default page size for conversation history pagination
CONVERSATION_PAGE_SIZE = 5
# Directory for Codex JSONL output capture
# Codex streams JSONL to stdout; we pipe it through tee to this directory
CODEX_JSONL_DIR = Path.home() / ".claude-team" / "codex"
# Hint appended to messages sent to workers
WORKER_MESSAGE_HINT = "\n\n---\n(Note: Use the `bd_help` tool for guidance on using beads to track progress and add comments.)"
# Condensed beads help text for workers
BEADS_HELP_TEXT = """# Beads Quick Reference
Beads is a lightweight issue tracker. Use it to track progress and communicate with the coordinator.
## Essential Commands
```bash
bd list # List all issues
bd ready # Show unblocked work
bd show <issue-id> # Show issue details
bd update <id> --status in_progress # Mark as in-progress
bd comment <id> "message" # Add progress note (IMPORTANT!)
bd close <id> # Close when complete
```
## Status Values
- `open` - Not started
- `in_progress` - Currently working
- `closed` - Complete
## Priority Levels
- `P0` - Critical
- `P1` - High
- `P2` - Medium
- `P3` - Low
## Types
- `task` - Standard work item
- `bug` - Something broken
- `feature` - New functionality
- `epic` - Large multi-task effort
- `chore` - Maintenance work
## As a Worker
**IMPORTANT**: You should NOT close beads unless explicitly told to. Instead:
1. Mark your issue as in-progress when starting:
```bash
bd update <issue-id> --status in_progress
```
2. Add comments to document your progress:
```bash
bd comment <issue-id> "Completed the API endpoint, now working on tests"
bd comment <issue-id> "Found edge case - handling null values in response"
```
3. When finished, add a final summary comment:
```bash
bd comment <issue-id> "COMPLETE: Implemented feature X. Changes in src/foo.py and tests/test_foo.py. Ready for review."
```
4. The coordinator will review and close the bead.
## Creating New Issues (if needed)
```bash
bd create --title "Bug: X doesn't work" --type bug --priority P1 --description "Details..."
```
## Searching
```bash
bd search "keyword" # Search by text
bd list --status open # Filter by status
bd list --type bug # Filter by type
bd blocked # Show blocked issues
```
"""