Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@DigiKey MCP Serverfind the datasheet and current pricing for an ESP32-WROOM-32E"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
DigiKey MCP Server
A Model Context Protocol server for the DigiKey Product Search API v4, built with FastMCP. Docker-first, designed for the Docker MCP Toolkit.
Originally inspired by bengineer19/digikey_mcp.
Prerequisites
DigiKey API credentials — Register at developer.digikey.com, create an app with
client_credentialsgrant typeDocker (recommended) or Python 3.10+
Docker MCP Toolkit — included with Docker Desktop (requires MCP Toolkit support)
Quick Start — Docker MCP Toolkit
The recommended way to run this server. The Docker MCP gateway manages the container lifecycle, injects secrets, and exposes tools to MCP clients like Claude Code or Claude Desktop.
1. Build the Docker image
2. Create a custom catalog
The gateway discovers servers through catalog files. Create one at ~/.docker/mcp/catalogs/custom.yaml:
Change the env values to match your locale (e.g., AT/en/EUR for Austria).
Note: The
toolslist must match the tools defined in the server. The gateway uses this list to register tools with MCP clients.prompts: 0andresources: {}indicate the server exposes no MCP prompts or resources.
3. Register the catalog and enable the server
Re-run catalog import whenever you modify custom.yaml.
4. Set secrets
You'll be prompted to enter each value. Secret names must be prefixed with the server name (digikey.).
5. Connect an MCP client
This adds the gateway to your project's .mcp.json:
When the MCP client starts, the gateway launches the digikey-mcp:latest container, injects secrets as environment variables, and proxies tool calls.
Rebuilding after changes
No need to re-import the catalog or re-set secrets — just rebuild and restart.
Alternative: Docker standalone
Run the container directly without the MCP Toolkit. You manage secrets and lifecycle yourself.
.mcp.json for MCP clients:
Locale env vars are optional — defaults are US/en/USD (see Configuration).
Alternative: Standalone (pip)
Run without Docker. Requires Python 3.10+.
.mcp.json for MCP clients:
Locale env vars are optional — defaults are US/en/USD (see Configuration).
Tools
Search
Tool | Description |
| Search products by keyword with sorting, filtering, manufacturer/category constraints |
| List all manufacturers |
| List all product categories |
| Find substitute/alternative products |
Product Details
Tool | Description |
| Full product information for a part number |
| Category details by ID |
| Images, documents, videos for a product |
| Detailed pricing with quantity breaks |
| DigiReel-specific pricing |
Search Options
Filters (comma-separated in search_options): LeadFree, RoHSCompliant, InStock, HasDatasheet, HasProductPhoto, Has3DModel, NewProduct
Sort fields: Packaging, ProductStatus, DigiKeyProductNumber, ManufacturerProductNumber, Manufacturer, MinimumQuantity, QuantityAvailable, Price, Supplier, PriceManufacturerStandardPackage
Configuration
All settings are controlled via environment variables. In Docker MCP Toolkit mode, these are set in the catalog env block. In standalone mode, use a .env file.
Variable | Default | Description |
| (required) | DigiKey API client ID |
| (required) | DigiKey API client secret |
|
| Use sandbox API ( |
|
| DigiKey site (e.g., |
|
| Response language |
|
| Pricing currency (e.g., |
Docker MCP Registry
This repo is structured for submission to the docker/mcp-registry. The server.yaml file contains the registry entry reference — this is not the same as the local catalog above. When the server is published to the registry, users won't need to create a custom catalog; they'll install it directly via docker mcp server enable digikey.
Troubleshooting
Gateway shows 0 tools: The server uses lazy OAuth initialization — it won't authenticate until the first tool call. If the gateway still shows no tools, verify the tools list in your catalog matches the tool names above.
OAuth errors on first tool call: Verify your credentials with docker mcp secret list. Secret names must be prefixed: digikey.CLIENT_ID, not CLIENT_ID.
Catalog changes not taking effect: Re-run docker mcp catalog import ~/.docker/mcp/catalogs/custom.yaml after editing the catalog file. Restart your MCP client afterward.
License
MIT License — see LICENSE.