Back to directory
tobiassteidle/Spring-Boot-Sample-MCP-Server

tobiassteidle/Spring-Boot-Sample-MCP-Server

@tobiassteidle1

A sample MCP server implementation using Spring Boot for testing and debugging with MCP Inspector.

spring-bootjavasamplemcp-servertestingtool

Installation & Configuration

{
  "mcpServers": {
    "sample-mcp-server": {
      "command": "java",
      "args": [
        "-jar",
        "sample-mcp-server-0.0.1-SNAPSHOT.jar",
        "--port",
        "8080",
        "--host",
        "localhost"
      ],
      "env": {
        "JAVA_TOOL_OPTIONS": "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005"
      }
    }
  }
}

Information

Transport
stdio
Language
Java
Created
2025/4/26
Updated
2025/6/17