Name | agentsphere-mcp-server JSON |
Version |
1.1.0
JSON |
| download |
home_page | None |
Summary | mcp server for agentsphere sandbox |
upload_time | 2025-07-18 06:18:52 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.12 |
license | MIT License
Copyright (c) 2025 iSoftStone, INC.
Copyright (c) 2025 FOUNDRYLABS, INC.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
agentsphere
mcp
sandbox
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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 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
### 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:
```json
{
"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
Raw data
{
"_id": null,
"home_page": null,
"name": "agentsphere-mcp-server",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.12",
"maintainer_email": null,
"keywords": "agentsphere, mcp, sandbox",
"author": null,
"author_email": "Yutong Xu <ytxucn@isoftstone.com>",
"download_url": "https://files.pythonhosted.org/packages/e6/2e/99c0dac9aec8f873bfb948af1bfaeb243cd6e56de70e5cf5ee8793c524b7/agentsphere_mcp_server-1.1.0.tar.gz",
"platform": null,
"description": "# agentsphere-mcp-server\n\n## Introduction\n\n**agent-sphere** is a cloud-based secure isolated sandbox infrastructure that provides AI with a stable, fast, and secure runtime environment.\n\n**agentsphere-mcp-server** is an MCP Server designed for AI to connect and operate agent-sphere sandboxes.\n\n**Official Website**: https://www.agentsphere.run/home\n\n\n\n## MCP Tools Description\n\nThis MCP Server provides the following 4 tools for AI usage:\n\n### 1. exec_command\n**Function**: Execute Linux system commands in the sandbox\n\n**Parameters**:\n- `cmd` (string): The command to execute\n\n**Return Value**: Execution result containing stdout, stderr, and success fields\n\n\n### 2. get_preview_link\n**Function**: Get the access URL for web services in the sandbox\n\n**Parameters**:\n- `port` (int): Port number\n\n**Return Value**: Result containing the accessible URL\n\n\n### 3. upload_files_to_sandbox\n**Function**: Upload local files or folders to a specified directory in the sandbox\n\n**Parameters**:\n- `local_path` (string): Absolute path of local file or folder\n- `target_path` (string, optional): Target directory path in the sandbox, defaults to `/user_uploaded_files/`\n\n**Return Value**: Result containing the list of successfully uploaded files or error information\n\n\n### 4. find_file_path\n**Function**: Search for files or directories by name and return their absolute paths\n\n**Parameters**:\n- `filename` (string): The filename to search for (supports wildcards like *.py, project*, etc.)\n- `search_path` (string, optional): Starting search path or shortcut option\n - Specific paths: e.g., \"/Users/username/Desktop/Projects\"\n - Shortcut options: \"desktop\" (default), \"documents\", \"downloads\", \"home\"\n\n**Return Value**: Search results containing a list of found files/directories with complete paths, types, sizes, and modification times\n\n\n## Usage\n\n### MCP Server Configuration\n\nTo configure this server in Efflux, Cursor, or other MCP clients, add the following configuration to your MCP configuration file:\n\n```json\n{\n \"mcpServers\": {\n \"agentsphere\": {\n \"command\": \"uvx\",\n \"args\": [\"agentsphere-mcp-server\"],\n \"env\": {\n \"AGENTSPHERE_API_KEY\": \"your_api_key_here\"\n }\n }\n }\n}\n```\n\n**Note**:\n- Replace `your_api_key_here` with your AgentSphere API key\n- Please ensure uv is installed (uv is a modern Python dependency and project manager: https://docs.astral.sh/uv/getting-started/installation/)\n- Please ensure network connectivity. Users in mainland China are recommended to enable global proxy to ensure proper functionality",
"bugtrack_url": null,
"license": "MIT License\n \n Copyright (c) 2025 iSoftStone, INC.\n \n Copyright (c) 2025 FOUNDRYLABS, INC.\n \n Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n \n The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
"summary": "mcp server for agentsphere sandbox",
"version": "1.1.0",
"project_urls": {
"Homepage": "https://www.agentsphere.run/home"
},
"split_keywords": [
"agentsphere",
" mcp",
" sandbox"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "ca078fdef447b926cc42ef4f634f265843d1fb39db55b3a4814d2329054fae5c",
"md5": "11c6fe1fc8a9cade019ff369ba936e3b",
"sha256": "467eaa71a1a139c5d24d49434537d901a9c51828a1fd3537d894920f0b8a6e2d"
},
"downloads": -1,
"filename": "agentsphere_mcp_server-1.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "11c6fe1fc8a9cade019ff369ba936e3b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.12",
"size": 12782,
"upload_time": "2025-07-18T06:18:50",
"upload_time_iso_8601": "2025-07-18T06:18:50.362912Z",
"url": "https://files.pythonhosted.org/packages/ca/07/8fdef447b926cc42ef4f634f265843d1fb39db55b3a4814d2329054fae5c/agentsphere_mcp_server-1.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "e62e99c0dac9aec8f873bfb948af1bfaeb243cd6e56de70e5cf5ee8793c524b7",
"md5": "b1aa1a2657ac108b3008fe82678f9ac2",
"sha256": "508089986a21576ef3386f8c369d7f0967deeadc21283ec82a4f8f2f7457bf3d"
},
"downloads": -1,
"filename": "agentsphere_mcp_server-1.1.0.tar.gz",
"has_sig": false,
"md5_digest": "b1aa1a2657ac108b3008fe82678f9ac2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.12",
"size": 47092,
"upload_time": "2025-07-18T06:18:52",
"upload_time_iso_8601": "2025-07-18T06:18:52.662539Z",
"url": "https://files.pythonhosted.org/packages/e6/2e/99c0dac9aec8f873bfb948af1bfaeb243cd6e56de70e5cf5ee8793c524b7/agentsphere_mcp_server-1.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-18 06:18:52",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "agentsphere-mcp-server"
}