Carve
Parse, lint, format, render, and migrate Carve documents through MCP.
Connector by markup-carve · GitHub account verified by the MCP Registry
Chalk Labs
Need help deploying Carve?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/markup-carve-carve-mcp
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 25, 2026.
- Tools
- 21 read · 1 write · 2 delete · 1 not yet classified
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Tools by what they do 25
Read from the source code; the running server may list different tools.
Read 21 · Look things up without changing anything.
carve_apply_ast_patchcarve_apply_reversible_ast_patchcarve_check_targetscarve_create_ast_patchcarve_create_reversible_ast_patchcarve_diagnose_and_fixcarve_formatcarve_get_blockcarve_lintcarve_list_filescarve_migratecarve_parse
Show 9 more tools
carve_plan_ast_editcarve_prepare_editcarve_prepare_workspace_editscarve_read_filecarve_reference_graphcarve_rendercarve_review_workspacecarve_select_ast_nodescarve_workspace_info
Write 1 · Create, change, send or run things.
carve_replace_source
Delete 2 · Delete, drop, revoke or wipe things.
carve_undo_reviewed_editcarve_write_file
Not yet classified 1 · We could not tell from the name and description.
carve_reviewed_edit
Network hosts it talks to 4
api.github.com· found in codegithub.com· found in codemarkup-carve.github.io· found in codex.org· found in code
Files it touches
- Any path the agent passes to its tools
Tools (25)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
carve_apply_ast_patchApply structured AST patchread-onlyValidate and apply structured operations to a PART 12 Carve AST, returning the patched AST and canonical Carve source.
carve_apply_reversible_ast_patchPreview reversible AST patch as source editsread-onlyVerify a reversible AST patch against source, apply or undo it, and return a minimal stale-guarded UTF-8 source edit without writing files.
carve_check_targetsCheck Carve publishing targetsread-onlyCompare one Carve document across HTML, Markdown, plain text, ANSI, GitHub, WordPress, and PDF-stage profiles, returning target-specific warnings, losses, and fallbacks.
carve_create_ast_patchCreate structured AST patchread-onlyCompare two PART 12 Carve ASTs and return position-independent add, replace, and remove operations.
carve_create_reversible_ast_patchCreate reversible AST patchread-onlyCompare two PART 12 ASTs and return forward and inverse operations with semantic stale-edit fingerprints.
carve_diagnose_and_fixDiagnose and fix Carveread-onlyDiagnose Carve source, propose bounded fixes, and optionally apply selected safe fix IDs with forward and undo patches. Writer-review fixes are never applied automatically.
carve_formatFormat Carveread-onlyFormat Carve source canonically and report any lossy raw-format nodes.
carve_get_blockGet Carve source blocksread-onlyReturn the exact source text of the nodes a selector matches, or a heading's section, with UTF-8 byte offsets and the source sha256. No AST unless includeAst.
carve_lintLint Carveread-onlyCheck Carve source for author-facing problems and silent degradation.
carve_list_filesList Carve workspace filesread-onlyList supported document files inside an explicitly configured root, with bounded recursion and no host paths.
carve_migrateMigrate to Carveread-onlyMigrate HTML, Markdown, Djot, or BBCode source to Carve with version 2 fidelity diagnostics.
carve_parseParse Carveread-onlyParse and resolve Carve into its position-aware interchange AST.
carve_plan_ast_editPlan a semantic AST editread-onlyPlan one or more atomic semantic AST edits and return a human-readable, reversible, stale-guarded source patch without writing the document.
carve_prepare_editPreview canonical Carve formattingread-onlyRead and canonically format a Carve workspace file without writing. A lossless result includes a stale-guarded patch with UTF-8 byte ranges; a lossy writer-review result has patch: null.
carve_prepare_workspace_editsPreview canonical formatting across a workspaceread-onlyPrepare bounded formatting proposals and unified diffs without writing. Lossless items include stale-guarded UTF-8 byte patches; lossy writer-review items have patch: null.
Show 10 more tools
carve_read_fileRead Carve workspace fileread-onlyRead a UTF-8 text file inside an explicitly configured workspace root.
carve_reference_graphBuild Carve reference graphread-onlyIndex headings, footnotes, abbreviations, links, and images across bounded Carve workspace files; report resolved edges, broken references, and orphaned definitions.
carve_renderRender Carveread-onlyRender Carve to HTML, Markdown, plain text, or ANSI terminal text, with loss reporting.
carve_replace_sourceReplace Carve source of one nodeSplice Carve text over the exact source bytes of one selected node or heading section, leaving every other byte untouched. Refuses if the node kind changes, the rest of the document parses differently, or new lint findings appear. Returns forward and undo patches.
carve_review_workspaceReview Carve workspaceread-onlyLint Carve files and validate local links across a bounded workspace scan. Strict mode also checks includes and fails incomplete scans.
carve_reviewed_editPreview or apply a reviewed block editReplace one selected Carve block, check the proposed result against local lint and workspace references and includes, then return exact forward and undo patches. A write requires the source hash and a complete project scan.
carve_select_ast_nodesFind AST nodes by semantic selectorread-onlyResolve an element ID on any node, a heading ID, footnote label, node type, or current AST path to reviewable PART 12 AST paths without silently choosing among multiple matches.
carve_undo_reviewed_editUndo a reviewed block editcan change or delete dataRestore exact source bytes from a signed receipt while the edited file hash still matches.
carve_workspace_infoList configured Carve workspace rootsread-onlyList root indexes and whether writes are enabled. Paths are intentionally not exposed.
carve_write_fileWrite Carve workspace filecan change or delete dataDry-run by default; atomically write UTF-8 text only when dryRun is false. Overwrites require the hash returned by carve_read_file.
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Weekly downloads
- 230
- Last commit
- Oct 23, 2026 (7 days ago)
- Last release
- Oct 25, 2026 (5 days ago)
- Last package publish
- Oct 23, 2026 (8 days ago)
From GitHub (fetched Oct 24, 2026) and the package registry.
Details
- Registry name
io.github.markup-carve/carve-mcp- Version
- 0.1.12
- Auth
- No auth
- Packages
- npm @markup-carve/carve-mcp
- License
- MIT
- Repository
- github.com/markup-carve/carve-mcp
- First seen
- Oct 24, 2026
- Last checked
- Oct 26, 2026
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get Carve running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
Carve MCP server. Agent Mart. https://agentmart.dev/connectors/markup-carve-carve-mcp (last updated 2026-10-26)