toolshed

package module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2026 License: MIT Imports: 1 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

⚒ toolshed

Add any MCP server to Claude Code and Codex in seconds.
One TUI, one command, secrets in your keychain instead of your dotfiles.

toolshed demo


Connecting an agent to a new tool usually means finding the right JSON snippet, pasting an API token into a config file, doing it again for the other client, and hoping the server actually starts.

toolshed does that part for you:

  • Add anything. An npm or Python package, any CLI that speaks MCP, or a remote URL. toolshed add starts the server right away and shows you the tools it offers, so you know it works before your agent tries it.
  • Install everywhere. One keypress registers the tool with Claude Code and Codex, for every project or just the current repo.
  • Keep secrets secret. API tokens go to the macOS Keychain or Linux Secret Service. Your agent's config only says toolshed exec jira, and the token is injected when the server starts.
  • Let your agent do it. toolshed mcp is itself an MCP server: ask Claude to "add the Playwright server for this repo" and it finds and adds it. You approve what it will run with one keypress, and it checks and installs it. Secrets are never passed through the chat; it sends you to the TUI for those.
  • Share a toolbox. Your tools live in one small YAML file. Commit it, and your team gets the same setup with toolshed install.

Install

brew install bartdegoede/tap/toolshed

or with Go (1.26 or newer):

go install github.com/bartdegoede/toolshed/cmd/toolshed@latest

Prebuilt binaries for macOS and Linux are on the releases page.

You need Claude Code and/or Codex on your PATH. macOS and Linux.

Quickstart

toolshed

That's the whole interface: browse the examples, press a to add your own, i to install, t to see a server's tools live.

Prefer the command line?

toolshed add memory --npx @modelcontextprotocol/server-memory
#  ✓ Added memory
#  ✓ memory offers 9 tools
#      create_entities   Create multiple new entities in the knowledge graph
#      …

toolshed install memory
#  ✓ memory → claude, codex

More ways to add tools:

toolshed add fetch  --uvx mcp-server-fetch                     # Python package
toolshed add docs   --url https://mcp.context7.com/mcp         # remote server
toolshed add jira   --secret JIRA_TOKEN -- jira-mcp --site acme  # any command, with a secret

Let your agent manage its tools

toolshed install toolshed     # registers `toolshed mcp` with Claude Code / Codex

Then just ask:

Add the Playwright MCP server, check it starts, and install it for this repo.

The agent gets list_servers, inspect_server, add_server, install_server and uninstall_server. New servers load the next time the client reconnects (/mcp in Claude Code).

A server the agent adds is pending until you approve it: toolshed won't start or install it before you've seen the command it runs. Approve it with toolshed approve <id>, or select it in toolshed and press i. The agent also can't replace a tool you already have, so it can never point an existing tool (and its secrets) at a different command.

Commands

toolshed Interactive TUI
toolshed add <id> … Add a tool (--npx, --uvx, --url, or -- <command>)
toolshed install <id>… Install into Claude Code and Codex (--project for this repo only)
toolshed uninstall <id>… Remove from the clients (--purge also deletes secrets)
toolshed tools <id> Start a server and list its tools
toolshed list Everything, and where it's installed (--json)
toolshed update Re-register installed tools after editing the registry
toolshed approve <id> Review and allow a tool your agent added
toolshed remove <id> Uninstall and delete from your toolshed
toolshed edit Open your registry in $EDITOR
toolshed mcp Serve toolshed to your agent over MCP

Your registry

toolshed add writes to ~/.toolshed/registry.yaml:

tools:
  - id: jira
    command: jira-mcp
    args: [--site, acme]
    inputs:
      - key: JIRA_TOKEN
        secret: true

See docs/registry.md for every option, team sharing, and exactly how secrets are handled.

Build your own server

examples/ping-mcp is a complete, genuinely useful MCP server in about 110 lines of Go: it sends push notifications to your phone ("run the migration and ping me when it's done"). Copy it, add your tools, then toolshed add mine -- my-server.

Development

just test       # unit tests
just test-e2e   # end to end: real binary + real server, mock claude/codex
just lint

License

MIT

Documentation

Overview

Package toolshed exposes build-time assets for the toolshed CLI.

The only asset today is the default registry: registry.yaml at the repository root is compiled into the binary so a fresh install works with zero configuration. Forks customise their catalog by editing that file; end users can override it at runtime (see internal/mcp/load.go).

Index

Constants

This section is empty.

Variables

View Source
var DefaultRegistry []byte

DefaultRegistry is the contents of registry.yaml, embedded at build time.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
cmd
toolshed command
toolshed is a package manager for Model Context Protocol servers used by Claude Code and Codex.
toolshed is a package manager for Model Context Protocol servers used by Claude Code and Codex.
internal
cli
Package cli implements toolshed's command line.
Package cli implements toolshed's command line.
clients
Package clients registers MCP servers with Claude Code and Codex, and reads back what each client currently has configured.
Package clients registers MCP servers with Claude Code and Codex, and reads back what each client currently has configured.
registry
Package registry loads, validates and edits toolshed's catalog of tools.
Package registry loads, validates and edits toolshed's catalog of tools.
secrets
Package secrets stores tool secrets in the OS keyring (macOS Keychain or Linux Secret Service) under service "toolshed", account "<group>/<KEY>".
Package secrets stores tool secrets in the OS keyring (macOS Keychain or Linux Secret Service) under service "toolshed", account "<group>/<KEY>".
shed
Package shed implements toolshed's operations (install, uninstall, exec, probe) on top of the registry, the client adapters and the keyring.
Package shed implements toolshed's operations (install, uninstall, exec, probe) on top of the registry, the client adapters and the keyring.
tui
Package tui is toolshed's interactive terminal UI: a split-pane list of tools with inline add / install / uninstall / probe actions.
Package tui is toolshed's interactive terminal UI: a split-pane list of tools with inline add / install / uninstall / probe actions.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL