About Mycoder
Mycoder is an MCP server published by bhouston in the Agents category: simple to install, powerful command-line based AI agent system for coding. Conduid read 16 tools from its source: agentDone, agentExecute, agentMessage, agentStart, compactHistory, fetch and 10 more. No package is published for it, so it installs from a source checkout.
The repository has 568 stars and 52 forks, is licensed MIT, and its last commit was on 7 Jan 2026. The latest release is mycoder-agent-v1.7.0 (21 Mar 2025): mycoder-agent-v1.7.0 (2025-03-21) Bug Fixes Fix TypeScript errors and tests for message compaction feature (d4f1fb5) Features Add automatic compaction of historical mess… It follows mycoder-v1.6.0 (21 Mar 2025), and the 5 most recent releases go back to mycoder-agent-v1.5.0 (20 Mar 2025). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include coder, coding, software, swe, swe-agent and tool-use.
Install
git clone https://github.com/bhouston/mycoderTools (16)
agentDoneCompletes the tool use sequence and returns the final result| Parameter | Type | Description |
|---|---|---|
| result * | string | The final result to return from the tool agent |
agentExecuteCreates a sub-agent that has access to all tools to solve a specific task| Parameter | Type | Description |
|---|---|---|
| description * | string | A brief description of the sub-agent's purpose (max 80 chars) |
| goal * | string | The main objective that the sub-agent needs to achieve |
| projectContext * | string | Context about the problem or environment |
| relevantFilesDirectories | string | A list of files, which may include ** or * wildcard characters |
| workingDirectory | string | The directory where the sub-agent should operate |
agentMessageInteracts with a running sub-agent, getting its current state and optionally providing guidance| Parameter | Type | Description |
|---|---|---|
| agentId * | string | The ID returned by agentStart |
| description * | string | The reason for this agent interaction (max 80 chars) |
| guidance | string | Optional guidance or instructions to send to the sub-agent |
| terminate | boolean | Whether to terminate the sub-agent (default: false) |
agentStartStarts a sub-agent and returns an instance ID immediately for later interaction| Parameter | Type | Description |
|---|---|---|
| description * | string | A brief description of the sub-agent's purpose (max 80 chars) |
| goal * | string | The main objective that the sub-agent needs to achieve |
| projectContext * | string | Context about the problem or environment |
| relevantFilesDirectories | string | A list of files, which may include ** or * wildcard characters |
| userPrompt | boolean | Whether to allow the sub-agent to use the userPrompt tool (default: false) |
| workingDirectory | string | The directory where the sub-agent should operate |
compactHistoryCompacts the message history by summarizing older messages to reduce token usage| Parameter | Type | Description |
|---|---|---|
| customPrompt | string | Optional custom prompt for the summarization |
| preserveRecentMessages | number | Number of recent messages to preserve unchanged |
fetchExecutes HTTP requests using native Node.js fetch API, for using APIs, not for browsing the web.| Parameter | Type | Description |
|---|---|---|
| body | object | Optional request body (for POST, PUT, PATCH requests) |
| headers | object | Optional request headers |
| maxRetries | number | Maximum number of retries for 4xx errors (default: 3) |
| method * | string | HTTP method to use (GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS) |
| params | object | Optional query parameters to append to the URL |
| retryDelay | number | Initial delay in ms before retrying (default: 1000) |
| slowMode | boolean | Enable slow mode to avoid rate limits (default: false) |
| url * | string | URL to make the request to |
listAgentsLists all sub-agents and their status| Parameter | Type | Description |
|---|---|---|
| status | string | Filter agents by status (default: "all") |
| verbose | boolean | Include detailed information about each agent (default: false) |
listSessionsLists all browser sessions and their status| Parameter | Type | Description |
|---|---|---|
| status | string | Filter browser sessions by status (default: "all") |
| verbose | boolean | Include detailed metadata about each browser session (default: false) |
listShellsLists all shell processes and their status| Parameter | Type | Description |
|---|---|---|
| status | string | Filter shells by status (default: "all") |
| verbose | boolean | Include detailed metadata about each shell (default: false) |
mcpInteract with Model Context Protocol (MCP) servers to retrieve resources and execute toolsshellMessageInteracts with a running shell process, sending input and receiving output| Parameter | Type | Description |
|---|---|---|
| description * | string | The reason for this shell interaction (max 80 chars) |
| shellId * | string | The ID returned by shellStart |
| showStdIn | boolean | Whether to show the input to the user, or keep the output clean (default: false or value from shellStart) |
| showStdout | boolean | Whether to show output to the user, or keep the output clean (default: false or value from shellStart) |
| signal | string | Signal to send to the process (e.g., SIGTERM, SIGINT) |
| stdin | string | Input to send to process |
shellStartStarts a shell command with fast sync mode (default 100ms timeout) that falls back to async mode for longer-running commands| Parameter | Type | Description |
|---|---|---|
| command * | string | The shell command to execute |
| description * | string | The reason this shell command is being run (max 80 chars) |
| showStdIn | boolean | Whether to show the command input to the user, or keep the output clean (default: false) |
| showStdout | boolean | Whether to show command output to the user, or keep the output clean (default: false) |
| stdinContent | string | Content to pipe into the shell command as stdin (useful for passing multiline content to commands) |
| timeout | number | Timeout in ms before switching to async mode (default: 10s, which usually is sufficient) |
textEditorView, create, and edit files with persistent state across command calls| Parameter | Type | Description |
|---|---|---|
| command * | string | The commands to run. Allowed options are: `view`, `create`, `str_replace`, `insert`, `undo_edit`. |
| description * | string | The reason you are using the text editor (max 80 chars) |
| file_text | string | Required parameter of `create` command, with the content of the file to be created. |
| insert_line | number | Required parameter of `insert` command. The `new_str` will be inserted AFTER the line `insert_line` of `path`. |
| new_str | string | Optional parameter of `str_replace` command containing the new string (if not given, no string will be added). Required parameter of `insert` command containing the string to insert. |
| old_str | string | Required parameter of `str_replace` command containing the string in `path` to replace. |
| path * | string | Absolute path to file or directory, e.g. `/repo/file.py` or `/repo`. |
| view_range | array | Optional parameter of `view` command when `path` points to a file. If none is given, the full file is shown. If provided, the file will be shown in the indicated line number range, e.g. [11, 12] will show lines 11 and 12. Indexing at 1 to start. Setting `[start_line, -1]` shows all lines from `start_line` to the end of the file. |
userMessageSends a message or correction from the user to the main agent| Parameter | Type | Description |
|---|---|---|
| description * | string | The reason for this message (max 80 chars) |
| message * | string | The message or correction to send to the main agent |
userPromptPrompts the user for input and returns their response| Parameter | Type | Description |
|---|---|---|
| prompt * | string | The prompt message to display to the user |
waitPauses execution for the specified number of seconds, useful when waiting for async tools to make progress before checking on them| Parameter | Type | Description |
|---|---|---|
| seconds * | number | Number of seconds to sleep (max 1 hour) |
Security checks
Static checks derived from the repository 2 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 pnpm-lock.yaml.
- !No dynamic code executionScanned 75 source files and found 4 calls to eval or shell execution, in packages/agent/src/tools/session/lib/browserDetectors.ts:196, packages/agent/src/tools/session/lib/browserDetectors.ts:214 and packages/agent/src/tools/shell/shellStart.ts:151 among others. Review how tool inputs reach them before granting credentials.
1 check has not been run yet.
What the source scan found
- Transport
- None found in the source
- Starts other programs
- 6 callspackages/agent/src/tools/session/lib/browserDetectors.ts:196, packages/agent/src/tools/session/lib/browserDetectors.ts:214, packages/agent/src/tools/shell/shellStart.ts:128
- Outbound network calls
- 2 callspackages/agent/src/tools/fetch/fetch.ts:146, packages/cli/src/utils/versionCheck.ts:33
- Writes or deletes files
- 7 callspackages/agent/src/tools/textEditor/textEditor.ts:168, packages/agent/src/tools/textEditor/textEditor.ts:186, packages/agent/src/tools/textEditor/textEditor.ts:230
- Lockfile
- pnpm-lock.yaml
Pattern matches on the source text of 75 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.1K words, fetched 2 days ago. The original in the repository is authoritative.
Read full README