Back to directory
tobiassteidle/spring-boot-sample-mcp-server

tobiassteidle/spring-boot-sample-mcp-server

@tobiassteidle

A sample implementation of a Model Context Protocol (MCP) server using Spring Boot

spring-bootmcpexamplejavamodel-context-protocolsampleservertool

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
2026/6/13
Updated
2026/6/13