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