Error: could not find templates directory for SDK: ts
brew upgrade mcp didn't create templates/ for me even though it logged templates have been installed to ~/.mcpt/templates/. I also tried uninstalling and installing from scratch which also didn't work.
alperen β test-mcp brew upgrade mcp
==> Upgrading 1 outdated package:
f/mcptools/mcp 0.3.5 -> 0.3.6.1
==> Fetching f/mcptools/mcp
==> Downloading https://github.com/f/mcptools/archive/refs/tags/v0.3.6.1.tar.gz
==> Downloading from https://codeload.github.com/f/mcptools/tar.gz/refs/tags/v0.3.6.1
-=O=- # # # #
==> Upgrading f/mcptools/mcp
0.3.5 -> 0.3.6.1
==> go build -ldflags=-s -w -X main.Version=0.3.6.1 ./cmd/mcptools
==> make templates
==> Caveats
MCP Tools has been installed as "mcp" and "mcpt".
Templates have been installed to ~/.mcpt/templates/
==> Summary
πΊ /usr/local/Cellar/mcp/0.3.6.1: 7 files, 7.6MB, built in 4 seconds
==> Running `brew cleanup mcp`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
Removing: /usr/local/Cellar/mcp/0.3.5... (7 files, 7.6MB)
Removing: /Users/alperen/Library/Caches/Homebrew/mcp--0.3.5.tar.gz... (2.6MB)
alperen β test-mcp ls ~/.mcpt/
aliases.json
alperen β test-mcp mcp new tool:calculate resource:file prompt:greet
Error: could not find templates directory for SDK: ts
I also tried ls ~/.mcputils but no luck.
Can you brew upgrade? make templates was working wrong, now fixed.
Unfortunately, it still doesn't work π
Did you install using Brew or from the source?
I installed using, brew here are the commands I run for 3.6.2 (not so different from above though):
alperen β ~ brew tap f/mcptools
==> Tapping f/mcptools
Cloning into '/usr/local/Homebrew/Library/Taps/f/homebrew-mcptools'...
remote: Enumerating objects: 85, done.
remote: Counting objects: 100% (85/85), done.
remote: Compressing objects: 100% (77/77), done.
remote: Total 85 (delta 26), reused 0 (delta 0), pack-reused 0 (from 0)
Receiving objects: 100% (85/85), 28.44 KiB | 5.69 MiB/s, done.
Resolving deltas: 100% (26/26), done.
Tapped 1 formula (14 files, 36.4KB).
alperen β ~ brew install mcp
==> Downloading https://formulae.brew.sh/api/formula.jws.json
==> Downloading https://formulae.brew.sh/api/cask.jws.json
==> Fetching f/mcptools/mcp
==> Downloading https://github.com/f/mcptools/archive/refs/tags/v0.3.6.2.tar.gz
Already downloaded: /Users/alperen/Library/Caches/Homebrew/downloads/16b43cee18b9604ec3579f558383a7a6947ddc2815cdc3d8b8c780de356baf6e--mcptools-0.3.6.2.tar.gz
==> Installing mcp from f/mcptools
==> go build -ldflags=-s -w -X main.Version=0.3.6.2 ./cmd/mcptools
==> make install-templates
==> Caveats
MCP Tools has been installed as "mcp" and "mcpt".
Templates have been installed to ~/.mcpt/templates/
==> Summary
πΊ /usr/local/Cellar/mcp/0.3.6.2: 7 files, 7.6MB, built in 4 seconds
==> Running `brew cleanup mcp`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
alperen β ~ ls ~/.mcpt/
aliases.json
alperen β ~ mcp new tool:calculate resource:file prompt:greet
Error: could not find templates directory for SDK: ts
@ayakut16 This should be fixed with v0.4.0
Works like a charmβ‘ Great feature thank you !