Summer Jam #2参加
返回 MCP 概览

Summer Engine MCP 指南

在 Claude Code、Cursor 和 Codex 中制作真实游戏 - Summer Engine MCP

将 Claude Code、Cursor、Codex,或 Ollama、LM Studio 等免费本地模型连接到 Summer Engine,制作面向 Steam、PC、Mac、mobile 和主机流程的真实游戏。 Summer Engine 是桌面游戏引擎;Ollama 通过 MCP 用一个在你自己硬件上运行的模型来驱动它。

Ollama 在你的硬件上免费运行。Summer Engine 展示游戏。
01

Summer 可免费用于 MCP

下载桌面引擎并把它连接到你的 agent。模型在你自己的硬件上运行——没有 AI 订阅,也没有按消息计费。

02

打开 Ollama

在你自己的 GPU 上运行免费的本地模型。setup 会写入 MCP 配置,让 {agentLabel} 直接驱动引擎。

03

启动一个真正的游戏

本地模型写代码。Summer Engine 展示游戏,运行 Play mode,并导出面向 Steam、desktop、mobile 和主机流程的项目。

配置说明

2026 年的实际情况。

Pair Ollama with an MCP agent

Ollama serves the model but is not an MCP client by itself. Pair it with OpenCode (terminal), Kilo Code (VS Code), or Goose — the setup command above wires OpenCode, the most common pairing in 2026. Point its provider at http://localhost:11434/v1.

Fix the context window first

Ollama defaults to a 4k context on GPUs under 24 GB of VRAM, and MCP tool schemas alone can overflow that — the failure is silent. Start the server with OLLAMA_CONTEXT_LENGTH=65536 (or raise the slider in the Ollama app), then run `ollama ps` to confirm the model still fits on the GPU.

Models that hold up

Tool calling is the hard part for local models. Safe picks in mid-2026: gpt-oss-20b on 12–16 GB cards, Qwen3-Coder-30B or Gemma 4 27B on 24 GB. Use Q4_K_M quantization or better — heavier quantization breaks tool calls before it breaks chat.

为什么重要

Ollama 在你的硬件上免费运行。Summer Engine 展示游戏。

足够强的本地模型可以通过 MCP 操作真正的引擎:打开场景、放置物体、运行项目、读取错误。思考由你的 GPU 完成——没有订阅,没有按 token 计费,你的 prompt 也永远不会离开你的机器。

从 Ollama 开始。在 Summer 里构建。

免费安装桌面应用,连接 MCP 服务器,让你的第一个场景变得可玩——无需订阅。