code-mode
A plug-and-play library enabling AI agents to invoke MCP and UTCP tools via code execution.
- Type
- MCP
- Transport
- http
- Open source
- Yes
- GitHub Stars
- ★ 1.5k
- Source
- mcp-github
Overview
code-mode is a plug-and-play library that allows AI agents to call MCP and UTCP tools through code execution. It replaces multiple API calls with a single code block, improving LLM efficiency in tool invocation. Initialize, add tools, and execute code with just three lines. Suitable for enterprise-grade applications requiring efficient handling of complex workflows.
Capabilities
- ▪Invoke MCP and UTCP tools via code execution
- ▪Dynamic discovery and loading of required tools
- ▪Natural code execution with chained operations
- ▪Auto-generate TypeScript interfaces
- ▪Secure VM sandbox isolation
- ▪Timeout protection
Use cases
Setup
npm install @utcp/code-mode
This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.
FAQ
How do I initialize the Code-Mode client?
Use `import { CodeModeUtcpClient } from '@utcp/code-mode'; const client = await CodeModeUtcpClient.create();`.
What protocols are supported?
Supports MCP, HTTP, File, and CLI protocols.
Related skills
gemini-cli
Gemini CLI is an open-source AI agent that brings Gemini's powerful capabilities directly into the terminal.
sast-skills
Transform your AI coding assistant into a SAST scanner to automatically detect vulnerabilities in code.
antivibe
Transform AI-generated code into deep learning materials to help developers understand the code.
scientific-agent-skills
Transform any AI agent into a scientific assistant with 147 ready-to-use research skills.
susi_alexa_skill
A skill that enables question-and-answer interactions between Alexa and Susi AI.
claude-context
Provides code search capabilities for Claude Code, turning the entire codebase into context.