
Specter Skills
io.github.dirtcubeinteractive由 GitHub 帳號 dirtcubeinteractive 發布v0.11.1更新於 Oct 25, 2026
Configure a Specter game backend from chat: economy, progression, leaderboards, multiplayer.
概覽
Specter Skills 打包了 Claude 技能與 MCP 伺服器,讓助理撰寫 Specter 遊戲後端整合程式碼,並在對話中設定 Specter 專案。
- 可以做什麼
- 檢查專案:驗證設定,列出貨幣、物品、組合包、商店、事件、任務、排行榜、錦標賽、戰鬥通行證、等級系統與標記,並讀取沙箱測試玩家的狀態與獎勵紀錄、領取即時獎勵、觸發自訂事件、端對端測試成就,以及產生 JavaScript 或 Unity C# 用戶端程式碼。在啟用變更後建立與編輯後端內容:貨幣、物品、組合包、商店、兌換與策略、事件、任務、任務鏈與其他成就類型、戰鬥通行證、等級系統、進度標記、對局範本、排行榜與競賽、排程與營運活動,以及發放獎勵。透過通用工具呼叫任意管理端或用戶端介面。
- 適用情境
- 適用於以 Specter 後端開發遊戲時,希望助理寫出正確的整合程式碼,並在不開啟主控台的情況下設定經濟、進度、競賽或多人對戰。唯讀檢查與設定驗證不需啟用變更即可使用。
- 執行需求
- 以 npx 在本機執行的程序,需要 Node.js 18 或更新版本。需要一個 Specter 專案及 Specter 主控台中的 API 金鑰。建立內容需要一次性瀏覽器登入,並在本機儲存可撤銷的權杖;CI 情境可用 SPECTER_ADMIN_TOKEN 取代登入。選用變數:SPECTER_ENV(staging 或 production,預設 staging)、SPECTER_ALLOW_MUTATIONS、SPECTER_API_KEY、SPECTER_PROJECT_ID。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Specter Skills,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
specter-skills
[npm version] [node] [license]
Build your game backend by talking to Claude.
specter-skills teaches Claude everything about Specter — the
game backend platform — so you can add player accounts, an in-game economy, daily quests,
leaderboards, tournaments, battle passes, and real-time multiplayer to your game in plain English,
and get correct, working code plus the ability to configure your backend without ever
opening the dashboard.
No SDK to learn. No API docs to read. Install it, then ask.
Contents
- What's inside
- Quickstart
- Installation
- The skills
- The MCP server · Setup · Sign in · Tools · Configuration
- Things to ask Claude
- Checking the version & updating
- Requirements
- Troubleshooting
What's inside
This one package ships two halves of the same product:
Skills work in Claude Code, Claude Desktop, the Claude Agent SDK, and any other skills-aware host. The MCP server works in any MCP-compatible host (Claude Desktop, Claude Code, …).
Quickstart
1. Install the skills in your game project:
2. Get your API key from console.specterapp.xyz (Project → API Keys).
3. Ask Claude to build something:
"Add Specter email login and a gem currency to my Unity game."
The right skill activates automatically and Claude writes the integration. That's it.
💡 Want Claude to also set up the backend for you (create currencies, quests, leaderboards)? Add the MCP server and ask "create a gems currency and a daily login quest in my Specter project."
Installation
Skills are copied into .claude/skills/ (project) or ~/.claude/skills/ (global). They're plain
files you can commit to your repo.
The skills
Each skill has a concise guide plus per-endpoint references (request fields, response examples) generated directly from Specter's API, and ready-to-paste JavaScript / Unity examples where useful — so the code Claude writes stays accurate.
The MCP server
The same package ships an MCP server, specter-mcp, that lets Claude inspect and configure a
Specter backend directly. The skills teach Claude the API; the MCP server lets it use the API.
"What currencies does my project have?" · "Is my setup working?" · "Create a gems currency and a daily quest that rewards 100 coins."
Setup
The easy way — npx specter-skills init offers to set this up for you (it writes the config,
no JSON editing). Or run it any time:
Then restart your MCP host and the specter tools appear. (Claude Desktop and Claude Code are
different apps with separate configs — pick the one you actually use.)
Manual setup (if you prefer to edit the config yourself)
Add to your MCP host config (e.g. Claude Desktop's claude_desktop_config.json):
Read-only tools work immediately; creating things needs a one-time sign-in — no api-key or project ID to configure.
Signing in (no password needed)
To create anything, Claude needs to act as you — so you authorize it once through your browser.
The first time it's needed, Claude runs the specter_login tool (or run it yourself in a terminal):
What happens:
- Your browser opens the Specter dashboard.
- You sign in however you normally do — email/password, Google, or Apple.
- You approve a consent screen ("Allow specter-mcp to manage your projects").
- Done — a revocable token is saved locally (
~/.specter/credentials.json). You stay signed in.
Your password and social credentials never touch the tool or Claude. Revoke access anytime
from the dashboard. Manage the session with specter-mcp whoami and specter-mcp logout.
ℹ️ Run
specter-mcpcommands from any folder except thespecter-skillssource folder itself (npx gets confused there).
Tools
Read-only — always available, safe to run:
Read tools use your browser sign-in (run
specter_loginonce) — no separate api-key to configure.
Client / runtime — act as a sandboxed test player to exercise the game-facing /v2/client API and prove your config works:
Mutating — opt-in (SPECTER_ALLOW_MUTATIONS=true), gated behind your confirmation:
The achievement tools resolve friendly names for you — pass event as an event slug/name,
rewards as [{currency:"gems", quantity:50}] (or item/bundle/marker), and the tool
resolves them to the right ids. Creating an achievement does not make it live — call
specter_schedule_achievement to activate it.
Mutating tools change live game configuration, so they're flagged non-read-only and your MCP host asks for confirmation before each one. Point them at a staging project first.
Your project is auto-detected from your sign-in — there's no project ID to look up. (Only set
SPECTER_PROJECT_ID if your organisation has several projects and you want to pin one.)
Configuration
All configuration is via env vars in your MCP host config:
Things to ask Claude
Once installed, just describe what you want — the right skill (and MCP tool) kicks in automatically:
- "Add silent device login and a coins wallet to my game."
- "Set up a daily quest: play 5 matches → reward 200 coins. Create it in my Specter project and give me the client code."
- "Create a premium gem currency and a starter store that sells a 'Sword' item for 100 gems."
- "Add a weekly leaderboard with top-10 prize distribution."
- "Build a battle pass with 30 tiers."
- "Add skill-based matchmaking with parties — show me the WebSocket events to handle."
- "Why am I getting a 429 from Specter?"
- "Is my Specter project set up correctly?"
Checking the version & updating
npxcaches packages for ~24h. Ifupdatepulls an old version, force the latest withnpx specter-skills@latest update. The MCP server (npx … specter-mcp) always fetches the latest published version the same way.
Requirements
- Node.js 18+
- A Specter project + API key (console.specterapp.xyz)
- A skills-aware Claude host (Claude Code, Claude Desktop, or the Agent SDK) for the skills; an MCP-compatible host for the server
Troubleshooting
Links
- 🎮 Dashboard: console.specterapp.xyz
- 📦 npm: npmjs.com/package/specter-skills
Maintenance (Specter team)
- Endpoint references are generated.
npm run generateregeneratesskills/*/references/endpoints{,/-index}.mdfromgamestarz_dashboard_backend/docs/api/(override the source dir withSPECTER_DOCS_DIR). Unmapped endpoint docs fail the build, so the skills can't silently drift from the API. - Secret linter.
npm run lint:secrets(also runs onprepublishOnly) blocks secrets and internal hostnames from being published. - Hand-written content lives in each skill's
SKILL.mdand the non-generatedreferences/*.md. The MCP server lives inmcp/src/.
Releasing
The files allowlist ships bin/, skills/, mcp/src/*.mjs, and README.md. Skills and the
MCP server publish together as the single specter-skills package.
來源:README.md,提交 ceed3a5
工具
0版本歷史
1- v0.11.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分