Javadoc Mcp
@BeamLiu
关于 Javadoc Mcp
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"javadoc-search": {
"command": "npx",
"args": [
"-y",
"@io.emop/mcp-javadoc-server",
"--javadoc-path",
"/absolute/path/to/javadoc-json"
]
}
}
}工具
6Search for classes, methods, constructors, and fields in the JavaDocs
Search specifically for classes and interfaces
Search specifically for methods and constructors
Search specifically for fields/properties
Get detailed information about a specific class
Get statistics about the loaded JavaDoc data
概览
What is Javadoc Mcp?
Javadoc Mcp is a Node.js-based MCP server that provides intelligent search capabilities for Java documentation in structured JSON format, enabling seamless integration with AI assistants like Claude Desktop.
How to use Javadoc Mcp?
Generate JSON documentation from Java source code using the accompanying Maven plugin (java-docs-json-doclet) or by crawling HTML Javadoc, then start the MCP server with npx @io.emop/mcp-javadoc-server --javadoc-path /path/to/javadoc-json; use commands like search_all("ArrayList"), search_classes("HashMap"), or get_stats() in Claude Desktop.
Key features of Javadoc Mcp
- Fuzzy search powered by Fuse.js
- Multiple search types: classes, methods, constructors, fields
- Automatic data deduplication and merging
- Documentation statistics and coverage overview
- Direct integration with Claude Desktop
Use cases of Javadoc Mcp
- Searching Java API documentation through an AI assistant
- Querying structured documentation for specific classes and methods
- Getting an overview of documented packages and their coverage
- Exploring generated JSON docs from source code or HTML Javadoc
FAQ from Javadoc Mcp
What data does Javadoc Mcp require?
It requires pre-generated JSON documentation files created by the java-docs-json-doclet Maven plugin, either from Java source code or crawled from HTML Javadoc websites.
What Java versions are supported for generating input JSON?
The javadoc-json goal supports Java 8 and above; the crawl goal currently supports JDK 9 (with future version plans).
Does Javadoc Mcp support projects using Lombok?
Yes, the Maven plugin supports Lombok annotations via a delombok process; configuration details are in the plugin’s README.
How can I test the MCP server?
Use the mcp inspector tool: run npx @modelcontextprotocol/inspector npx -y @io.emop/mcp-javadoc-server -- --javadoc-path /path/to/javadoc-json.
Are there any transport or authentication requirements?
The README does not specify transports or authentication; the server expects a local file path for JSON data and is designed for use with MCP-compatible clients like Claude Desktop.
其他 分类下的更多 MCP 服务器
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
ACI: Open-Source Infra to Power Unified MCP Servers
aipotheosis-labsACI.dev is the open source tool-calling platform that hooks up 600+ tools into any agentic IDE or custom AI agent through direct function calling or a unified MCP server. The birthplace of VibeOps.
ghidraMCP
LaurieWiredMCP Server for Ghidra
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
评论