Skip to content

deploy: Trail MCP on k3s (streamable-http, lean + provider variants) - #10

Closed
codemug wants to merge 1 commit into
mainfrom
feat/trail-mcp-deploy
Closed

deploy: Trail MCP on k3s (streamable-http, lean + provider variants)#10
codemug wants to merge 1 commit into
mainfrom
feat/trail-mcp-deploy

Conversation

@codemug

@codemug codemug commented Jul 19, 2026

Copy link
Copy Markdown
Owner

Kubernetes deployment for the Trail MCP server, exposed over Traefik at http://trail-mcp.ws.local/mcp (streamable-HTTP; dnsmasq wildcards *.ws.local to the LB).

Two variants (deploy/):

  • trail-mcp.yaml — lean image (trail-lang[mcp] only): eval/validate/describe/functions/schema/run over inline {rows} / {file} data.
  • trail-mcp-full.yaml — provider image (Dockerfile.trail-mcp) adding the FMP/EDGAR/GMD adapters, a ConfigMap trail.yaml, and the host-mounted FMP cache, so {"config":"/config/trail.yaml"} reaches live sources. Credentials come from a trail-mcp-creds Secret created out-of-band (never committed).

Verified end-to-end on the cluster: MCP initialize + tools/call eval return over HTTP, and a {config} eval of meta.market_cap returns real FMP data (390 rows across the configured universe).

Note: the provider image build needs the sibling trail-py/trail-fmp/trail-edgar/trail-gmd repos checked out alongside (the workspace layout) — see deploy/README.md.

🤖 Generated with Claude Code

- deploy/trail-mcp.yaml         lean image (trail-lang[mcp] only) for inline/file data
- deploy/trail-mcp-full.yaml    provider image + ConfigMap trail.yaml + host FMP cache for live {config}
- deploy/Dockerfile.trail-mcp   provider image (trail-lang + FMP/EDGAR/GMD adapters)
- deploy/README.md              build/deploy/use guide

Exposed via Traefik at http://trail-mcp.ws.local/mcp (dnsmasq *.ws.local -> LB).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@codemug

codemug commented Jul 19, 2026

Copy link
Copy Markdown
Owner Author

Not needed — this is local cluster setup; keeping the deploy artifacts untracked locally.

@codemug codemug closed this Jul 19, 2026
@codemug
codemug deleted the feat/trail-mcp-deploy branch July 19, 2026 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant