cwtools-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@cwtools-mcpCheck my Stellaris mod for syntax errors and show diagnostics."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
cwtools-mcp
English
Read-only Model Context Protocol server that exposes the CWTools Paradox/Stellaris semantic tools (project knowledge pack, bounded project graph, syntax check, scope queries, definitions, references, diagnostics, scripted triggers/effects/enums, and seven Shader queries) to external agents such as Codex and Claude Code.
This repository was split out of
cwtools-vscode, which vendors it
back as the submodules/cwtools-mcp submodule. The VS Code extension no longer
bundles the MCP server — install it standalone:
npm:
npx -y cwtools-mcp --stdioSingle file: download
cwtools-mcp.cjsfrom Releases and point your MCP client atnode cwtools-mcp.cjs --stdio
By default the proxy bridges into the active VS Code-compatible host (VS Code,
Insiders, VSCodium, Cursor, Antigravity) through the bridge-manifest.json the
extension writes under its globalStorage, auto-discovered across all
supported hosts — reusing the IDE's CWTools language client and diagnostics
instead of starting a second server. A legacy self-hosted LSP mode is available
with --standalone.
Setup
# Codex
codex mcp add cwtools -- npx -y cwtools-mcp --stdio
# Claude Code
claude mcp add cwtools --scope user -- npx -y cwtools-mcp --stdioFor hand-written ~/.codex/config.toml, --standalone / --rules / --cache
/ --game-path advanced options, and Antigravity setup, see
packages/cwtools-mcp/README.md.
Development
git submodule update --init # pulls submodules/cwtools-stellaris-config (CWT rules for tests/dev)
npm install
npm run build # build both packages (cwtools-shared, cwtools-mcp)
npm run test:contracts # contract tests (schema drift, read-only, routing)
npm run bundle # single-file dist/cwtools-mcp.cjs via esbuildThe MCP tool schema is generated, not handwritten: it is produced by
tools/generate-mcp-schema.cjs in the
cwtools-vscode repository from the
extension's tool definitions, and committed here under
packages/cwtools-shared/src/generated/mcpTools.ts.
Publishing
Both packages are published to npm (cwtools-shared first, then
cwtools-mcp). Tags (v*) trigger a GitHub Release with the single-file
cwtools-mcp.cjs attached.
Related MCP server: code-analyze-mcp
中文
只读的 Model Context Protocol 服务,把 CWTools 的 Paradox/Stellaris 语义工具(项目知识包、有界项目语义图、语法检查、 作用域查询、定义/引用、诊断、scripted triggers/effects/enums 和七个 Shader 查询)开放给 Codex、Claude Code 等外部 Agent。
本仓库从 cwtools-vscode 拆出,
主仓库以 submodules/cwtools-mcp submodule 形式挂回。VS Code 扩展不再随包
携带 MCP 服务——请独立安装:
npm:
npx -y cwtools-mcp --stdio单文件:从 Releases 下载
cwtools-mcp.cjs,MCP 客户端配置node cwtools-mcp.cjs --stdio
默认模式下代理会通过扩展写入 globalStorage 的 bridge-manifest.json
(在所有受支持宿主中自动发现:VS Code / Insiders / VSCodium / Cursor /
Antigravity)桥接进已激活的 VS Code 兼容宿主,复用 IDE 已有的 CWTools 语言
客户端与诊断,不启动第二个服务。旧的自托管 LSP 模式可用 --standalone
显式启用。
接入
# Codex
codex mcp add cwtools -- npx -y cwtools-mcp --stdio
# Claude Code
claude mcp add cwtools --scope user -- npx -y cwtools-mcp --stdio~/.codex/config.toml 手写配置、--standalone / --rules / --cache /
--game-path 高级选项与 Antigravity 接入方式见
packages/cwtools-mcp/README.md。
开发
git submodule update --init # 拉取 submodules/cwtools-stellaris-config(测试/开发用 CWT 规则)
npm install
npm run build # 构建两个包(cwtools-shared、cwtools-mcp)
npm run test:contracts # 合约测试(schema 漂移、只读、路由)
npm run bundle # esbuild 产出单文件 dist/cwtools-mcp.cjsMCP 工具 schema 为生成物,不手写:由
cwtools-vscode 仓库的
tools/generate-mcp-schema.cjs 从扩展工具定义生成,提交在本仓库
packages/cwtools-shared/src/generated/mcpTools.ts。
发布
两个包都发布到 npm(先 cwtools-shared,再 cwtools-mcp)。打 v* 标签会
触发 GitHub Release 并附带单文件 cwtools-mcp.cjs。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceA lightning-fast, language-agnostic code analysis MCP (Model Context Protocol) server built in RustLast updated7
- Alicense-qualityBmaintenanceStandalone MCP server for code structure analysis using tree-sitter. Directory trees, symbol definitions, and call graphs without reading raw source files. Supports Rust, Python, Go, Java, TypeScript, Fortran, JavaScript, C/C++, and C#. Benchmarked up to 68% fewer tokens vs native tools.Last updated7Apache 2.0
- FlicenseAqualityCmaintenanceMinimal MCP server bridging a Roslyn C# language server to AI agents, exposing tools for diagnostics, call hierarchy, and type hierarchy.Last updated21
- FlicenseAqualityBmaintenanceAn MCP stdio server that wraps language servers to expose read-oriented code-intelligence tools (hover, definition, references, diagnostics, etc.) for coding agents, supporting TypeScript/JavaScript and Python.Last updated561
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Read-only MCP server for the WebAssembly spec: instructions, types, sections, search, proposals.
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Aa728848/cwtools-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server