npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@pradeepmajji702/swagger-mcp

v1.0.1

Published

MCP server for Spring Boot Swagger API integration

Readme

Spring Boot MCP Server

A Model Context Protocol (MCP) server that provides AI assistants with access to Spring Boot backend APIs through Swagger/OpenAPI documentation.

Features

  • List Endpoints: Get all available API endpoints from your Spring Boot backend
  • Describe Endpoint: Get detailed information about a specific API endpoint
  • Generate Frontend Calls: Auto-generate frontend API call code for React or Angular

Installation

Global Installation (Recommended)

npm install -g @pradeepmajji702/springboot-mcp

Local Installation

npm install @pradeepmajji702/springboot-mcp

Configuration

For Claude Desktop / Copilot

Add this to your MCP settings configuration file:

Windows: %APPDATA%\Code\User\globalStorage\github.copilot-chat\mcp.json
macOS/Linux: ~/.config/Code/User/globalStorage/github.copilot-chat/mcp.json

{
  "mcpServers": {
    "springboot-mcp": {
      "command": "npx",
      "args": ["-y", "@pradeepmajji702/springboot-mcp"],
      "env": {
        "SWAGGER_URL": "http://localhost:8080/v3/api-docs"
      }
    }
  }
}

Important: Replace SWAGGER_URL with your actual Spring Boot Swagger documentation URL.

Common Swagger URLs

  • Spring Boot 3: http://localhost:8080/v3/api-docs
  • Spring Boot 2: http://localhost:8080/v2/api-docs
  • Custom path: http://localhost:8080/your-app/v3/api-docs

Usage

Once configured, you can ask your AI assistant:

  • "List all available backend endpoints"
  • "Describe the GET /api/users endpoint"
  • "Generate a React API call for POST /api/users"
  • "Show me the Angular code to call the login endpoint"

Available Tools

list_endpoints

Lists all API endpoints from your Spring Boot backend.

describe_endpoint

Get detailed information about a specific endpoint including parameters, request body, and responses.

Parameters:

  • path (string): The API path (e.g., "/api/users")
  • method (string): HTTP method (e.g., "get", "post", "put", "delete")

generate_frontend_call

Generates frontend code to call a specific API endpoint.

Parameters:

  • path (string): The API path
  • method (string): HTTP method
  • framework (string): "react" or "angular"

Requirements

  • Node.js >= 18.0.0
  • A running Spring Boot application with Swagger/OpenAPI enabled

Development

# Clone the repository
git clone https://github.com/Pradeepmajji702/MCP_SPRINGBOOT.git
cd MCP_SPRINGBOOT

# Install dependencies
npm install

# Run locally
SWAGGER_URL=http://localhost:8080/v3/api-docs node server.js

Publishing

To publish this package to npm:

Then publish:

npm login
npm publish --access public

License

MIT

Contributing

Contributions are welcome! Please open an issue or submit a pull request.