Basic information
About Maven Repository MCP Server
# Maven Repository MCP Server
Maven Repository MCP Server is a MCP server in the Version Control category listed in the AddMCP.net directory, published by Yanick-Salzmann. Supported transport: stdio. Runtime: node. License: MIT license. The repository has 2 GitHub stars. Source code is hosted on github.com. Related topics: maven, mcp-server, repository.
Setup
{
"mcpServers": {
"mvn-repository-mcp-server": {
"command": "node",
"args": [
"dist/index.js",
"stdio"
]
}
}
}
{
"mcpServers": {
"mvn-repository-mcp-server": {
"command": "node",
"args": [
"dist/index.js",
"stdio"
]
}
}
}
{
"servers": {
"mvn-repository-mcp-server": {
"command": "node",
"args": [
"dist/index.js",
"stdio"
]
}
}
}
Maven Repository MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mvn-repository-mcp-server": {
"command": "node",
"args": [
"dist/index.js",
"stdio"
]
}
}
}
Maven Repository MCP Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Maven Repository MCP Server?
A Model Context Protocol server that provides comprehensive functionality to search and interact with Maven artifacts from mvnrepository.com and Maven Central. It is designed for AI assistants and developers who need to discover dependencies, retrieve versions, fetch POM files, and generate dependency snippets for Maven, Gradle, and SBT.
How to use Maven Repository MCP Server?
Install Node.js 18+, clone the repository, run npm install and npm run build. Start the server with npm start (default stdio transport) or use npm run start:sse for SSE on port 3000. Invoke tools like search_maven_artifacts, get_artifact_versions, get_pom_xml, and get_dependency_snippets via MCP client.
Key features of Maven Repository MCP Server
- Search Maven artifacts by keyword with detailed results
- Retrieve all available versions for any artifact
- Generate dependency snippets for Maven, Gradle, and SBT
- Fetch complete POM.xml files from Maven Central
- Support both stdio and SSE transport protocols
- Built-in intelligent rate limiting
Use cases of Maven Repository MCP Server
- Help users find appropriate Maven dependencies
- Assist with dependency version selection and updates
- Generate dependency blocks for different build tools
- Quickly find Maven artifacts without opening a browser
- Examine POM files and dependency structures
Frequently asked questions
1 What transport protocols does the server support?
The server supports stdio (default) and SSE (Server-Sent Events) protocols. Use npm run start:stdio or npm run start:sse to select.
2 How can I change the SSE port?
When running in SSE mode, use the --port flag, for example node dist/index.js sse --port 8080.
3 What rate limiting is implemented?
The server enforces a minimum of 3 seconds between requests, adds a random 2-6 second delay, and automatically retries with exponential backoff when it receives 403 errors.
4 What are the timeout settings?
Default request timeout is 30 seconds, Maven Central POM requests timeout after 15 seconds, and a maximum of 3 retry attempts are made for failed requests.
5 How do I enable debug mode?
Set the environment variable DEBUG=mvn-repository-mcp-server before starting the server, for example DEBUG=mvn-repository-mcp-server npm start.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In