What transport does Mcpserver use?
Mcpserver uses SSE (Server-Sent Events) transport, as shown in the Claude Desktop configuration with `"type": "sse"`.
@mrwylan
基本信息
a simple mcp server exposing a list of colors
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"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"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
Mcpserver is a simple demo MCP (Model Context Protocol) server built with Spring Boot. It exposes a list of color name and hex value pairs, allowing users to list all colors, get one, or add a color entry. The server is designed for learning and testing MCP integrations, such as with Claude Desktop.
Build the project with mvn clean package, then run java -jar target/mymcp-0.1.0-SNAPSHOT.jar. Connect via SSE transport by configuring Claude Desktop (with Developer Mode) using the provided JSON snippet, replacing the URL/port if the server port is changed. Verify the SSE endpoint is registered at /actuator/mappings after startup.
Mcpserver uses SSE (Server-Sent Events) transport, as shown in the Claude Desktop configuration with `"type": "sse"`.
In your Claude Desktop config (with Developer Mode enabled), add an entry like `"localmcp": { "type": "sse", "url": "http://localhost:8080/sse" }` and adjust the URL/port if needed.
Run `mvn clean package` to build, then execute `java -jar target/mymcp-0.1.0-SNAPSHOT.jar` to start the server.
Use `npx @modelcontextprotocol/inspector` to start the inspector, then open the browser and connect to the MCP endpoint.
Mcpserver allows you to list all color entries, retrieve one specific entry, and add a new color entry.

Couples therapist Figs O'Sullivan (LMFT, 17 years, endorsed by Sue Johnson, creator of EFT) inside your AI. Ask relationship questions answered from his clinical writing, name the pattern in a fight, get a three-step rep

A good sequence diagram can solve almost any communication problem in engineering. Volley lets your agent write them as plain text, with the real request and response payloads on every arrow. It checks its own syntax wi

Yuppsy MCP: build and publish real estate websites from your AI assistant. Yuppsy lets your AI assistant create live websites for real estate agents and individual property listings. You don't need a designer or any code
Painless E2E Automation for Mobile and Web
A search tool helps dev to solve the naming things problem.
评论