YM

yoloshii/mcp-code-execution-enhanced

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

45 stars 7 forks 품질 53 트렌드 12NOASSERTION

향상된 MCP 코드 실행. Agent Framework-agnostic (클래드 코드에 최적화 됨). 기술 프레임 워크 (99.6% 토큰 감소), 멀티 포트, sandboxing

개요

cLI기반 스크립트를 통해 Model Context Protocol (MCP) 서버의 프로그레시브 도구 발견. 이 프로젝트는 기본 스킬 지원으로 Claude Code에 최적화되어 있습니다. 핵심 런타임은 AI 에이전트와 함께 작동합니다. CLI 인수와 스크립트는 99.6%의 토큰 감소를 달성합니다. MCP 패턴과 Anthropic의 Code Execution, MCP 커뮤니티에서 최고의 아이디어를 결합하고 중요한 개선을 추가 : - : 명령줄 매개변수(99.6% 토큰 감소)를 가진 재사용 가능한 파이썬 워크플로우 - : stdio, SSE 및 HTTP MCP 서버를 위한 전체 지원 - : 보안 제어를 가진 선택적인 rootless 고립 - : 전체 유효성 검사를 통해 Pydantic 모델 - : 129 통과 테스트, 포괄적인 오류 처리 이 프로젝트에는 적절한 Claude Code Skills 통합이 포함됩니다. - - Claude Code의 기본 형식의 기술 (SKILL.md + 워크플로우.

개요(AI 번역)

99.6% Token Reduction 를 통해 CLI 기반 스크립트 및 프로그레시브 도구 발견 모델 Context Protocol (MCP) 서버.

주: 이 프로젝트는 기본 스킬 지원으로 Claude Code에 최적화되어 있습니다. 핵심 런타임은 AI 에이전트와 함께 작동합니다. CLI 인수와 스크립트는 99.6%의 토큰 감소를 달성합니다.


이

MCP 패턴과 Anthropic의 Code Execution의 는 Claude Code에 최적화되어 MCP 커뮤니티에서 최고의 아이디어를 결합하고 중요한 개선을 추가합니다.

  • ** CLI Args와 스크립트 **: 명령 줄 매개 변수를 가진 Reusable Python 워크플로우 (99.6% 토큰 감소)
  • Multi-Transport: stdio, SSE 및 HTTP MCP 서버에 대한 전체 지원 -Container Sandboxing: 보안 통제를 가진 선택적인 rootless 고립
  • Type Safety: 전체 검증을 통해 Pydantic 모델 -Production-Ready: 129 통과 테스트, 종합 오류 처리

를 뺍니다 Claude 부호 통합

Native Skills 지원: 이 프로젝트에는 적절한 Claude Code Skills 통합이 포함됩니다.

-.claude/skills/ - Claude Code의 기본 형식의 스킬 (SKILL.md +flow.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"} } } }