MCP Toolbox

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

mcp-toolbox

A comprehensive toolkit for enhancing LLM capabilities through the Model Context Protocol (MCP). This package provides a collection of tools that allow LLMs to interact with external services and APIs, extending their functionality beyond text generation.

Features

*nix is our main target, but Windows should work too.

  • Command Line Execution: Execute any command line instruction through LLM
  • Figma Integration: Access Figma files, components, styles, and more
  • Extensible Architecture: Easily add new API integrations
  • MCP Protocol Support: Compatible with Claude Desktop and other MCP-enabled LLMs
  • Comprehensive Testing: Well-tested codebase with high test coverage

Installation

We recommend using uv to manage your environment.

# Install uv curl -LsSf https://astral.sh/uv/install.sh | sh # For macOS/Linux # or powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" # For Windows

Then you can use uvx mcp-toolbox@latest stdio as commands for running the MCP server for latest version.

Installing via Smithery

To install Toolbox for LLM Enhancement for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @ai-zerolab/mcp-toolbox --client claude

Using pip

pip install mcp-toolbox

And you can use mcp-toolbox stdio as commands for running the MCP server.

Configuration

Environment Variables

The following environment variables can be configured:

  • FIGMA_API_KEY: API key for Figma integration

Claude Desktop Configuration

To use mcp-toolbox with Claude Desktop, add the following to your Claude Desktop configuration file:

{ "mcpServers": { "zerolab-toolbox": { "command": "uvx", "args": ["mcp-toolbox@latest", "stdio"], "env": { "FIGMA_API_KEY": "your-figma-api-key" } } } }

You can generate a debug configuration template using:

uv run generate_config_template.py

Available Tools

Command Line Tools

ToolDescription
execute_commandExecute a command line instruction

File Operations Tools

ToolDescription
read_file_contentRead content from a file
write_file_contentWrite content to a file
replace_in_fileReplace content in a file using regular expressions
list_directoryList directory contents with detailed information

Figma Tools

ToolDescription
figma_get_fileGet a Figma file by key
figma_get_file_nodesGet specific nodes from a Figma file
figma_get_imageGet images for nodes in a Figma file
figma_get_image_fillsGet URLs for images used in a Figma file
figma_get_commentsGet comments on a Figma file
figma_post_commentPost a comment on a Figma file
figma_delete_commentDelete a comment from a Figma file
figma_get_team_projectsGet projects for a team
figma_get_project_filesGet files for a project
figma_get_team_componentsGet components for a team
figma_get_file_componentsGet components from a file
figma_get_componentGet a component by key
figma_get_team_component_setsGet component sets for a team
figma_get_team_stylesGet styles for a team
figma_get_file_stylesGet styles from a file
figma_get_styleGet a style by key

XiaoyuZhouFM Tools

ToolDescription
xiaoyuzhoufm_downloadDownload a podcast episode from XiaoyuZhouFM with optional automatic m4a to mp3 conversion

Audio Tools

ToolDescription
get_audio_lengthGet the length of an audio file in seconds
get_audio_textGet transcribed text from a specific time range in an audio file

Usage Examples

Running the MCP Server

# Run with stdio transport (default) mcp-toolbox stdio # Run with SSE transport mcp-toolbox sse --host localhost --port 9871

Using with Claude Desktop

  1. Configure Claude Desktop as shown in the Configuration section
  2. Start Claude Desktop
  3. Ask Claude to interact with Figma files:
    • "Can you get information about this Figma file: 12345abcde?"
    • "Show me the components in this Figma file: 12345abcde"
    • "Get the comments from this Figma file: 12345abcde"
  4. Ask Claude to execute command line instructions:
    • "What files are in the current directory?"
    • "What's the current system time?"
    • "Show me the contents of a specific file."
  5. Ask Claude to download podcasts from XiaoyuZhouFM:
  6. Ask Claude to work with audio files:
    • "What's the length of this audio file: audio.m4a?"
    • "Transcribe the audio from 60 to 90 seconds in audio.m4a"
    • "Get the text from 2:30 to 3:00 in the audio file"

Development

Local Setup

Fork the repository and clone it to your local machine.

# Install in development mode make install # Activate a virtual environment source .venv/bin/activate # For macOS/Linux # or .venv\Scripts\activate # For Windows

Running Tests

make test

Running Checks

make check

Building Documentation

make docs

Adding New Tools

To add a new API integration:

  1. Update config.py with any required API keys
  2. Create a new module in mcp_toolbox/
  3. Implement your API client and tools
  4. Add tests for your new functionality
  5. Update the README.md with new environment variables and tools

See the development guide for more detailed instructions.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the terms of the license included in the repository.

-
security - not tested
A
license - permissive license
-
quality - not tested

A comprehensive toolkit that enhances LLM capabilities through the Model Context Protocol, allowing LLMs to interact with external services including command-line operations, file management, Figma integration, and audio processing.

  1. Features
    1. Installation
      1. Using uv (Recommended)
        1. Installing via Smithery
          1. Using pip
          2. Configuration
            1. Environment Variables
              1. Claude Desktop Configuration
              2. Available Tools
                1. Command Line Tools
                  1. File Operations Tools
                    1. Figma Tools
                      1. XiaoyuZhouFM Tools
                        1. Audio Tools
                        2. Usage Examples
                          1. Running the MCP Server
                            1. Using with Claude Desktop
                            2. Development
                              1. Local Setup
                                1. Running Tests
                                  1. Running Checks
                                    1. Building Documentation
                                    2. Adding New Tools
                                      1. Contributing
                                        1. License