drio
Open app

Template project to build MCP server using SpringBoot

Source

Catalog onlyCatalog onlySTDIO

Overview

MCP Tasks Server is a template project designed to build a server using SpringBoot, providing a structure to expose features as REST endpoints for testing outside the MCP client.

To use the MCP Tasks Server, configure it in the MCP Client by editing the claude_desktop_config.json file to include the server command and arguments for running the application.

  • Exposes features as REST endpoints for external testing. - Includes an example task feature to guide the development of new tools/resources. - Comes with unit and integration tests for reliability.
  1. Building and testing new features for the MCP client.
  2. Developing RESTful services using SpringBoot.
  3. Facilitating integration testing with external clients.

Add to your AI client

Use these steps to connect Template project to build MCP server using SpringBoot in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-tasks-server-gopinathmr": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-tasks-server-gopinathmr"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-tasks-server-gopinathmr": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-tasks-server-gopinathmr"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-tasks-server-gopinathmr": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-tasks-server-gopinathmr"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-tasks-server-gopinathmr": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-tasks-server-gopinathmr"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-tasks-server-gopinathmr": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-tasks-server-gopinathmr"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-tasks-server-gopinathmr": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-tasks-server-gopinathmr"
      ]
    }
  }
}

FAQ

What is the purpose of the MCP Tasks Server?

It serves as a template for building and testing server applications using SpringBoot.

How do I configure the server in the MCP Client?

You need to edit the `claude_desktop_config.json` file to add the server configuration.

Is there any documentation available?

Yes, the project includes guidelines and examples to help you get started.