MCP Directory
Back

mcp-server-java

by i23098 · Java · ★ 0

Simple Hello World server using https://github.com/modelcontextprotocol/java-sdk

Install

git clone https://github.com/i23098/mcp-server-java.git

Claude Desktop config

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-server-java": {
      "command": "npx",
      "args": [
        "-y",
        "github:i23098/mcp-server-java"
      ]
    }
  }
}

From the README

Simple Hello World MCP Server done in Java, using https://github.com/modelcontextprotocol/java-sdk Execute: This will generate Can be executed in Tomcat 11. Just copy to the folder. To test the server, can use MCP inspector by executing: It will open in the browser and should be configured using: * Transport Type: Streamable HTTP * URL: http://localhost:8080/hello-world-mcp/mcp * Connection Type: Via Proxy Click **Connect** button. Click **List Tools** button. Click on the tool that is listed. Click **Run Tool** button. Should have a success tool result with a response.
Read full README on GitHub →

💡 Need a managed MCP host?

Try Claude Pro for the smoothest MCP experience, or browse our cloud-hosted servers.

Related developer tools servers