Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[CHORE]: Add time server (and configure it post-deploy) to docker-compose.yaml #403

@crivetimihai

Description

@crivetimihai

[CHORE]: Add time server (and configure it post-deploy) to docker-compose.yaml

Description

Add the fast-time-server MCP service to the optional MCP servers section of docker-compose.yaml with automatic post-deployment registration to the MCP Gateway.

Tasks

  • Add fast_time_server service block to OPTIONAL MCP SERVERS section
    • Use image: ghcr.io/ibm/fast-time-server:latest
    • Configure SSE transport mode on port 8888->8080
    • Include in mcpnet network
  • Add register_fast_time one-shot service for automatic registration
    • Install mcp-contextforge-gateway via pip
    • Generate JWT token using mcpgateway.utils.create_jwt_token
    • Wait for fast_time_server health endpoint
    • Register with gateway at http://gateway:4444/gateways
    • Create virtual server with time tools
    • Make idempotent (check for existing registrations)
  • Test deployment with docker-compose up -d fast_time_server register_fast_time
  • Verify registration via gateway API

Acceptance Criteria

  • fast_time_server starts successfully on port 8888
  • Registration completes without errors
  • Service is accessible via MCP Gateway
  • Re-running registration doesn't create duplicates

Metadata

Metadata

Assignees

Labels

choreLinting, formatting, dependency hygiene, or project maintenance chorescicdIssue with CI/CD process (GitHub Actions, scaffolding)devopsDevOps activities (containers, automation, deployment, makefiles, etc)triageIssues / Features awaiting triage

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions