Implements a Model Context Protocol server that exposes SolidTime's time tracking API as 22+ tools for use with Claude, Cursor, and other MCP-compatible clients. Supports stdio and HTTP transport modes, Docker deployment, and self-hosted SolidTime instances. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
18 lines
545 B
YAML
18 lines
545 B
YAML
services:
|
|
solidtime-mcp:
|
|
build: .
|
|
ports:
|
|
- "${PORT:-3000}:3000"
|
|
environment:
|
|
- PORT=3000
|
|
# Optional: default SolidTime API URL for all sessions.
|
|
# Clients can override this via the x-solidtime-api-url header.
|
|
- SOLIDTIME_API_URL=${SOLIDTIME_API_URL:-https://app.solidtime.io}
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/health"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 10s
|