About MiniCode
MiniCode is an MCP server published by LiuMengxuan04 in the Agents category: a lightweight terminal coding assistant with Claude Code-like workflow, tool loop, and TUI architecture, built for learning and experimentation. Multi-language support: TypeScript , Python and Rust implementations available now. Conduid read 23 tools from its source: ask_user, close_agent, edit_file, get_goal, get_mcp_prompt, grep_files and 17 more. No package is published for it, so it installs from a source checkout.
The repository has 1.2K stars and 124 forks, is licensed MIT, and its last commit was on 1 Dec 2026. Conduid has no tagged release on record for it. It passes all 5 static checks Conduid ran on the repository.
Install
git clone https://github.com/LiuMengxuan04/MiniCodeTools (23)
ask_userAsk the user a clarifying question and stop the current turn until the user replies.| Parameter | Type | Description |
|---|---|---|
| question * | string |
close_agentStop one running sub-agent. Use this when it is looping, no longer needed, or should not continue consuming model calls.| Parameter | Type | Description |
|---|---|---|
| agent_id * | string | The sub-agent ID to stop. |
edit_fileEdit a text file by replacing exact text.| Parameter | Type | Description |
|---|---|---|
| path * | string | |
| replace * | string | |
| replaceAll | boolean | |
| search * | string |
get_goalRead the current user-created Goal and its shared Plan.get_mcp_promptFetch a rendered optional MCP prompt by server, prompt name, and optional arguments.| Parameter | Type | Description |
|---|---|---|
| arguments | object | |
| name * | string | |
| server * | string |
grep_filesSearch for text in files using ripgrep.| Parameter | Type | Description |
|---|---|---|
| path | string | |
| pattern * | string |
list_agentsList all sub-agents created in this MiniCode process and their current status.list_filesList files in a directory relative to the workspace root.| Parameter | Type | Description |
|---|---|---|
| path | string |
list_mcp_promptsList optional MCP prompts exposed by connected MCP servers when a server actually publishes them.| Parameter | Type | Description |
|---|---|---|
| server | string |
list_mcp_resourcesList optional MCP resources exposed by connected MCP servers when a server actually publishes them.| Parameter | Type | Description |
|---|---|---|
| server | string |
load_skillLoad the full contents of a named SKILL.md file so you can follow that workflow accurately.| Parameter | Type | Description |
|---|---|---|
| name * | string |
modify_fileReplace a file with reviewed content so the user can approve the diff first.| Parameter | Type | Description |
|---|---|---|
| content * | string | |
| path * | string |
patch_fileApply multiple exact-text replacements to one file in a single operation.| Parameter | Type | Description |
|---|---|---|
| path * | string | |
| replacements * | array |
read_fileRead a UTF-8 text file relative to the workspace root. Large files can be read in chunks via offset and limit.| Parameter | Type | Description |
|---|---|---|
| fresh | boolean | Return the full content even when this unchanged region was read before. |
| limit | number | |
| offset | number | |
| path * | string |
read_mcp_resourceRead a specific optional MCP resource by server and URI.| Parameter | Type | Description |
|---|---|---|
| server * | string | |
| uri * | string |
run_commandRun a common development command from an allowlist. For shell pipelines or variable expansion, pass the full snippet in command and mini-code will run it via bash -lc.| Parameter | Type | Description |
|---|---|---|
| args | array | |
| command * | string | |
| cwd | string |
spawn_agentStart a read-only sub-agent for one independent research task. It runs in the background and cannot edit code. At most 3 sub-agents may run concurrently.| Parameter | Type | Description |
|---|---|---|
| task * | string | A specific, self-contained investigation task. |
update_goalSet completion criteria after updating the Plan, or explicitly report blocked/completed. Completion requires all Todos completed and one actual check explanation per criterion. Cannot create, edit the objective, pause, or resume a Goal.| Parameter | Type | Description |
|---|---|---|
| action * | string | |
| checks | array | |
| criteria | array | |
| reason | string | |
| summary | string |
update_planUpdate the current session Todo list. Send the complete list to add, edit, remove, reorder, or change status. Keep IDs for existing Todos; omit IDs for new ones. At most one Todo may be in_progress. An empty list clears the plan. This tool does not execute tasks or continue the conversation.| Parameter | Type | Description |
|---|---|---|
| explanation | string | Optional brief reason for the update. |
| todos * | array |
wait_agentWait for selected sub-agents to finish and return their reports. A timeout returns their latest states without closing them.| Parameter | Type | Description |
|---|---|---|
| agent_ids * | array | Sub-agent IDs returned by spawn_agent. |
| timeout_ms | number | Maximum wait time in milliseconds. Defaults to 30000. |
web_fetchFetch a web page and extract its readable text content. Use this after web_search when you need the full content of a specific page.| Parameter | Type | Description |
|---|---|---|
| max_chars | number | Maximum number of characters to return from the page content. Defaults to 12000. |
| url * | string | HTTP or HTTPS URL to fetch. |
web_searchSearch the public web using DuckDuckGo. Use this for current information, documentation, or anything outside the local workspace.| Parameter | Type | Description |
|---|---|---|
| allowed_domains | array | Only return results from these domains. |
| blocked_domains | array | Exclude results from these domains. |
| max_results | number | Maximum number of results to return. Defaults to 5. |
| query * | string | Search query. |
write_fileWrite a UTF-8 text file relative to the workspace root.| Parameter | Type | Description |
|---|---|---|
| content * | string | |
| path * | string |
Security checks
Static checks derived from the repository 4 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.1K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
- ✓No dynamic code executionScanned 78 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
What the source scan found
- Transport
- None found in the source
- Starts other programs
- 5 callssrc/mcp.ts:500, src/tools/run-command.ts:214, src/tty-app.ts:376
- Outbound network calls
- 3 callssrc/anthropic-adapter.ts:345, src/mcp.ts:923, src/utils/web.ts:86
- Writes or deletes files
- No file writes or deletes
- Lockfile
- package-lock.json
Pattern matches on the source text of 78 files: places to read, not proof of what the code does at run time.
README
The repository's README runs to about 1.1K words, fetched 4 days ago. The original in the repository is authoritative.
Read full README