Get the FREE Ultimate OpenClaw Setup Guide →

mcpapp-colorpicker

A Model Context Protocol (MCP) App built with .NET that provides an interactive color picker with a rich UI

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio elbruno-mcpapp-colorpicker dotnet run \
  --env ASPNETCORE_URLS="http://0.0.0.0:3001"

How to use

This MCP server implements a Color Picker tool inside a small .NET-based MCP app. It exposes an interactive UI at /mcp/ui/color-picker and serves the MCP protocol endpoint at /mcp so MCP clients (for example, the VS Code MCP extension) can connect and load the ColorPicker tool. The ColorPicker tool lets users visually pick a color using a hue slider, a 200-color gradient grid, and a real-time HEX preview. The result is an object containing the selected color, which can be consumed by MCP clients to apply styling or generate color values in workflows. To use it, start the server and connect via an MCP client, then invoke the ColorPicker tool named ColorPicker in the MCP extension or client UI. The server adapts to the client’s context and theme, and the embedded UI serves at /ui/color-picker for direct access if needed.

How to install

Prerequisites:

  • .NET 10 SDK or later
  • A supported IDE or editor (e.g., Visual Studio Code)

Step-by-step:

  1. Clone the repository
git clone https://github.com/elbruno/mcpapp-colorpicker.git
cd mcpapp-colorpicker
  1. Restore and build
dotnet restore
dotnet build
  1. Run the MCP server
dotnet run
  1. Verify the server

Optional: configure a reverse proxy or expose via ngrok if you need remote access.

Additional notes

  • The server runs on port 3001 by default and serves MCP protocol traffic at /mcp. If you already have something on port 3001, adjust ASPNETCORE_URLS or use a reverse proxy.
  • Access the UI directly at /ui/color-picker to view the interactive color picker.
  • If exposing to the internet, you can use ngrok or similar tools and update your MCP client configuration to point to the public URL plus /mcp, e.g. https://xyz.ngrok.io/mcp.
  • The ColorPicker tool accepts an optional initialColor parameter when invoked from the MCP client (hex format, e.g., #FF5733).

Related MCP Servers

Sponsor this space

Reach thousands of developers