An MCP (Model Context Protocol) server that provides tools for checking Maven dependency versions.
An MCP (Model Context Protocol) server that provides tools for checking Maven dependency versions. This server enables LLMs to verify Maven dependencies and retrieve their latest versions from Maven Central Repository.
You can install this MCP server globally using npm:
npm install -g mcp-maven-deps
Or run it directly using npx:
npx mcp-maven-deps
To install Maven Dependencies Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install maven-deps-server --client claude
For development:
npm installnpm run buildAdd the server to your MCP settings configuration file:
{
"mcpServers": {
"maven-deps-server": {
"command": "npx",
"args": ["mcp-maven-deps"]
}
}
}
If installed globally, you can also use:
{
"mcpServers": {
"maven-deps-server": {
"command": "mcp-maven-deps"
}
}
}
The server supports two transport modes:
To use SSE transport, you can specify both host and port:
## Local access only (default host: localhost)
npx mcp-maven-deps --port=3000
## Remote access
npx mcp-maven-deps --host=0.0.0.0 --port=3000
When using SSE transport in your MCP settings:
{
"mcpServers": {
"maven-deps-server": {
"command": "npx",
"args": ["mcp-maven-deps", "--port=3000"]
}
}
}
For remote access, use the server’s IP or hostname in your client configuration:
{
"mcpServers": {
"maven-deps-server": {
"command": "npx",
"args": ["mcp-maven-deps", "--host=your-server-ip", "--port=3000"]
}
}
}
Retrieves the latest version of a Maven dependency.
Input Schema:
{
"type": "object",
"properties": {
"dependency": {
"type": "string",
"description": "Maven coordinate in format \"groupId:artifactId[:version][:packaging][:classifier]\" (e.g. \"org.springframework:spring-core\" or \"org.springframework:spring-core:5.3.20:jar\")"
}
},
"required": ["dependency"]
}
Example Usage:
const result = await mcpClient.callTool("maven-deps-server", "get_maven_latest_version", {
dependency: "org.springframework:spring-core"
});
// Returns: "6.2.2"
Checks if a specific version of a Maven dependency exists. The version can be provided either in the dependency string or as a separate parameter.
Input Schema:
{
"type": "object",
"properties": {
"dependency": {
"type": "string",
"description": "Maven coordinate in format \"groupId:artifactId[:version][:packaging][:classifier]\" (e.g. \"org.springframework:spring-core\" or \"org.springframework:spring-core:5.3.20:jar\")"
},
"version": {
"type": "string",
"description": "Version to check if not included in dependency string"
}
},
"required": ["dependency"]
}
Example Usage:
// Using version in dependency string
const result1 = await mcpClient.callTool("maven-deps-server", "check_maven_version_exists", {
dependency: "org.springframework:spring-core:5.3.20"
});
// Using separate version parameter
const result2 = await mcpClient.callTool("maven-deps-server", "check_maven_version_exists", {
dependency: "org.springframework:spring-core",
version: "5.3.20"
});
The server handles various error cases:
To modify or extend the server:
src/index.tsnpm run buildMIT
Mcp Name Origin Server
A Python-based MCP (Model Context Protocol) server that predicts the origin
Yolo Mcp Server
Code Explainer Mcp
A Cloudflare Worker that serves as an MCP (Model Context Protocol) server for code explanation. It analyzes and explains code with a comprehensive breakdown of structure and functionality.
An MCP tool server that provides a stateful terminal.
A Model Context Protocol (MCP) server for querying the CVE-Search API
TypeScript implementation of a Model Context Protocol (MCP) server for Trello integration
Ragie Model Context Protocol Server