web-development-toolbox-mcp
v0.4.9
Published
Web Development Toolbox MCP Server
Downloads
17
Readme
Web Development Toolbox MCP Server
MCP (Model Context Protocol) server implementation providing various utility tools for web development.
Setup
Desktop Extension (DXT) - Recommended
The easiest way to install this MCP server is using the Desktop Extension format:
- Download the latest
.dxtfile from the Releases page - Double-click the
.dxtfile to install with Claude Desktop or other DXT-compatible applications - The extension will be automatically configured and ready to use
Usage with VS Code
Add the following configuration to your User Settings (JSON) file. Open the settings by pressing Cmd + Shift + P and selecting Preferences: Open User Settings (JSON).
Alternatively, you can create a .vscode/mcp.json file in your workspace to share the configuration with others. Note that the mcp key is not needed in the .vscode/mcp.json file.
Note that the
mcpkey is not needed in the.vscode/mcp.jsonfile.
{
"mcp": {
"servers": {
"web-development-toolbox": {
"command": "npx", // It might be necessary to specify the full path. In that case, use the result of `which npx`.
"args": ["-y", "web-development-toolbox-mcp"],
"env": {}
}
}
}
}Available Tools
This server provides the following tools:
Encoding & Decoding
encode_base64
- Encode data to base64 format
- Inputs:
data(string): Input string to encode
- Returns: Base64 encoded string
decode_base64
- Decode base64 encoded data
- Inputs:
data(string): Base64 encoded string to decode
- Returns: Decoded string
decode_jwt
- Decode a JWT token
- Inputs:
token(string): JWT token string
- Returns:
header: Decoded JWT header (object)payload: Decoded JWT payload (object)signature: JWT signature (string or null)
Color Conversion
hex_to_rgb
- Convert a hex color code to RGB format
- Inputs:
hex(string): Hexadecimal color code
- Returns: Object containing RGB values (
r,g,b)
rgb_to_hex
- Convert RGB values to a hex color code
- Inputs:
r(number): Red value (0-255)g(number): Green value (0-255)b(number): Blue value (0-255)
- Returns: Hexadecimal color code
rgb_to_hsv
- Convert RGB values to HSV
- Inputs:
r(number): Red value (0-255)g(number): Green value (0-255)b(number): Blue value (0-255)
- Returns: Object containing HSV values (
h,s,v)
hsv_to_rgb
- Convert HSV values to RGB
- Inputs:
h(number): Hue value (0-360)s(number): Saturation value (0-100)v(number): Value component (0-100)
- Returns: Object containing RGB values (
r,g,b)
Date & Time
unix_to_iso
- Convert a Unix timestamp to ISO 8601 format
- Inputs:
datetime(number): Unix timestamp
- Returns: ISO 8601 formatted string
iso_to_unix
- Convert an ISO 8601 string to Unix timestamp
- Inputs:
isoString(string): ISO 8601 formatted string
- Returns: Unix timestamp
Image & UUID Generation
generate_qr_code
- Generate a QR code from a given string
- Inputs:
text(string): Text to encode in the QR code
- Returns: QR code image (data URL)
generate_uuid
- Generate UUID v4 and v7
- Inputs:
- (no parameters required)
- Returns: JSON object containing both v4 and v7 UUIDs
v4: UUID v4 stringv7: UUID v7 string
generate_placeholder_image
- Generate a placeholder image with specified dimensions
- Inputs:
width(number): Width of the image in pixelsheight(number): Height of the image in pixels
- Returns: Placeholder image (data URL)
Example Usage
Check the example-project/prompts directory for example prompts for each tool.
Development
Building the Project
# Install dependencies
npm install
# Build the project
npm run buildBuilding the Desktop Extension (DXT)
To create a .dxt file for distribution:
# Install dependencies
npm install
# Build the DXT package
npm run build-dxtThis will create a web-development-toolbox-mcp-<version>.dxt file that can be installed with Claude Desktop or other DXT-compatible applications.
License
This project is licensed under the MIT License - see the LICENSE file for details.
