YM

yoloshii/mcp-code-execution-enhanced

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

45 stars 7 forks 品質 53 トレンド 12NOASSERTION

MCP コード実行の強化 エージェントフレームワークアグノスティック(クロードコードに最適)。 スキルフレームワーク(99.6%トークン削減)、マルチトランスポート、サンドボックス

概要

モデルコンテキストプロトコル(MCP)サーバーのCLIベースのスクリプトとプログレッシブ・ツール・ディスカバリーによります。 このプロジェクトは、ネイティブスキルのサポートでClaudeコードに最適化されています。 コアランタイムは、あらゆるAIエージェントで動作します。 CLI 引数を持つスクリプトは、99.6% トークン削減を実現します。 MCP パターンで Anthropic のコード実行、MCP コミュニティから最高のアイデアを組み合わせ、重要な改善を追加します。 - : コマンドラインパラメータ(99.6%トークン削減)で再利用可能なPythonワークフロー - : stdio、SSE、HTTP MCPサーバーのフルサポート - : セキュリティー制御によるオプションのrootless分離 - : 検証全体でPydanticモデル - : 129合格テスト、包括的なエラー処理 このプロジェクトには、適切なClaudeコードスキルの統合が含まれます。 - - - クロードコードのネイティブフォーマットのスキル(SKILL.md +ワークフロー).

概要(AI 翻訳)

99.6% トークン削減 CLI ベースのスクリプトとモデルコンテキストプロトコル (MCP) サーバーのプログレッシブ・ツール・ディスカバリーによる。

注記: このプロジェクトは、ネイティブスキルのサポートでClaudeコードに最適化されています。 コアランタイムは、あらゆるAIエージェントで動作します。 CLI 引数を持つスクリプトは、99.6% トークン削減を実現します。

お問い合わせ

確かにこれが何であるか

Anthropic の Code Execution の MCP パターンを使用したenhanced の実装、Claude Code** の最適化、MCP コミュニティから最高のアイデアを組み合わせ、重要な改善を追加します。

  • CLI Args のスクリプト*:コマンドラインパラメータ(99.6%トークン削減)で再利用可能な Python ワークフロー
  • 複数の交通機関: stdio、SSE、HTTP MCP サーバーのサポート
  • 容器のサンドボックス: セキュリティ制御によるオプションのrootless分離
  • タイプ安全:完全な検証と全体的にピダンティックモデル -Production-Ready: 129 合格テスト、包括的なエラー処理

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

ネイティブスキルサポート: このプロジェクトには、適切なClaudeコードスキルの統合が含まれます。

-[.claude/skills/ - クロードコードのネイティブフォーマットのスキル(SKILL.md + Workflow.py)

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

MCP Code Execution - Enhanced Edition

99.6% Token Reduction through CLI-based scripts and progressive tool discovery for Model Context Protocol (MCP) servers.

Note: This project is optimized for Claude Code with native Skills support. The core runtime works with any AI agent. Scripts with CLI arguments achieve 99.6% token reduction.


🎯 What This Is

An enhanced implementation of Anthropic’s Code Execution with MCP pattern, optimized for Claude Code, combining the best ideas from the MCP community and adding significant improvements:

  • Scripts with CLI Args: Reusable Python workflows with command-line parameters (99.6% token reduction)
  • Multi-Transport: Full support for stdio, SSE, and HTTP MCP servers
  • Container Sandboxing: Optional rootless isolation with security controls
  • Type Safety: Pydantic models throughout with full validation
  • Production-Ready: 129 passing tests, comprehensive error handling

🤖 Claude Code Integration

Native Skills Support: This project includes proper Claude Code Skills integration:

  • .claude/skills/ - Skills in Claude Code’s native format (SKILL.md + workflow.py)
  • Auto-discovery - Claude Code automatically finds and validates Skills
  • 2 Generic Examples - simple-fetch, multi-tool-pipeline (templates for custom workflows)
  • Format Compliant - YAML frontmatter, validation rules, progressive disclosure

Dual-layer architecture:

  • Layer 1: Claude Code Skills (.claude/skills/) - Native discovery and format
  • Layer 2: Scripts (./scripts/) - CLI-based Python workflows with argparse

Token efficiency:

  • Core runtime: 98.7% reduction (Anthropic’s filesystem pattern)
  • Scripts with CLI args: 99.6% reduction (no file editing needed)

Note: Scripts work with any AI agent. Claude Code Skills provide native auto-discovery for Claude Code users.


🙏 Acknowledgments

This project builds upon and merges ideas from:

  1. ipdelete/mcp-code-execution - Original implementation of Anthropic’s PRIMARY pattern

    • Filesystem-based progressive disclosure
    • Type-safe Pydantic wrappers
    • Schema discovery system
    • Lazy server connections
  2. elusznik/mcp-server-code-execution-mode - Production security patterns

    • Container sandboxing architecture
    • Comprehensive security controls
GitHub で README 全文を見る

インストール

uvx mcp-server-git
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "local-tool": { "type": "stdio", "command": "uvx", "args": ["mcp-server-git"] }, "jina": { "type": "sse", "url": "https://mcp.jina.ai/sse", "headers": {"Authorization": "Bearer YOUR_KEY"} }, "exa": { "type": "http", "url": "https://mcp.exa.ai/mcp", "headers": {"x-api-key": "YOUR_KEY"} } } }