mcpField
T
Template project to build MCP server using SpringBoot

Template project to build MCP server using SpringBoot

Local
github.com/GopinathMRDeveloper Tools0Updated 85w ago

About Template project to build MCP server using SpringBoot

This is a SpringBoot template for developers building MCP servers. It provides REST endpoints for testing features outside an MCP client and a `task` example showing tool and resource implementation with tests.

Key features

  1. 01Test features through REST endpoints
  2. 02Includes a `task` example
  3. 03Demonstrates tools and resources
  4. 04Includes unit and integration tests

Use cases

  1. 01Start a SpringBoot MCP server from a template
  2. 02Test features outside an MCP client
  3. 03Extend tools and resources from the `task` example
  4. 04Write tests for server features

MCP support

The project is a template for building MCP servers and shows how to configure one in an MCP client.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Template project to build MCP server using SpringBoot

Features
  • Structure to expose features as REST endpoint to test it outside MCP client
  • Example task feature to use as guideline to build new tools / resources. Includes unit and integration tests
How to configure in MCP Client (like Claude desktop)
  • Open the file ~/Library/Application Support/Claude/claude_desktop_config.json and add below section
    "your-app-name": {
      "command": "/usr/bin/java",
      "args": [
        "-Dspring.profiles.active=default",
        "-Dspring.main.web-application-type=none",
        "-jar",
        "<PATH_TO_REPO>/build/libs/<your-app-name>-0.0.1-SNAPSHOT.jar"
      ]
    }

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.