File tree Expand file tree Collapse file tree 2 files changed +47
-2
lines changed
Expand file tree Collapse file tree 2 files changed +47
-2
lines changed Original file line number Diff line number Diff line change 1515 - uses : actions/checkout@v4
1616
1717 - name : Setup FTL CLI with Dependencies
18- uses : fastertools/actions/ftl-setup@9fa4e942f52c57214fdb4525fc3accb0f6fdac2d
18+ uses : fastertools/actions/ftl-setup@7bc25ef3116c47fcd6ebbcc23aaff2b0bae3d0d3
19+ with :
20+ use-cache : false
1921
2022 - name : Install Rust
2123 uses : dtolnay/rust-toolchain@stable
2628 run : ls -al && ftl build --export spin --export-out ./spin.toml && cat spin.toml && cat ftl.toml && ftl build
2729
2830 - name : Start FTL Server
29- uses : fastertools/actions/ftl-server-up@9fa4e942f52c57214fdb4525fc3accb0f6fdac2d
31+ uses : fastertools/actions/ftl-server-up@7bc25ef3116c47fcd6ebbcc23aaff2b0bae3d0d3
3032 with :
3133 port : 3000
3234 timeout : 30
Original file line number Diff line number Diff line change 1+ spin_manifest_version = 2
2+
3+ [application ]
4+ name = " whs"
5+ version = " 0.1.0"
6+ description = " FTL MCP server for hosting MCP tools"
7+
8+ [variables ]
9+ tool_components = { default = " think" }
10+ auth_enabled = { default = " false" }
11+
12+ [component ]
13+
14+ [component .think ]
15+ source = " think/target/wasm32-wasip1/release/think.wasm"
16+ dependencies_inherit_configuration = false
17+
18+ [component .think .build ]
19+ command = " make build"
20+ workdir = " think"
21+ watch = [" src/**/*.rs" , " Cargo.toml" ]
22+
23+ [component .mcp ]
24+ allowed_outbound_hosts = [" http://*.spin.internal" ]
25+ dependencies_inherit_configuration = false
26+
27+ [component .mcp .source ]
28+ registry = " ghcr.io"
29+ package = " fastertools:mcp-gateway"
30+ version = " 0.0.10"
31+
32+ [component .mcp .variables ]
33+ tool_components = " {{ tool_components }}"
34+ validate_arguments = " false"
35+
36+ [[trigger .http ]]
37+ route = " /..."
38+ component = " mcp"
39+
40+ [[trigger .http ]]
41+ route = { private = true }
42+ component = " think"
43+
You can’t perform that action at this time.
0 commit comments