tool-mcp

Install MCP bridge tools for AI assistant integration - standalone binaries, no containers required

Recipaie - 部署配方

描述如何部署此服务的模板。

原始 JSON
{
  "$schema": "https://recipaie.com/schemas/recipaie.schema.json",
  "name": "tool-mcp",
  "version": "1.0.0",
  "description": "Install MCP bridge tools for AI assistant integration - standalone binaries, no containers required",
  "prerequisites": [
    "Linux, macOS, or Windows with WSL",
    "curl or wget for downloading",
    "Claude Code, Claude Desktop, or Codex installed (for MCP client registration)"
  ],
  "steps": [
    {
      "order": 1,
      "what": "Create local bin directory",
      "why": "MCP tools install as standalone binaries in user's local bin",
      "when": "First installation of any tool-mcp client",
      "skip_if": "~/.local/bin directory already exists",
      "how": "mkdir -p ~/.local/bin",
      "verify": "ls -la ~/.local/bin exists"
    },
    {
      "order": 2,
      "what": "Add local bin to PATH",
      "why": "Ensures binaries are accessible from command line",
      "when": "If ~/.local/bin is not in PATH",
      "skip_if": "echo $PATH | grep -q '.local/bin'",
      "how": "Add 'export PATH=\"$HOME/.local/bin:$PATH\"' to ~/.bashrc or ~/.zshrc",
      "verify": "which pubdoc returns ~/.local/bin/pubdoc after shell restart",
      "comments": [
        "On macOS with zsh: add to ~/.zshrc",
        "On Linux with bash: add to ~/.bashrc",
        "On Windows WSL: add to ~/.bashrc"
      ]
    },
    {
      "order": 3,
      "what": "Download the MCP client binary",
      "why": "Each tool (pubdoc, publog, pubtask, etc.) is a separate binary",
      "when": "Installing a new MCP client or updating",
      "skip_if": "Current version matches latest (check with: pubdoc --version)",
      "how": "Download from https://binary.dixt.io - use 'make install pubdoc' from tool-mcp repo, or download binary directly for your platform (linux-amd64, darwin-arm64, etc.)",
      "verify": "pubdoc --version shows version number",
      "comments": [
        "Available clients: pubdoc, publog, pubtask, pubchk, pubmem, pubvol, pubbin",
        "Binaries are ~6-8MB each with embedded configuration",
        "Auto-updates every 24 hours from binary.dixt.io"
      ]
    },
    {
      "order": 4,
      "what": "Register with MCP clients",
      "why": "Adds the tool to Claude Code/Desktop/Codex configuration",
      "when": "After binary is installed",
      "skip_if": "Tool already registered (check ~/.claude.json or claude mcp list)",
      "how": "pubdoc register",
      "verify": "claude mcp list shows pubdoc",
      "comments": [
        "Registration modifies ~/.claude.json for Claude Code",
        "Also registers with Codex if installed",
        "Use 'pubdoc unregister' to remove"
      ]
    },
    {
      "order": 5,
      "what": "Verify MCP connection",
      "why": "Confirms the tool can communicate with remote MCP server",
      "when": "After registration",
      "how": "pubdoc --tool tool_status",
      "verify": "Response shows version, username, and connection status"
    }
  ],
  "step_count": 5
}
版本: 1.0.0
步骤数: 5

前置条件

步骤

1 Create local bin directory
为什么
MCP tools install as standalone binaries in user's local bin
何时做
First installation of any tool-mcp client
何时跳过
~/.local/bin directory already exists
如何做
mkdir -p ~/.local/bin
验证
ls -la ~/.local/bin exists
2 Add local bin to PATH
为什么
Ensures binaries are accessible from command line
何时做
If ~/.local/bin is not in PATH
何时跳过
echo $PATH | grep -q '.local/bin'
如何做
Add 'export PATH="$HOME/.local/bin:$PATH"' to ~/.bashrc or ~/.zshrc
验证
which pubdoc returns ~/.local/bin/pubdoc after shell restart
备注
  • On macOS with zsh: add to ~/.zshrc
  • On Linux with bash: add to ~/.bashrc
  • On Windows WSL: add to ~/.bashrc
3 Download the MCP client binary
为什么
Each tool (pubdoc, publog, pubtask, etc.) is a separate binary
何时做
Installing a new MCP client or updating
何时跳过
Current version matches latest (check with: pubdoc --version)
如何做
Download from https://binary.dixt.io - use 'make install pubdoc' from tool-mcp repo, or download binary directly for your platform (linux-amd64, darwin-arm64, etc.)
验证
pubdoc --version shows version number
备注
  • Available clients: pubdoc, publog, pubtask, pubchk, pubmem, pubvol, pubbin
  • Binaries are ~6-8MB each with embedded configuration
  • Auto-updates every 24 hours from binary.dixt.io
4 Register with MCP clients
为什么
Adds the tool to Claude Code/Desktop/Codex configuration
何时做
After binary is installed
何时跳过
Tool already registered (check ~/.claude.json or claude mcp list)
如何做
pubdoc register
验证
claude mcp list shows pubdoc
备注
  • Registration modifies ~/.claude.json for Claude Code
  • Also registers with Codex if installed
  • Use 'pubdoc unregister' to remove
5 Verify MCP connection
为什么
Confirms the tool can communicate with remote MCP server
何时做
After registration
如何做
pubdoc --tool tool_status
验证
Response shows version, username, and connection status

Prodaie - 执行记录

AI 在不同环境中执行这份配方时发生了什么。

关键区别: 每一步都会增加

success

(bool)和

details

(string)字段,用于记录实际发生了什么。

原始 JSON
{
  "$schema": "https://recipaie.com/schemas/prodaie.schema.json",
  "name": "tool-mcp",
  "description": "Deployment record showing MCP tool installation across different platforms and common issues encountered",
  "prerequisites": [
    "Linux, macOS, or Windows with WSL",
    "curl or wget for downloading",
    "Claude Code, Claude Desktop, or compatible MCP client"
  ],
  "locations": [
    {
      "path": "macOS (Apple Silicon)",
      "description": "MacBook with M1/M2/M3 chip",
      "status": "complete",
      "step_count": 5,
      "steps": [
        {
          "order": 1,
          "what": "Create local bin directory",
          "why": "MCP tools install as standalone binaries in user's local bin",
          "when": "First installation of any MCP tool",
          "skip_if": "~/.local/bin directory already exists",
          "how": "mkdir -p ~/.local/bin",
          "verify": "ls -la ~/.local/bin exists",
          "success": true,
          "details": "created ~/.local/bin"
        },
        {
          "order": 2,
          "what": "Add local bin to PATH",
          "why": "Ensures binaries are accessible from command line",
          "when": "If ~/.local/bin is not in PATH",
          "skip_if": "echo $PATH | grep -q '.local/bin'",
          "how": "echo 'export PATH=\"$HOME/.local/bin:$PATH\"' >> ~/.zshrc && source ~/.zshrc",
          "verify": "echo $PATH | grep '.local/bin'",
          "success": true,
          "details": "added to ~/.zshrc, reloaded shell"
        },
        {
          "order": 3,
          "what": "Download the MCP client binary",
          "why": "Each MCP tool is a separate binary optimized for your platform",
          "when": "Installing a new MCP client or updating",
          "skip_if": "Current version matches latest",
          "how": "curl -LO https://example.com/mcp-tool/darwin-arm64 && chmod +x mcp-tool && mv mcp-tool ~/.local/bin/",
          "verify": "mcp-tool --version shows version number",
          "success": true,
          "details": "downloaded darwin-arm64 binary, v0.15.2"
        },
        {
          "order": 4,
          "what": "Register with MCP client",
          "why": "Adds the tool to Claude Code/Desktop configuration",
          "when": "After binary is installed",
          "skip_if": "Tool already registered in ~/.claude.json",
          "how": "mcp-tool register",
          "verify": "claude mcp list shows the tool",
          "success": true,
          "details": "registered, appears in claude mcp list"
        },
        {
          "order": 5,
          "what": "Verify MCP connection",
          "why": "Confirms the tool can communicate with remote server",
          "when": "After registration",
          "how": "mcp-tool --tool tool_status",
          "verify": "Response shows version and connection status",
          "success": true,
          "details": "connection verified, auto-update enabled"
        }
      ]
    },
    {
      "path": "Ubuntu 22.04 (WSL2)",
      "description": "Windows Subsystem for Linux - common enterprise setup",
      "status": "complete",
      "step_count": 5,
      "steps": [
        {
          "order": 1,
          "what": "Create local bin directory",
          "why": "MCP tools install as standalone binaries",
          "when": "First installation",
          "skip_if": "~/.local/bin exists",
          "how": "mkdir -p ~/.local/bin",
          "verify": "Directory exists",
          "success": true,
          "details": "created ~/.local/bin"
        },
        {
          "order": 2,
          "what": "Add local bin to PATH",
          "why": "Ensures binaries are accessible",
          "when": "If not in PATH",
          "skip_if": "Already in PATH",
          "how": "echo 'export PATH=\"$HOME/.local/bin:$PATH\"' >> ~/.bashrc",
          "verify": "Path includes .local/bin",
          "success": true,
          "details": "added to ~/.bashrc, opened new terminal to verify"
        },
        {
          "order": 3,
          "what": "Download the MCP client binary",
          "why": "Each tool is a separate binary",
          "when": "Installing or updating",
          "skip_if": "Version matches latest",
          "how": "curl -LO https://example.com/mcp-tool/linux-amd64",
          "verify": "mcp-tool --version works",
          "success": true,
          "details": "downloaded linux-amd64, had to run chmod +x first"
        },
        {
          "order": 4,
          "what": "Register with MCP client",
          "why": "Adds tool to configuration",
          "when": "After install",
          "skip_if": "Already registered",
          "how": "mcp-tool register",
          "verify": "Tool listed",
          "success": true,
          "details": "registration updated ~/.claude.json in Windows home via symlink"
        },
        {
          "order": 5,
          "what": "Verify MCP connection",
          "why": "Confirms communication works",
          "when": "After registration",
          "how": "mcp-tool --tool tool_status",
          "verify": "Shows connection status",
          "success": true,
          "details": "working, note: WSL network sometimes needs wsl --shutdown to reset"
        }
      ]
    },
    {
      "path": "Debian (ARM64 server)",
      "description": "Headless ARM server - Raspberry Pi or cloud ARM instance",
      "status": "partial",
      "step_count": 5,
      "steps": [
        {
          "order": 1,
          "what": "Create local bin directory",
          "why": "MCP tools install as standalone binaries",
          "when": "First installation",
          "skip_if": "Directory exists",
          "how": "mkdir -p ~/.local/bin",
          "verify": "Directory exists",
          "success": true,
          "details": "created ~/.local/bin"
        },
        {
          "order": 2,
          "what": "Add local bin to PATH",
          "why": "Ensures binaries are accessible",
          "when": "If not in PATH",
          "skip_if": "Already in PATH",
          "how": "Add to ~/.bashrc",
          "verify": "Path verified",
          "success": true,
          "details": "added export, sourced bashrc"
        },
        {
          "order": 3,
          "what": "Download the MCP client binary",
          "why": "Each tool is a separate binary",
          "when": "Installing or updating",
          "skip_if": "Version matches",
          "how": "Download linux-arm64 binary",
          "verify": "Binary runs",
          "success": true,
          "details": "downloaded linux-arm64, chmod +x applied"
        },
        {
          "order": 4,
          "what": "Register with MCP client",
          "why": "Adds tool to configuration",
          "when": "After install",
          "skip_if": "Headless server - no GUI client",
          "how": "Skip registration for headless use",
          "verify": "Direct invocation works",
          "success": true,
          "details": "headless server, using direct API invocation instead of registration"
        },
        {
          "order": 5,
          "what": "Verify MCP connection",
          "why": "Confirms communication works",
          "when": "After setup",
          "how": "mcp-tool --tool tool_status",
          "verify": "Shows connection status",
          "success": false,
          "details": "connection timeout, firewall blocking outbound HTTPS on port 443",
          "comments": [
            "Firewall issue resolved by adding outbound HTTPS rule",
            "ARM64 binaries work on Raspberry Pi 4/5 and AWS Graviton instances"
          ]
        }
      ]
    }
  ]
}
安装位置: 3

安装位置

macOS (Apple Silicon) complete

MacBook with M1/M2/M3 chip

步骤数: 5
1 Create local bin directory
为什么
MCP tools install as standalone binaries in user's local bin
何时做
First installation of any MCP tool
何时跳过
~/.local/bin directory already exists
如何做
mkdir -p ~/.local/bin
验证
ls -la ~/.local/bin exists
结果
created ~/.local/bin
2 Add local bin to PATH
为什么
Ensures binaries are accessible from command line
何时做
If ~/.local/bin is not in PATH
何时跳过
echo $PATH | grep -q '.local/bin'
如何做
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc && source ~/.zshrc
验证
echo $PATH | grep '.local/bin'
结果
added to ~/.zshrc, reloaded shell
3 Download the MCP client binary
为什么
Each MCP tool is a separate binary optimized for your platform
何时做
Installing a new MCP client or updating
何时跳过
Current version matches latest
如何做
curl -LO https://example.com/mcp-tool/darwin-arm64 && chmod +x mcp-tool && mv mcp-tool ~/.local/bin/
验证
mcp-tool --version shows version number
结果
downloaded darwin-arm64 binary, v0.15.2
4 Register with MCP client
为什么
Adds the tool to Claude Code/Desktop configuration
何时做
After binary is installed
何时跳过
Tool already registered in ~/.claude.json
如何做
mcp-tool register
验证
claude mcp list shows the tool
结果
registered, appears in claude mcp list
5 Verify MCP connection
为什么
Confirms the tool can communicate with remote server
何时做
After registration
如何做
mcp-tool --tool tool_status
验证
Response shows version and connection status
结果
connection verified, auto-update enabled
Ubuntu 22.04 (WSL2) complete

Windows Subsystem for Linux - common enterprise setup

步骤数: 5
1 Create local bin directory
为什么
MCP tools install as standalone binaries
何时做
First installation
何时跳过
~/.local/bin exists
如何做
mkdir -p ~/.local/bin
验证
Directory exists
结果
created ~/.local/bin
2 Add local bin to PATH
为什么
Ensures binaries are accessible
何时做
If not in PATH
何时跳过
Already in PATH
如何做
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
验证
Path includes .local/bin
结果
added to ~/.bashrc, opened new terminal to verify
3 Download the MCP client binary
为什么
Each tool is a separate binary
何时做
Installing or updating
何时跳过
Version matches latest
如何做
curl -LO https://example.com/mcp-tool/linux-amd64
验证
mcp-tool --version works
结果
downloaded linux-amd64, had to run chmod +x first
4 Register with MCP client
为什么
Adds tool to configuration
何时做
After install
何时跳过
Already registered
如何做
mcp-tool register
验证
Tool listed
结果
registration updated ~/.claude.json in Windows home via symlink
5 Verify MCP connection
为什么
Confirms communication works
何时做
After registration
如何做
mcp-tool --tool tool_status
验证
Shows connection status
结果
working, note: WSL network sometimes needs wsl --shutdown to reset
Debian (ARM64 server) partial

Headless ARM server - Raspberry Pi or cloud ARM instance

步骤数: 5
1 Create local bin directory
为什么
MCP tools install as standalone binaries
何时做
First installation
何时跳过
Directory exists
如何做
mkdir -p ~/.local/bin
验证
Directory exists
结果
created ~/.local/bin
2 Add local bin to PATH
为什么
Ensures binaries are accessible
何时做
If not in PATH
何时跳过
Already in PATH
如何做
Add to ~/.bashrc
验证
Path verified
结果
added export, sourced bashrc
3 Download the MCP client binary
为什么
Each tool is a separate binary
何时做
Installing or updating
何时跳过
Version matches
如何做
Download linux-arm64 binary
验证
Binary runs
结果
downloaded linux-arm64, chmod +x applied
4 Register with MCP client
为什么
Adds tool to configuration
何时做
After install
何时跳过
Headless server - no GUI client
如何做
Skip registration for headless use
验证
Direct invocation works
结果
headless server, using direct API invocation instead of registration
5 Verify MCP connection
为什么
Confirms communication works
何时做
After setup
如何做
mcp-tool --tool tool_status
验证
Shows connection status
结果
connection timeout, firewall blocking outbound HTTPS on port 443
备注
  • Firewall issue resolved by adding outbound HTTPS rule
  • ARM64 binaries work on Raspberry Pi 4/5 and AWS Graviton instances