Flame MCP Server logo

Flame MCP Server

Community
salihgueler

Provides live, up-to-date documentation for the Flame game engine.

Publishersalihgueler
Repositoryflame_mcp_server
LanguageDart
Forks
7
Stars
24
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Flame MCP Server exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    24 stars and 7 forks from the linked repository.

Flame MCP Server

A Model Context Protocol (MCP) server that provides comprehensive access to Flame game engine documentation for AI assistants like Claude Desktop and Amazon Q Developer.

🎯 What This Does

Architecture Diagram

  • Documentation Access: Provides searchable access to the complete Flame engine documentation
  • Tutorial System: Offers step-by-step game development tutorials (Space Shooter, Platformer, Klondike)
  • Local Caching: Stores documentation locally for fast, offline access
  • MCP Integration: Works seamlessly with Claude Desktop and Amazon Q CLI
  • Search Tools: Intelligent search across all documentation and tutorials

🚀 Quick Start

1. Build and Setup

bash
# Clone and build the server
git clone <repository-url>
cd flame_mcp_server
./build_clean.sh

This will:

  • Install Dart dependencies
  • Build the MCP server executable
  • Download and cache all Flame documentation (~146 files)

2. Configure Your MCP Client

Amazon Q Developer

Add to your MCP configuration:

json
{
  "mcpServers": {
    "flame-docs": {
      "command": "/absolute/path/to/flame_mcp_server/build/flame_mcp_live"
    }
  }
}

Claude Desktop

Add to claude_desktop_config.json:

json
{
  "mcpServers": {
    "flame-docs": {
      "command": "/absolute/path/to/flame_mcp_server/build/flame_mcp_live"
    }
  }
}

Config file locations:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\\Claude\\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

3. Restart Your MCP Client

Restart Claude Desktop or Amazon Q CLI to load the Flame documentation server.

🛠️ Available Tools

search_documentation

Search through all Flame documentation for specific topics.

Example queries:

  • "How do I implement collision detection in Flame?"
  • "Search for component system examples"
  • "Find information about sprite animations"

tutorial

Get complete step-by-step game development tutorials.

Available tutorials:

  • Space Shooter: Complete 6-step tutorial for building a classic space shooter
  • Platformer: 7-step tutorial for building a side-scrolling platformer (Ember Quest)
  • Klondike: 5-step tutorial for building a solitaire card game

Example usage:

  • "Show me how to build a space shooter game" → Complete tutorial with all steps
  • "I want to create a platformer game" → Full platformer tutorial
  • "List all available tutorials" → Overview of all tutorials

📊 Architecture

┌─────────────────┐    ┌──────────────────┐    ┌─────────────────┐
│   MCP Client    │    │  Flame MCP       │    │  Documentation  │
│ (Claude/Amazon Q)│◄──►│     Server       │◄──►│     Cache       │
└─────────────────┘    └──────────────────┘    └─────────────────┘
                              │
                              ▼
                       ┌──────────────────┐
                       │   GitHub API     │
                       │ (flame-engine/   │
                       │    flame/doc)    │
                       └──────────────────┘

🔧 Configuration

GitHub Token (Recommended)

For better rate limits (5,000 vs 60 requests/hour):

  1. Create a GitHub Personal Access Token:

  2. Set environment variable:

    bash
    # macOS/Linux
    export GITHUB_TOKEN=your_token_here
    
    # Windows
    setx GITHUB_TOKEN "your_token_here"

📁 Project Structure

flame_mcp_server/
├── bin/
│   ├── flame_mcp_live.dart           # Main MCP server
│   └── flame_sync_standalone.dart    # Documentation sync utility
├── lib/src/
│   ├── flame_live_docs.dart          # Documentation management
│   └── flame_mcp_live.dart           # MCP protocol implementation
├── build/
│   └── flame_mcp_live                # Compiled MCP server
├── flame_docs_cache/                 # Cached documentation (146 files)
├── build_clean.sh                    # Build and setup script
└── README.md                         # This file

🎮 Example Interactions

Building a Space Shooter Game

You: "I want to build a space shooter game in Flame. Show me the complete tutorial."

Response: Complete 6-step tutorial including:

  • Project setup and basic game structure
  • Player controls and graphics
  • Animations and visual effects
  • Enemy spawning and movement
  • Shooting mechanics
  • Collision detection and scoring

Learning About Components

You: "How does the Flame component system work?"

Response: Detailed documentation about:

  • Component lifecycle
  • Component hierarchy
  • Built-in components
  • Creating custom components
  • Component communication

🔄 Maintenance

Refresh Documentation Cache

bash
# Update to latest Flame documentation
dart run bin/flame_sync_standalone.dart

Rebuild Server

bash
# Clean rebuild with fresh documentation
./build_clean.sh

📋 Prerequisites

  • Dart SDK: Version 3.2.0 or higher
  • Internet Connection: Required for initial documentation sync
  • MCP Client: Claude Desktop, Amazon Q CLI, or compatible client

🐛 Troubleshooting

Server Not Found

  • Ensure you're using the absolute path to the executable in your MCP config
  • Verify the executable exists: ls -la build/flame_mcp_live
  • Check file permissions: chmod +x build/flame_mcp_live

No Search Results

  • Run ./build_clean.sh to rebuild cache and server
  • Check cache exists: ls flame_docs_cache/
  • Verify cache has content: find flame_docs_cache -name "*.md" | wc -l (should show ~146)

Rate Limit Issues

  • Set up a GitHub personal access token (see Configuration section)
  • Check rate limit status in sync logs

📈 Performance

  • Documentation Files: 146 Markdown files
  • Cache Size: ~3 MB
  • Sync Time: 30-60 seconds (network dependent)
  • Memory Usage: <50 MB when running
  • Startup Time: <2 seconds

🤝 Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test with ./build_clean.sh
  5. Submit a pull request

📄 License

This project is licensed under the MIT License.

🔗 Related Links


Ready to start building games with Flame? Run ./build_clean.sh and add the server to your MCP client! 🎮

Use Flame MCP Server MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Flame MCP Server is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Flame MCP Server as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Flame MCP Server MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "flame-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Flame MCP Server MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Flame MCP Server MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Flame MCP Server to help me with this task?
Flame MCP Server
Sure. I read it.
Here is what I found using Flame MCP Server.

Frequently asked questions

What is the Flame MCP Server MCP server used for?

Flame MCP Server is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Flame MCP Server MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Flame MCP Server with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Flame MCP Server MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Flame MCP Server connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Flame MCP Server MCP to TypingMind?

Flame MCP Server runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Flame MCP Server MCP provide in TypingMind?

Flame MCP Server exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Flame MCP Server MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Flame MCP Server requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇