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 4 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 foldertarget_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
4. find_file_path
Function: Search for files or directories by name and return their absolute paths
Parameters:
filename(string): The filename to search for (supports wildcards like .py, project, etc.)search_path(string, optional): Starting search path or shortcut option- Specific paths: e.g., "/Users/username/Desktop/Projects"
- Shortcut options: "desktop" (default), "documents", "downloads", "home"
Return Value: Search results containing a list of found files/directories with complete paths, types, sizes, and modification times
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_herewith 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentsphere_mcp_server-1.7.0.tar.gz.
File metadata
- Download URL: agentsphere_mcp_server-1.7.0.tar.gz
- Upload date:
- Size: 47.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68450cde08a3e898592139101909232748f87962ac1c5fff287ec7d27d49ca72
|
|
| MD5 |
268f158cfa4e6108b81ced238ea8de13
|
|
| BLAKE2b-256 |
e440f8f5f853b57e34da8e417d66efd4ec368a314e1d0d00590d9c67737c6bf6
|
File details
Details for the file agentsphere_mcp_server-1.7.0-py3-none-any.whl.
File metadata
- Download URL: agentsphere_mcp_server-1.7.0-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd74d88a79392981b6d347a1b9cdef9a5ddacd6241002b03e92c6c6549e2039f
|
|
| MD5 |
34d31f5964bbb9f6e26b2ac70452a9a4
|
|
| BLAKE2b-256 |
57c34ae440fb818a80cb33c20e9d16e4604797e273537c9477724e8c8e45d03a
|