HA

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

128 stars 7 forks 품질 67 트렌드 16

HOPX용 모델 컨텍스트 프로토콜(MCP) 서버. AI 어시스턴트가 격리된 클라우드 컨테이너에서 코드를 실행할 수 있게 합니다.

개요

HOPX용 모델 컨텍스트 프로토콜(MCP) 서버. AI 어시스턴트가 격리된 클라우드 컨테이너에서 코드를 실행할 수 있게 합니다. - 분리된 컨테이너에서 파이썬, 자바스크립트, 배시, Go 실행 - pandas, numpy, matplotlib(사전 설치)를 이용한 데이터 분석 - 파일 작업 및 시스템 명령어 - 백그라운드 프로세스 및 장기 실행 작업 IDE에 MCP 서버 구성 추가: ~/Library/Application Support/Claude/claude_desktop_config.json(macOS) 또는 %APPDATA%\Claude\claude_desktop_config.json(Windows)에 추가: 설정 후 Claude 데스크톱을 재시작하세요. 구성 형식은 IDE마다 다릅니다. 다음 매개변수를 추가하세요: - 명령어: uvx - args: ["hopx-mcp"] - 환경: HOPX_API_KEY=your-api-key-here. 동일한 환경에서 여러 연산을 수행하는 경우: - create_sandbox() - 샌드박스 생성 - list_sandboxes() - 샌드박스 목록 - delete_sandbox() - 샌드박스 종료

개요(AI 번역)

HOPX용 모델 컨텍스트 프로토콜(MCP) 서버. AI 어시스턴트가 격리된 클라우드 컨테이너에서 코드를 실행할 수 있게 합니다.

MCP 이름: io.github.hopx-ai/hopx-mcp

설치

hopx.ai 에서 API 키를 받으세요.


능력

  • 파이썬, 자바스크립트, 배시, Go 실행 컨테이너
  • pandas, numpy, matplotlib(사전 설치)를 이용한 데이터 분석
  • 파일 작업 및 시스템 명령어
  • 백그라운드 프로세스 및 장기 실행 작업

컨테이너는 사용 후 자동으로 파괴됩니다.


구성

API 키 받기

hopx.ai 에서 가입하세요.

IDE 구성

IDE에 MCP 서버 구성 추가:

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) 또는 %APPDATA%\Claude\claude_desktop_config.json (Windows)에 추가:

설정 후 Claude 데스크톱을 재시작하세요.

커서

.cursor/mcp.json에 추가:

VS 코드

.vscode/mcp.json에 추가:

기타 IDE

구성 형식은 IDE마다 다릅니다. 다음 매개변수를 추가하세요:

  • 명령: uvx
  • 아르그: ["hopx-mcp"]
  • 환경: HOPX_API_KEY=your-api-key-here

사용

빠른 처형

**반환 횟수: **

지속적인 샌드박스

동일한 환경에서 여러 연산을 수행하는 경우:


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

README

원문 README의 일부입니다. 원문 보기.

HOPX MCP Server

Model Context Protocol (MCP) server for HOPX. Enables AI assistants to execute code in isolated cloud containers.

MCP Name: io.github.hopx-ai/hopx-mcp

Installation

uvx hopx-mcp

Get your API key at hopx.ai.


Capabilities

  • Execute Python, JavaScript, Bash, and Go in isolated containers
  • Data analysis with pandas, numpy, matplotlib (pre-installed)
  • File operations and system commands
  • Background processes and long-running tasks

Containers auto-destroy after use.


Configuration

Get API Key

Sign up at hopx.ai.

Configure IDE

Add MCP server configuration to your IDE:


Usage

Quick Execution

execute_code_isolated(
    code='print("Hello, World!")',
    language='python',
    timeout=30
)

Returns:

{
    'stdout': 'Hello, World!\n',
    'exit_code': 0,
    'execution_time': 0.123,
    'sandbox_id': '1762778786mxaco6r2'
}

Persistent Sandbox

For multiple operations in the same environment:

# Create sandbox
sandbox = create_sandbox(
    template_id='code-interpreter',
    timeout_seconds=3600
)

sandbox_id = sandbox['id']

# Run operations
execute_code(sandbox_id, 'import pandas as pd')
execute_code(sandbox_id, 'df = pd.read_csv("data.csv")')
file_write(sandbox_id, '/workspace/output.txt', 'results')
content = file_read(sandbox_id, '/workspace/output.txt')

# Cleanup
delete_sandbox(sandbox_id)

Available Tools

Sandbox Management:

GitHub에서 전체 README 보기

설치

uvx hopx-mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "hopx-sandbox": { "command": "uvx", "args": ["hopx-mcp"], "env": { "HOPX_API_KEY": "your-api-key-here" } } } }