mcpserver

mrwylan/mcpserver

3.1

If you are the rightful owner of mcpserver and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This is a simple MCP server demo that provides a list of colors and their corresponding hex values.

my own mcp server - a simple list of colors and hex values

This simple demo is based on the youtoube tutorial from dan vega.

Dan Vega, mcp server tutorial

See Spring Boot documentation

prerequisite

To demo the running mcp server i used claude desktop installation. Developer mode should be enabled.

claude_desktop_config.json

{
  "mcpServers": {
    "localmcp": {
      "type": "command",
      "command": "D:\\jdks\\jdk-21+35\\bin\\java.exe",
      "args": [
	    "-Dspring.ai.mcp.server.stdio=true",
	    "-jar", 
		"D:\\ws\\ws_mcp_server\\my_mcp_server\\target\\mymcp-0.0.1-SNAPSHOT.jar"
	  ]
    }
  }
}

Replace the settings with your specific build and java path.

Run mvn package to build the jar.

what the mcp exposes

The server exposes a list of color name, hex value pairs. With this list you can interact: list all, get one, add one color entry.

a chat, done with this demo

Claude Chat Link