Repository navigation
Description
Summary
The txAdmin skill tells Cursor users to put TXADMIN_USERNAME and TXADMIN_PASSWORD in the env block of .cursor/mcp.json, which is a tracked file in this repo (and commonly committed in users' own repos). Following the documented setup puts admin credentials into a version-controlled file. The repo itself contains only placeholder values.
Where
skills/txadmin-integration/SKILL.md:34("add them to theenvblock of the server entry in.cursor/mcp.json")skills/txadmin-integration/SKILL.md:36-51(example with"TXADMIN_PASSWORD": "your-admin-password")skills/txadmin-integration/SKILL.md:24("never ... written to the repository").cursor/mcp.json(tracked).gitignore:25-27(.cursor/*then!.cursor/mcp.json)
Details
.gitignore deliberately un-ignores .cursor/mcp.json, and git ls-files lists it. The documented workflow is to work inside the clone, so a user who follows the skill and then commits or opens a PR can push a txAdmin admin password. The skill's own statement at line 24 contradicts its example. README, docs/GETTING-STARTED.md and mcp-server/README.md do not mention these variables at all, so the skill is the only guidance.
Impact
A txAdmin account with control.server, commands.resources or players.kick (often a full admin) can stop the server and manage players. Committing its password, especially to a public repo, exposes control of the game server's panel.
Steps to reproduce
- Follow
skills/txadmin-integration/SKILL.md:34-51inside the clone. - Run
git status:.cursor/mcp.jsonis modified and staged changes would include the password.
Suggested fix
- Recommend setting the variables in the user's shell or OS environment, or in the user-level
~/.cursor/mcp.json, which is never committed. If Cursor supports env interpolation inmcp.json(for example${env:TXADMIN_PASSWORD}), show that form instead of literals. - Add an explicit warning not to put credentials in the tracked project file.
- Optionally support a local, git-ignored override file.
- Add the env var table (with
TXADMIN_URLdefaulthttp://127.0.0.1:40120) to README andmcp-server/README.md.
Acceptance criteria
- No doc shows credential values inside a tracked config file.
- The skill explains where to set the variables safely and warns against committing them.
- README and
mcp-server/README.mdlist the txAdmin env vars.
Getting started
- Relevant files:
skills/txadmin-integration/SKILL.md,.gitignore,README.md,mcp-server/README.md - How to run checks: there is no test suite yet; run the MCP server with
cd mcp-server && pip install -r requirements.txt && python server.py, and CI checks live in.github/workflows/validate.yml - Related docs: Cursor MCP configuration docs
Filed by repo-audit/full-audit at 701824d. Severity: medium. Effort: S. audit-key: documentation|skills/txadmin-integration/SKILL.md|TXADMIN_PASSWORD
Activity
docs: fix README and docs home quick start, counts and structure (#45)
TMHSDigital commentedon Nov 21, 2026
Fixed in 5149e6e.
The txAdmin skill now tells users to set the credentials in the OS/shell environment, warns against putting them in project files like .cursor/mcp.json, and shows
${env:NAME}references instead of literal values; README and mcp-server/README document the environment variables with defaults.Verified:
git grepfinds no literal credential values in any tracked config or doc.