Skip to main content

mcp server for agentsphere sandbox

Project description

agentsphere-mcp-server

Introduction

agent-sphere is a cloud-based secure isolated sandbox infrastructure that provides AI with a stable, fast, and secure runtime environment.

agentsphere-mcp-server is an MCP Server designed for AI to connect and operate agent-sphere sandboxes.

Official Website: https://www.agentsphere.run/home

MCP Tools Description

This MCP Server provides the following 3 tools for AI usage:

1. exec_command

Function: Execute Linux system commands in the sandbox

Parameters:

  • cmd (string): The command to execute

Return Value: Execution result containing stdout, stderr, and success fields

2. get_preview_link

Function: Get the access URL for web services in the sandbox

Parameters:

  • port (int): Port number

Return Value: Result containing the accessible URL

3. upload_files_to_sandbox

Function: Upload local files or folders to a specified directory in the sandbox

Parameters:

  • local_path (string): Absolute path of local file or folder
  • target_path (string, optional): Target directory path in the sandbox, defaults to /user_uploaded_files/

Return Value: Result containing the list of successfully uploaded files or error information

Usage

MCP Server Configuration

To configure this server in Efflux, Cursor, or other MCP clients, add the following configuration to your MCP configuration file:

{
  "mcpServers": {
    "agentsphere": {
      "command": "uvx",
      "args": ["agentsphere-mcp-server"],
      "env": {
        "AGENTSPHERE_API_KEY": "your_api_key_here"
      }
    }
  }
}

Note:

  • Replace your_api_key_here with your AgentSphere API key
  • Please ensure uv is installed (uv is a modern Python dependency and project manager: https://docs.astral.sh/uv/getting-started/installation/)
  • Please ensure network connectivity. Users in mainland China are recommended to enable global proxy to ensure proper functionality

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentsphere_mcp_server-1.0.0.tar.gz (43.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentsphere_mcp_server-1.0.0-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file agentsphere_mcp_server-1.0.0.tar.gz.

File metadata

  • Download URL: agentsphere_mcp_server-1.0.0.tar.gz
  • Upload date:
  • Size: 43.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for agentsphere_mcp_server-1.0.0.tar.gz
Algorithm Hash digest
SHA256 50a66b99db07d897ab58ec828950bdee6bf61376cfca52127d7e60bbe9057009
MD5 7ac326a7c73a53a5c60f40f51fa0fbf9
BLAKE2b-256 97811c5da48765fb2b92db703799455830bcbe5be35ba451ed67be23e2a380d8

See more details on using hashes here.

File details

Details for the file agentsphere_mcp_server-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agentsphere_mcp_server-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 299ce5f09d26e9dfcbaae23ccde6f7d5c84d5a57b30a5606c5dba26f4b6decaf
MD5 b52e9ee36660d542690fb70847730ded
BLAKE2b-256 b8567045d086f184a333774476ccb2a004e48ffafc3d133371be6da29c27a7fd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page