一个基于 Model Context Protocol (MCP) 的 Gradle 项目类查找服务,帮助在 Gradle 项目依赖中查找指定的类并获取其源代码。
一个基于 Model Context Protocol (MCP) 的 Gradle 项目类查找服务,帮助在 Gradle 项目依赖中查找指定的类并获取其源代码。. Exposed over MCP by the gradle class finder mcp mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.
Everything the assistant can do here goes through one of these:
workspace_dir — /path/to/gradle/projectclass_name — com.example.MyClassjar_path — /path/to/library.jarJAVA_OPTS — JVM 参数设置(例如:-Xmx512m -Xms256m)Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.
Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Gradle Class Finder MCP's toolset — workspace_dir, class_name, jar_path and 1 more — is a fair guide to whether it matches your workflow. It is maintained by touwaeriol; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Gradle Class Finder MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| workspace_dir | /path/to/gradle/project |
| class_name | com.example.MyClass |
| jar_path | /path/to/library.jar |
| JAVA_OPTS | JVM 参数设置(例如:-Xmx512m -Xms256m) |
{
"mcpServers": {
"gradle-class-finder": {
"command": "java",
"args": ["-jar", "/path/to/gradle-class-finder-mcp.jar"]
}
}
}Configuration as documented by the project. Restart the client after saving.
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.