Factorio MCP Server logo

Factorio MCP Server

by dested

A minimal ModelContextProtocol server template for building AI assistant tools. This starter provides a basic structure for creating MCP tools that can be used with AI assistants like Claude.

View on GitHub

Last updated: N/A

What is Factorio MCP Server?

This is a starter server template for building tools that can be used with AI assistants through the ModelContextProtocol (MCP). It provides a basic structure and tooling setup to quickly create and deploy MCP tools.

How to use Factorio MCP Server?

  1. Clone the repo, install dependencies, and build. 2. Configure Claude to use this MCP server by adding an entry in the claude_desktop_config.json file. 3. Restart Claude. 4. Develop your MCP server using npm run dev and test it in Claude. 5. Publish the server to NPM for others to install and use.

Key features of Factorio MCP Server

  • Simple 'hello world' tool example

  • TypeScript + esbuild setup

  • Development tools preconfigured

  • MCP Inspector support

Use cases of Factorio MCP Server

  • Creating custom tools for Claude

  • Extending the functionality of AI assistants

  • Developing AI-powered applications

  • Integrating with the ModelContextProtocol

FAQ from Factorio MCP Server

How do I add a new tool?

Define the tool schema in index.ts, add it to the tools array in the ListToolsRequestSchema handler, and add the implementation in the CallToolRequestSchema handler.

How do I test my MCP server?

You can use the MCP Inspector tool for development and debugging purposes. Run npm run inspect to start the Inspector.

How do I publish my MCP server?

Set up an NPM account and run npm publish. Others can then install the server with a config entry in their claude_desktop_config.json.

What is ModelContextProtocol?

ModelContextProtocol (MCP) is a protocol for building AI assistant tools. Visit modelcontextprotocol.io for more information.

Where can I download Claude?

You can download the Claude desktop app from claude.ai/download.