partsbox_mcp
Verified Safeby nickweedon
Overview
Enables AI assistants to manage electronic component inventory within the PartsBox API.
Installation
uv run python partsbox_mcp_server.pyEnvironment Variables
- PARTSBOX_API_KEY
- PARTSBOX_MCP_DEBUG
- PARTSBOX_MCP_MASK_ERRORS
Security Notes
The server securely handles the `PARTSBOX_API_KEY` via environment variables, explicitly warning users about its sensitivity. Docker containers are configured to mount the `.env` file read-only, enhancing security. Error masking can be enabled to prevent leakage of internal error details to clients, a good practice for production. The JMESPath custom `regex_replace` function processes user-provided patterns, which carries a theoretical, but low, risk of a Regular Expression Denial of Service (ReDoS) if extremely complex and malicious patterns are supplied. File downloads using `get_image` and `get_file` rely on `file_id` values obtained from the trusted PartsBox API, limiting direct SSRF risks from arbitrary user input.
Similar Servers
klavis
Creates an AI agent that uses Klavis Strata to interact with Gmail and YouTube through MCP, demonstrating how to summarize a YouTube video and email the summary.
KiCAD-MCP-Server
Enables AI assistants to automate PCB design tasks in KiCAD through a Model Context Protocol (MCP) server.
bitbucket-mcp
An MCP server enabling AI assistants to interact with Bitbucket Cloud and Server APIs for repository, pull request, and pipeline management.
thingspanel-mcp
Serves as a Model Context Protocol (MCP) server for the ThingsPanel IoT platform, enabling natural language interaction with IoT devices for querying information, monitoring status, controlling functions, and analyzing platform data.