deploy: Trail MCP on k3s (streamable-http, lean + provider variants) - #10
Closed
codemug wants to merge 1 commit into
Closed
deploy: Trail MCP on k3s (streamable-http, lean + provider variants)#10codemug wants to merge 1 commit into
codemug wants to merge 1 commit into
Conversation
- 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>
Owner
Author
|
Not needed — this is local cluster setup; keeping the deploy artifacts untracked locally. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Kubernetes deployment for the Trail MCP server, exposed over Traefik at
http://trail-mcp.ws.local/mcp(streamable-HTTP; dnsmasq wildcards*.ws.localto the LB).Two variants (
deploy/):trail-mcp.yaml— lean image (trail-lang[mcp]only):eval/validate/describe/functions/schema/runover inline{rows}/{file}data.trail-mcp-full.yaml— provider image (Dockerfile.trail-mcp) adding the FMP/EDGAR/GMD adapters, a ConfigMaptrail.yaml, and the host-mounted FMP cache, so{"config":"/config/trail.yaml"}reaches live sources. Credentials come from atrail-mcp-credsSecret created out-of-band (never committed).Verified end-to-end on the cluster: MCP
initialize+tools/call evalreturn over HTTP, and a{config}eval ofmeta.market_capreturns real FMP data (390 rows across the configured universe).Note: the provider image build needs the sibling
trail-py/trail-fmp/trail-edgar/trail-gmdrepos checked out alongside (the workspace layout) — seedeploy/README.md.🤖 Generated with Claude Code