NeoForge mod development MCP (Model Context Protocol) toolkit for Minecraft 1.21.1, providing AI assistants with documentation search, code examples, API references, and MDK templates.
This MCP server provides tools for NeoForge 1.21.1 mod development:
- 🔍 Documentation Search - Search official NeoForge documentation
- 📚 Code Examples - Get working code snippets for common patterns
- 📖 Concept Explanations - Understand NeoForge concepts and APIs
- 🔄 Migration Guides - Forge to NeoForge migration patterns
- 📦 MDK Templates - Ready-to-use template code
This repository works together with neoforge-dev-1.21.1-skill:
| Aspect | MCP (This Repo) | Skill Repository |
|---|---|---|
| Code Examples | ✅ Real-time from docs | ❌ |
| MDK Templates | ✅ Structured templates | ❌ |
| Documentation | ✅ Searchable index | ❌ |
| Development Workflow | ❌ | ✅ Process orchestration |
| Code Standards | ❌ | ✅ Style guides & best practices |
| Debugging Guides | ❌ | ✅ Troubleshooting & diagnostics |
| Release Workflow | ❌ | ✅ Build & publish process |
- Use MCP when you need: code examples, API docs, templates, migration patterns
- Use Skill when you need: workflow guidance, code review, debugging, release process
neoforge-dev-1.21.1-mcp/
├── src/
│ ├── index.ts # MCP server entry point
│ ├── db-versioning.ts # Database version management
│ ├── indexer/ # Indexer modules
│ │ ├── store.ts # SQLite data storage
│ │ ├── crawler.ts # Documentation crawler
│ │ ├── chunker.ts # Document chunking
│ │ ├── embeddings.ts # Vector embeddings
│ │ ├── sitemap.ts # Sitemap parser
│ │ └── types.ts # Type definitions
│ ├── services/ # Service layer
│ │ ├── search-service.ts # Search service
│ │ └── concept-service.ts# Concept service
│ └── tools/ # MCP tools
│ ├── searchDocs.ts # Document search
│ ├── getExample.ts # Get examples
│ └── explainConcept.ts # Concept explanation
├── scripts/
│ └── index-docs.ts # Document indexing script
├── data/ # Data storage directory
├── package.json
├── tsconfig.json
└── README.md
# Configure authentication (one-time)
echo "//npm.pkg.github.com/:_authToken=YOUR_GITHUB_TOKEN" >> ~/.npmrc
# Install
npm install @3453890470/neoforge-devgit clone https://github.com/3453890470/neoforge-dev-1.21.1-mcp.git
cd neoforge-dev-1.21.1-mcp
npm install
npm run buildAdd to your MCP client configuration:
{
"mcpServers": {
"neoforge-mcp": {
"command": "npx",
"args": ["-y", "@3453890470/neoforge-dev"]
}
}
}# Run in development mode
npm run dev
# Build
npm run build
# Start server
npm start| Tool | Description | Parameters |
|---|---|---|
search_neoforge_docs |
Search NeoForge documentation | query, category?, limit? |
get_neoforge_example |
Get code examples | topic, category? |
explain_neoforge_concept |
Explain NeoForge concepts | concept |
get_forge_to_neoforge |
Forge to NeoForge migration | forgeApi |
get_mdk_template |
Get MDK templates | feature |
list_forge_migrations |
List available migrations | category? |
getting-started- Introduction and setupblocks- Block registration and customizationitems- Item registration and customizationentities- Entity systemgui- GUI and containersnetworking- Network communicationdata- Data components and attachmentsworldgen- World generationevents- NeoForge event systemcapabilities- NeoForge capabilitiesregistries- Registry systemmigrations- Migration guidesadvanced- Advanced topics
| Component | Version |
|---|---|
| Minecraft | 1.21.1 |
| NeoForge | 21.1.x |
| Java | 21+ |
| Node.js | 18+ |
{
"mcpServers": {
"neoforge-mcp": {
"command": "npx",
"args": ["-y", "@3453890470/neoforge-dev"]
}
}
}// ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"neoforge-mcp": {
"command": "npx",
"args": ["-y", "@3453890470/neoforge-dev"]
}
}
}// .cursor/config.json
{
"mcp": {
"servers": {
"neoforge-mcp": {
"command": "npx",
"args": ["-y", "@3453890470/neoforge-dev"]
}
}
}
}// ~/.continue/config.json
{
"mcpServers": {
"neoforge-mcp": {
"command": "npx",
"args": ["-y", "@3453890470/neoforge-dev"]
}
}
}MIT License - see LICENSE for details.
- neoforge-dev-1.21.1-skill - Workflow & standards skill
- forge-dev-1.20.1-mcp - Forge 1.20.1 MCP
- forge-dev-1.20.1-skill - Forge 1.20.1 skill