Minecraft Plugin Documentation MCP Server
Minecraft 插件文档 MCP 服务器
一个 MCP (Model Context Protocol) 服务器,旨在帮助 Minecraft Java 插件开发者查看常用依赖项的最新文档和版本。
功能特性
依赖项文档查询 - 获取主流 Minecraft 插件依赖项的维基、Javadoc 和 GitHub 链接
项目扫描 - 扫描 Gradle 和 Maven 项目以提取所有依赖项
版本检查 - 从 Maven Central、JitPack、Paper 仓库等处检查最新版本
完整项目分析 - 对插件工作区进行全面分析并提供建议
API 参考 - 针对复杂插件(如 EdTools、SkinsRestorer 等)提供详细的子 API 文档
Related MCP server: MCP Discord
支持的依赖项
依赖项 | 仓库 | 描述 |
Paper API | Paper | Paper Minecraft 服务器 API |
Spigot API | Spigot | Spigot Minecraft 服务器 API |
Bukkit | Spigot | Bukkit API |
LuckPerms | Maven Central | 权限插件 API |
Vault | JitPack | 经济/权限/聊天 API |
HikariCP | Maven Central | JDBC 连接池 |
Item-NBT-API | CodeMC | 无需 NMS 的 NBT 操作 |
PacketEvents | Maven Central | 数据包操作库 |
DecentHolograms | JitPack | 全息图插件 API |
CoreProtect | Maven Central | 方块记录 API |
mc-MenuAPI | JitPack | GUI/菜单 API |
PlaceholderAPI | 自定义 | 占位符系统 |
WorldEdit | 自定义 | 世界编辑 API |
WorldGuard | 自定义 | 区域保护 API |
SkinsRestorer | CodeMC | 皮肤管理 API |
EdTools API | 手动 (JAR) | 自定义附魔、区域、货币等 |
快速入门 - 在项目中使用
选项 1:全局安装(推荐)
全局安装一次 MCP,然后在任何项目中使用:
# Clone and setup (one time only)
git clone https://github.com/ValentinTarnovsky/MCP-MCP.git
cd MCP-MCP
npm install
npm run build
npm link然后在任何项目中,将此内容添加到你的 MCP 配置中:
Claude Code (.claude/mcp.json):
{
"mcpServers": {
"minecraft-plugin-docs": {
"command": "npx",
"args": ["minecraft-plugin-docs-mcp"]
}
}
}Claude Desktop (%APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"minecraft-plugin-docs": {
"command": "npx",
"args": ["minecraft-plugin-docs-mcp"]
}
}
}选项 2:直接路径
如果你不想使用 npm link:
{
"mcpServers": {
"minecraft-plugin-docs": {
"command": "node",
"args": ["C:\\path\\to\\MCP-MCP\\dist\\index.js"]
}
}
}使用示例
配置完成后,你可以向 Claude 询问如下内容:
获取依赖项文档
"Get documentation for paper-api"
"Look up luckperms docs"
"What's the Maven coordinate for hikaricp?"
"Show me EdTools API reference"
"How do I use SkinsRestorer API?"扫描你的项目
"Scan dependencies in my project"
"What dependencies does this plugin use?"检查更新
"Check for updates in this project"
"What's the latest version of paper-api?"
"Are my dependencies up to date?"完整分析
"Analyze my plugin workspace"
"Full dependency report"工具参考
get_dependency_docs
获取特定依赖项的文档。
参数 | 必需 | 描述 |
| 是 | 依赖项名称(例如 "paper-api", "edtools") |
| 否 | 是否获取最新版本(默认:true) |
返回: 维基 URL、Javadoc、GitHub、Maven 坐标、快速入门代码片段以及可用的 API 参考。
scan_project_dependencies
扫描项目目录以获取所有依赖项。
参数 | 必需 | 描述 |
| 是 | 项目目录路径 |
check_latest_versions
检查依赖项的最新版本。
参数 | 必需 | 描述 |
| 否 | 扫描当前版本的路径 |
| 否 | 要检查的特定依赖项列表 |
| 否 | 检查所有已知依赖项 |
analyze_plugin_project
包含建议的全面项目分析。
参数 | 必需 | 描述 |
| 否 | 要分析的路径 |
| 否 | 是否检查更新(默认:true) |
添加自定义依赖项
编辑 src/registry/dependencies.ts:
标准 Maven 依赖项
'my-plugin-api': {
name: 'My Plugin API',
description: 'Description here',
documentation: {
wiki: 'https://...',
javadocs: 'https://...',
github: 'https://github.com/...',
},
maven: {
groupId: 'com.example',
artifactId: 'my-plugin-api',
repository: 'maven-central', // or 'jitpack', 'paper', 'codemc', 'custom'
repositoryUrl: 'https://...', // required for 'custom' repos
},
aliases: ['myplugin', 'my-plugin'],
},手动 JAR 依赖项(无 Maven 仓库)
'local-plugin-api': {
name: 'Local Plugin API',
description: 'A plugin that distributes JAR manually',
documentation: {
wiki: 'https://...',
github: 'https://...',
downloadUrl: 'https://download-link...', // Where to get the JAR
},
maven: {
groupId: 'com.example',
artifactId: 'LocalPlugin-API',
repository: 'manual', // Special type for local JARs
},
aliases: ['localplugin'],
// Optional: Document sub-APIs
apiReference: {
mainClass: 'LocalPluginAPI',
importPackage: 'com.example.api',
subApis: [
{
name: 'FeatureAPI',
getter: 'getFeatureAPI()',
description: 'Manage features',
methods: ['doSomething()', 'getSomething() -> String'],
},
],
},
},添加后,重新构建:npm run build
开发
项目结构
MCP-MCP/
├── src/
│ ├── index.ts # Main server entry point
│ ├── registry/
│ │ └── dependencies.ts # Dependency information registry
│ ├── parsers/
│ │ ├── gradle.ts # Gradle build file parser
│ │ └── maven.ts # Maven POM parser
│ ├── tools/
│ │ ├── getDependencyDocs.ts
│ │ ├── scanProjectDependencies.ts
│ │ ├── checkLatestVersions.ts
│ │ └── analyzePluginProject.ts
│ └── utils/
│ ├── cache.ts # Caching utilities
│ └── versionFetcher.ts # Version fetching from repos
├── dist/ # Compiled output
├── package.json
├── tsconfig.json
└── README.md命令
npm install # Install dependencies
npm run build # Compile TypeScript
npm run dev # Watch mode for development
npm run clean # Remove dist/
npm link # Make available globally via npx测试
# Run the server manually
node dist/index.js
# Test with MCP Inspector
npx @modelcontextprotocol/inspector node dist/index.js故障排除
服务器无法启动
确保已安装 Node.js 18+:
node --version检查构建是否完成:
npm run build验证
dist/index.js是否存在
找不到依赖项
检查依赖项名称的拼写
尝试使用别名(例如 "paper" 而不是 "paper-api")
使用 Maven 坐标(例如 "io.papermc.paper:paper-api")
找不到 npx 命令
在 MCP-MCP 目录中运行
npm link使用
npm list -g minecraft-plugin-docs-mcp进行验证
许可证
MIT
贡献
Fork 本仓库
创建功能分支
添加你的更改
提交 Pull Request
致谢
Model Context Protocol - MCP 规范
PaperMC - Paper Minecraft 服务器
SpigotMC - Spigot Minecraft 服务器
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceAn MCP server designed for developers to build and manage Minestom-based Minecraft servers by inspecting project environments, build configurations, and API documentation. It enables users to plan features, review design patterns, and discover libraries within the Minestom ecosystem.9126Apache 2.0
- AlicenseNot gradedqualityBmaintenanceThe most complete open-source MCP server for Discord — 80+ tools, dual-mode: integrated (plugin) or standalone5511MIT
- AlicenseNot gradedqualityAmaintenanceDependency Updater AI - MCP server providing AI-powered tools and automation by MEOK AI Labs11MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server for EndstoneMC development, enabling module information queries, code search, plugin template generation, event handling guidance, and development tutorials through natural language.2MIT
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personal…
Official MCP server for Lovable, the AI-powered full-stack app builder.
MCP server for doc2mcp documentation, generated by doc2mcp.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ValentinTarnovsky/MCP-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server