AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
翻译准备中
Code Ocean MCP Server
翻译准备中
开发工具PythonGitHub @codeocean自行安装运营者未确认
试用过了吗? 点一下就好,无需登录。
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
安装型项目无需部署域名也可验证。个人仓库可通过 GitHub 登录验证,组织仓库可使用上方的仓库验证文件。
正在加载完整 README。 以下为已保存的摘录。
Model Context Protocol (MCP) server for Code Ocean.
This MCP server provides tools to search, run, and release capsules and pipelines, and manage data assets.
• Prerequisites
• Code Ocean Platform Version Compatibility
• Installation
• Visual Studio Code
• Claude Desktop
• Cline
• Roo Code
• Cursor
• Windsurf
• Streamable HTTP Transport
• Local Testing
1. Install uv from Astral or the GitHub README
2. Install Python 3.10 or newer using uv python install 3.10 (or a more recent version)
3. Generate a Code Ocean access token. Follow instructions in the Code Ocean user guide.查看完整 README ↗Model Context Protocol (MCP) server for Code Ocean.
This MCP server provides tools to search, run, and release capsules and pipelines, and manage data assets.
uv from Astral or the GitHub READMEuv python install 3.10 (or a more recent version)Each release of this Code Ocean MCP Server is tested and verified against a specific minimum version of the Code Ocean platform API. Generally, this minimum version is the latest Code Ocean version at the time of the MCP Server release. We recommend ensuring your MCP Server dependency is pinned to a version compatible with your Code Ocean deployment. For details on when the minimum Code Ocean platform version changes, see the CHANGELOG.
Here's an example VS Code MCP server configuration:
{
...
"mcp": {
"inputs": [
{
"type": "promptString",
"id": "codeocean-token",
"description": "Code Ocean API Key",
"password": true
}
],
"servers": {
"codeocean": {
"type": "stdio",
"command": "uvx",
"args": ["codeocean-mcp-server"],
"env": {
"CODEOCEAN_DOMAIN": "https://codeocean.acme.com",
"CODEOCEAN_TOKEN": "${input:codeocean-token}",
"AGENT_ID": "VS Code"
}
}
},
}
}
claude_desktop_config.json file:~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": {
"codeocean": {
"command": "uvx",
"args": ["codeocean-mcp-server"],
"env": {
"CODEOCEAN_DOMAIN": "https://codeocean.acme.com",
"CODEOCEAN_TOKEN": "<YOUR_API_KEY>",
"AGENT_ID": "Claude Desktop"
}
}
}
}
Cline stores all of its MCP settings in a JSON file called cline_mcp_settings.json. You can edit this either through the GUI (“Configure MCP Servers” in the MCP Servers pane) or by hand:
{
"mcpServers": {
"codeocean": {
"command": "uvx",
"args": ["codeocean-mcp-server"],
"env": {
"CODEOCEAN_DOMAIN": "https://codeocean.acme.com",
"CODEOCEAN_TOKEN": "<YOUR_API_KEY>",
"AGENT_ID": "Cline"
},
"alwaysAllow": [], // optional: list of tools to auto-approve
"disabled": false // ensure it’s enabled
}
}
}
Roo Code’s MCP support is configured globally across all workspaces via a JSON settings file or through its dedicated MCP Settings UI
{
"mcpServers": {
"codeocean": {
"command": "uvx",
"args": ["codeocean-mcp-server"],
"env": {
"CODEOCEAN_DOMAIN": "https://codeocean.acme.com",
"CODEOCEAN_TOKEN": "<YOUR_API_KEY>",
"AGENT_ID": "Roo Code"
}
}
}
}
Cursor stores MCP servers in a JSON file at either ~/.cursor/mcp.json (global) or {project}/.cursor/mcp.json (project-specific) .
{
"mcpServers": {
"codeocean": {
"command": "uvx",
"args": ["codeocean-mcp-server"],
"env": {
"CODEOCEAN_DOMAIN": "https://codeocean.acme.com",
"CODEOCEAN_TOKEN": "<YOUR_API_KEY>",
"AGENT_ID": "Cursor"
}
}
}
}
Windsurf (Cascade) uses mcp_config.json under ~/.codeium/windsurf/ (or via the Cascade → MCP Servers UI) .
{
"mcpServers": {
"codeocean": {
"command": "uvx",
"args": ["codeocean-mcp-server"],
"env": {
"CODEOCEAN_DOMAIN": "https://codeocean.acme.com",
"CODEOCEAN_TOKEN": "<YOUR_API_KEY>",
"AGENT_ID": "Windsurf"
}
}
}
}
By default the server runs over stdio and authenticates with the CODEOCEAN_TOKEN environment variable, as
described above. It can also serve multiple users from a single process over streamable HTTP, taking each
caller's API token from the request instead:
CODEOCEAN_DOMAIN=https://acmecorp.codeocean.com codeocean-mcp-server --transport streamable-http --host 127.0.0.1 --port 8000
Clients then pass their own token as Authorization: Bearer <YOUR_API_KEY> on every request; CODEOCEAN_TOKEN
is not used, and a request without a token is refused. The endpoint is http://<host>:<port>/mcp.
You can test the MCP server locally during development with MCP Inspector:
npx @modelcontextprotocol/inspector uv tool run codeocean-mcp-server
This will start a web server where you can:
The MCP server supports custom log formatting through the LOG_FORMAT environment variable. This allows you to control the format of log messages output by the server.
Example Format Strings: "%(asctime)s %(levelname)s [%(name)s] %(message)s".
If LOG_FORMAT is not set, the server uses FastMCP's default logging configuration.
The LOG_LEVEL environment variable sets the level the server logs at: DEBUG, INFO (the default), WARNING, ERROR or CRITICAL. Raising it drops the record the server writes for every request it serves, which is worth doing when the server runs alongside a caller that logs those requests itself.