Add MCP server for AI assistant integration#212
Open
Indemnity83 wants to merge 1 commit into
Open
Conversation
Adds a standalone MCP (Model Context Protocol) server under mcp/ that exposes SatisfactoryTools game data and production planning to AI assistants such as Claude, ChatGPT, Cursor, Windsurf, and others. Tools provided: - search_items, get_item, get_item_recipes, get_item_usages - search_recipes, get_recipe - search_buildings, get_building - search_schematics, get_schematic - get_raw_resources - calculate_production (calls the solver API) - read_sft_file / write_sft_file (.sft save file round-trip) Published to npm as satisfactory-tools-mcp. Game data is bundled into the build artifact so no local data files are required at runtime.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a standalone MCP (Model Context Protocol) server under
mcp/that lets AI assistants query SatisfactoryTools game data and run production calculations without a browser.calculate_production).sftsave files for exchanging production setups (read_sft_file/write_sft_file)mcp/README.mdHow it works
The server is a standalone Node.js/TypeScript package under
mcp/. It reads the existingdata/*.jsonfiles directly — no changes to the web app or its build pipeline.Build uses esbuild to bundle everything (including game data) into a single
dist/index.js. Requires Node 18+ at runtime.npm publishing assumption
The README and user-facing setup instructions assume this package is published to npm as
satisfactory-tools-mcp, so users can install vianpx -y satisfactory-tools-mcpwithout cloning the repo.This publishing step is not automated yet. Before merging, someone with npm publish rights would need to either:
cd mcp && npm run build && npm publish), orUntil the package is on npm, users can still use the server by cloning the repo and pointing directly at the built file:
Developer setup
cd mcp npm install npm run build