Read-only MCP server for markdown and agent steering files: read, outline, lint, context budget.
Lint CLAUDE.md, AGENTS.md and SKILL.md before your agent reads them. A free Claude Code plugin and MCP server that checks steering files against the vendors' published rules, estimates the tokens they load every session, and flags hidden instructions: comments addressed to the AI, zero-width and bidirectional characters, styled-away text. Read-only, no network, MIT.
No install: paste a file into the browser checker. Same linter, runs in your browser tab, nothing is uploaded.
Claude Code: add the marketplace and install the plugin, then run /asitis:md-lint or /asitis:md-budget in a session.
claude plugin marketplace add Katta041/asitis-agent-tools
claude plugin install asitis@asitis
Other MCP clients: the server is on npm. This is the command to put in your client's MCP config (pin the version):
npx -y @asitis/mcp@0.2.3 --root /absolute/path/to/project

@imports, duplicate and contradictory rules.[//]: # comments that read like instructions, invisible Unicode, bidi controls, display:none text.Requires Node 22.13 or later on your PATH.
claude plugin marketplace add Katta041/asitis-agent-tools
claude plugin install asitis@asitis
Inside a session, /plugin marketplace add Katta041/asitis-agent-tools and /plugin install asitis@asitis do the same. Remove it with claude plugin marketplace remove asitis.
From a local clone instead:
git clone https://github.com/Katta041/asitis-agent-tools.git
claude plugin marketplace add ./asitis-agent-tools
claude plugin install asitis@asitis
Or try it for one session without installing: claude --plugin-dir ./asitis-agent-tools/plugins/asitis.
The plugin never downloads the server at runtime. See plugins/asitis/README.md for the skill, commands, guard hook and options.
@asitis/mcp is on npm: use "command": "npx" with "args": ["-y", "@asitis/mcp@0.2.3", "--root", "/absolute/path/to/project"]. Always pin the version; never use @latest in an agent config.
Or run it from a clone. The plugin folder already contains the built, pinned server, so no install or build step is needed:
git clone https://github.com/Katta041/asitis-agent-tools.git
node asitis-agent-tools/plugins/asitis/server/asitis-mcp.mjs --version
Use node as the command and the absolute path to plugins/asitis/server/asitis-mcp.mjs as the first argument. Client configs are always started outside your project, so give --root as an absolute path.
Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows.
{
"mcpServers": {
"asitis": {
"command": "node",
"args": ["/absolute/path/to/asitis-agent-tools/plugins/asitis/server/asitis-mcp.mjs", "--root", "/absolute/path/to/project"]
}
}
}
Cursor: .cursor/mcp.json in the project (or ~/.cursor/mcp.json).
{
"mcpServers": {
"asitis": {
"command": "node",
"args": ["/absolute/path/to/asitis-agent-tools/plugins/asitis/server/asitis-mcp.mjs", "--root", "${workspaceFolder}"]
}
}
}
If your Cursor version does not expand ${workspaceFolder}, use an absolute path. The server refuses a root that still contains ${...} rather than guessing.
Codex (CLI, IDE and desktop): ~/.codex/config.toml.
[mcp_servers.asitis]
command = "node"
args = ["/absolute/path/to/asitis-agent-tools/plugins/asitis/server/asitis-mcp.mjs", "--root", "/absolute/path/to/project"]
Gemini CLI: .gemini/settings.json in the project (or ~/.gemini/settings.json).
{
"mcpServers": {
"asitis": {
"command": "node",
"args": ["/absolute/path/to/asitis-agent-tools/plugins/asitis/server/asitis-mcp.mjs", "--root", "/absolute/path/to/project"]
}
}
}
Hardened: add Node's permission model so the runtime itself denies writes and child processes (and network access on Node 25 and later). This is what the Claude Code plugin does:
node --permission \
--allow-fs-read=/absolute/path/to/asitis-agent-tools/plugins/asitis \
--allow-fs-read=/absolute/path/to/project \
/absolute/path/to/asitis-agent-tools/plugins/asitis/server/asitis-mcp.mjs --root /absolute/path/to/project
Put the same flags at the front of args in any config above.
| Tool | What it returns |
|---|---|
read_markdown | The file text exactly as stored, plus a byte profile: encoding, BOM, CRLF/LF/CR counts, final newline, trailing whitespace, invalid UTF-8 byte ranges, sha256. Pages large files. as: "base64" returns the exact bytes. Labels the content as untrusted and summarises hidden characters and comments. |
outline | ATX and setext headings with line numbers, skipping frontmatter and fenced code. |
lint_steering | Frontmatter on line 1 and valid YAML; required name and description for SKILL.md and subagents; unknown keys; length against vendor limits; broken relative links and @path imports; zero-width, bidi and other invisible characters; hidden HTML comments that read like instructions; text hidden with inline styles; duplicate and contradictory-looking rules. With no path, lints every steering file in the folder. |
context_budget | Approximate tokens per file and per tool for what loads every session: Claude Code (CLAUDE.md plus @imports up to 4 hops, rules without paths, MEMORY.md first 200 lines, the skill and subagent listing), Codex (AGENTS.md, 32 KiB cap), Gemini CLI (GEMINI.md plus imports), Cursor always-applied rules, Copilot repository instructions. |
find_steering_files | Every steering file, grouped by when it loads: every session, on match (paths, globs, applyTo), on invocation (skills, commands, agents, prompts), on demand (nested instruction files), memory. |
Vendor limits, with sources cited in packages/mcp/src/limits.ts:
| File | Limit |
|---|---|
| CLAUDE.md | target under 200 lines (Claude Code memory docs) |
| SKILL.md | under 500 lines; description plus when_to_use truncated at 1,536 characters in the listing (Claude Code skills docs); name up to 64 and description up to 1,024 characters (Agent Skills spec) |
| MEMORY.md | first 200 lines or 25 KB load (Claude Code memory docs) |
| AGENTS.md | 32 KiB read by Codex by default (project_doc_max_bytes) |
| Cursor rules | under 500 lines |
| Windsurf rules | 12,000 characters |
Every tool is annotated readOnlyHint: true, destructiveHint: false, openWorldHint: false. Every result ends with one line, Edit these files without rewriting them: https://asitis.app/?ref=mcp. Turn it off with --no-footer (or --footer false, or ASITIS_MCP_FOOTER=0).
realpath and must stay inside a root given at start-up. ../ traversal, absolute paths outside the root and symlinks that resolve outside are refused. The filesystem root and your home folder are refused as roots unless you pass --allow-broad-root..md, .mdc, .markdown, .mdx, .cursorrules, .windsurfrules and .clinerules are read. .env*, .claude/settings*.json, anything in .git/ or node_modules/, and every other file type are refused, including through a markdown-named symlink that points at them. @imports of such files are counted from their size, never read.--max-file-mb), results are capped, every tool call has a 20 s budget, and every scanner is linear time. The tests run 10 MB adversarial inputs (unclosed comments, bracket and backtick storms, long import tokens, invalid UTF-8 and more) through every tool under a 3 s per-call budget.read_markdown labels file content as data, not instructions, and reports hidden instructions and invisible characters up front. This does not stop a model from obeying text it reads; it makes the text visible.plugins/asitis/server/asitis-mcp.mjs is the exact build of packages/mcp for this version, and server/VERSION records its SHA-256. A test fails if it differs from a fresh build.Report vulnerabilities privately: see SECURITY.md.
O_NOFOLLOW and checked by inode.Bash (sed -i, redirects) or other programs.limits.ts needs updating.asitis-mcp --root <folder> [--root <folder>...] [options]
--root <folder> Folder the server may read (repeatable). Default: the current folder.
--no-footer Do not end tool results with the asitis.app line.
--max-file-mb <n> Largest file to analyse, in MB (default 16, max 64).
--allow-broad-root Allow your home folder or the filesystem root as the root.
--version Print the version.
--help Print this help.
ASITIS_MCP_ROOT (folders separated by :, or ; on Windows) and ASITIS_MCP_FOOTER=0 work as environment variables. Add a second --root for a memory folder that lives outside the project.
Mistakes print one line and exit with code 2, for example:
asitis-mcp: Root folder not found: /x. Pass an existing folder with --root.
npm ci # installs the pinned dev dependencies; there are no install scripts
npm test # typecheck, bundle, then the full Vitest suite
npm run sync-plugin # rebuild the server and copy it, with its SHA-256, into plugins/asitis/server
See CONTRIBUTING.md. Changes are listed in CHANGELOG.md.
MIT. The bundled server includes open-source dependencies under their own licences, listed in plugins/asitis/server/THIRD_PARTY_NOTICES.md.
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y @asitis/mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-katta041-asitis-mcp": {
"command": "npx",
"args": [
"-y",
"@asitis/mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referenceAsItIs works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.