About Code Mode
Code Mode is an MCP server published by universal-tool-calling-protocol in the Developer Tools category: π Plug-and-play library to enable agents to call MCP and UTCP tools via code execution. Conduid read 7 tools from its source: call_tool_chain, deregister_manual, get_required_keys_for_tool, list_tools, register_manual, search_tools and 1 more. No package is published for it, so it installs from a source checkout.
The repository has 1.7K stars and 121 forks, is licensed MPL-2.0, and its last commit was on 25 Aug 2026. The latest release is v1.0.6 (23 Nov 2025): π Announcing Python Library for Code Mode Code Mode now supports both Python and TypeScript. The release before it was v1.0.5 (15 Nov 2025). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include code-mode, code-mode-mcp and security.
Install
git clone https://github.com/universal-tool-calling-protocol/code-modeTools (7)
call_tool_chainExecute TypeScript code with direct access to all registered tools as hierarchical functions (e.g., manual.tool()).| Parameter | Type | Description |
|---|---|---|
| code * | string | TypeScript code to execute with access to all registered tools. |
| max_output_size | number | Optional maximum output size in characters (default: 200000). |
| timeout | number | Optional timeout in milliseconds (default: 30000). |
deregister_manualDeregisters a tool provider from the UTCP client.| Parameter | Type | Description |
|---|---|---|
| manual_name * | string | The name of the manual to deregister. |
get_required_keys_for_toolGet required environment variables for a registered tool.| Parameter | Type | Description |
|---|---|---|
| tool_name * | string | Name of the tool to get required variables for. |
list_toolsReturns a list of all tool names currently registered.register_manualRegisters a new tool provider by providing its call template.search_toolsSearches for relevant tools based on a task description.| Parameter | Type | Description |
|---|---|---|
| limit | number | |
| task_description * | string | A natural language description of the task. |
tools_infoGet complete information about a specified list of tools, including TypeScript interface definition.| Parameter | Type | Description |
|---|---|---|
| tool_names * | array | Names of the tools to get complete information for. |
Security checks
Static checks derived from the repository 5 days ago. Heuristics on the source, not an audit.
- βREADME presentThe repository's README runs to about 2.1K words.
- βLicense declaredThe repository declares the MPL-2.0 license.
- βTests presentA test suite exists in the repository.
- βDependencies pinnedDependency versions are pinned by code-mode-cli/package-lock.json and 2 more.
- !No dynamic code executionScanned 12 source files and found 1 call to eval or shell execution, in python-library/src/utcp_code_mode/code_mode_utcp_client.py:336. Review how tool inputs reach them before granting credentials.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiocode-mode-mcp/index.ts:8
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 1 callcode-mode-cli/src/oauth.ts:121
- Writes or deletes files
- 4 callscode-mode-cli/src/oauth.ts:51, code-mode-cli/src/oauth.ts:67, code-mode-cli/src/oauth.ts:78
- Lockfile
- code-mode-cli/package-lock.json and 2 more
Pattern matches on the source text of 12 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 2.1K words, fetched 5 days ago. The original in the repository is authoritative.
Read full README