codeocean-mcp-server 0.2.0__tar.gz → 0.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {codeocean_mcp_server-0.2.0 → codeocean_mcp_server-0.3.0}/.gitignore +8 -0
- {codeocean_mcp_server-0.2.0 → codeocean_mcp_server-0.3.0}/CHANGELOG.md +5 -0
- {codeocean_mcp_server-0.2.0 → codeocean_mcp_server-0.3.0}/PKG-INFO +14 -8
- {codeocean_mcp_server-0.2.0 → codeocean_mcp_server-0.3.0}/README.md +12 -6
- {codeocean_mcp_server-0.2.0 → codeocean_mcp_server-0.3.0}/pyproject.toml +2 -2
- {codeocean_mcp_server-0.2.0 → codeocean_mcp_server-0.3.0}/src/codeocean_mcp_server/server.py +2 -1
- {codeocean_mcp_server-0.2.0 → codeocean_mcp_server-0.3.0}/uv.lock +5 -5
- codeocean_mcp_server-0.2.0/.cci_pycache/lockfile +0 -2526
- codeocean_mcp_server-0.2.0/.temp-python-version +0 -1
- {codeocean_mcp_server-0.2.0 → codeocean_mcp_server-0.3.0}/.python-version +0 -0
- {codeocean_mcp_server-0.2.0 → codeocean_mcp_server-0.3.0}/LICENSE +0 -0
- {codeocean_mcp_server-0.2.0 → codeocean_mcp_server-0.3.0}/RELEASE.md +0 -0
- {codeocean_mcp_server-0.2.0 → codeocean_mcp_server-0.3.0}/src/codeocean_mcp_server/__init__.py +0 -0
- {codeocean_mcp_server-0.2.0 → codeocean_mcp_server-0.3.0}/src/codeocean_mcp_server/file_utils.py +0 -0
- {codeocean_mcp_server-0.2.0 → codeocean_mcp_server-0.3.0}/src/codeocean_mcp_server/models.py +0 -0
- {codeocean_mcp_server-0.2.0 → codeocean_mcp_server-0.3.0}/src/codeocean_mcp_server/tools/__init__.py +0 -0
- {codeocean_mcp_server-0.2.0 → codeocean_mcp_server-0.3.0}/src/codeocean_mcp_server/tools/capsules.py +0 -0
- {codeocean_mcp_server-0.2.0 → codeocean_mcp_server-0.3.0}/src/codeocean_mcp_server/tools/computations.py +0 -0
- {codeocean_mcp_server-0.2.0 → codeocean_mcp_server-0.3.0}/src/codeocean_mcp_server/tools/data_assets.py +0 -0
- {codeocean_mcp_server-0.2.0 → codeocean_mcp_server-0.3.0}/tests/bedrock_call.py +0 -0
- {codeocean_mcp_server-0.2.0 → codeocean_mcp_server-0.3.0}/tests/bedrock_tools_converter.py +0 -0
- {codeocean_mcp_server-0.2.0 → codeocean_mcp_server-0.3.0}/tests/mcp_client.py +0 -0
- {codeocean_mcp_server-0.2.0 → codeocean_mcp_server-0.3.0}/tests/test_multi_tool_calling.py +0 -0
- {codeocean_mcp_server-0.2.0 → codeocean_mcp_server-0.3.0}/tests/test_tool_calling.py +0 -0
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
CHANGELOG
|
|
2
2
|
=========
|
|
3
3
|
|
|
4
|
+
## 0.3.0 (2025-07-14)
|
|
5
|
+
|
|
6
|
+
- [#5](https://github.com/codeocean/codeocean-mcp-server/pull/5) feat: Add support for AI agent ID in server configuration
|
|
7
|
+
- [#4](https://github.com/codeocean/codeocean-mcp-server/pull/4) fix: ignore CI artifacts in sdist
|
|
8
|
+
|
|
4
9
|
## 0.2.0 (2025-07-02)
|
|
5
10
|
|
|
6
11
|
- [#2](https://github.com/codeocean/codeocean-mcp-server/pull/2) fix: return native client objects instead of Pydantic models
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: codeocean-mcp-server
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: Code Ocean MCP Server
|
|
5
5
|
Project-URL: Homepage, https://github.com/codeocean/codeocean-mcp-server
|
|
6
6
|
Project-URL: Issues, https://github.com/codeocean/codeocean-mcp-server/issues
|
|
@@ -12,7 +12,7 @@ Classifier: License :: OSI Approved :: MIT License
|
|
|
12
12
|
Classifier: Operating System :: OS Independent
|
|
13
13
|
Classifier: Programming Language :: Python :: 3
|
|
14
14
|
Requires-Python: >=3.10
|
|
15
|
-
Requires-Dist: codeocean
|
|
15
|
+
Requires-Dist: codeocean<0.9.0,>=0.8.0
|
|
16
16
|
Requires-Dist: fastmcp>=2.9.2
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
|
|
@@ -63,7 +63,8 @@ Here's an example VS Code MCP server configuration:
|
|
|
63
63
|
"args": ["codeocean-mcp-server"],
|
|
64
64
|
"env": {
|
|
65
65
|
"CODEOCEAN_DOMAIN": "https://codeocean.acme.com",
|
|
66
|
-
"CODEOCEAN_TOKEN": "${input:codeocean-token}"
|
|
66
|
+
"CODEOCEAN_TOKEN": "${input:codeocean-token}",
|
|
67
|
+
"AGENT_ID": "VS Code"
|
|
67
68
|
}
|
|
68
69
|
}
|
|
69
70
|
},
|
|
@@ -88,7 +89,8 @@ Here's an example VS Code MCP server configuration:
|
|
|
88
89
|
"args": ["codeocean-mcp-server"],
|
|
89
90
|
"env": {
|
|
90
91
|
"CODEOCEAN_DOMAIN": "https://codeocean.acme.com",
|
|
91
|
-
"CODEOCEAN_TOKEN": "<YOUR_API_KEY>"
|
|
92
|
+
"CODEOCEAN_TOKEN": "<YOUR_API_KEY>",
|
|
93
|
+
"AGENT_ID": "Claude Desktop"
|
|
92
94
|
}
|
|
93
95
|
}
|
|
94
96
|
}
|
|
@@ -111,7 +113,8 @@ Cline stores all of its MCP settings in a JSON file called cline_mcp_settings.js
|
|
|
111
113
|
"args": ["codeocean-mcp-server"],
|
|
112
114
|
"env": {
|
|
113
115
|
"CODEOCEAN_DOMAIN": "https://codeocean.acme.com",
|
|
114
|
-
"CODEOCEAN_TOKEN": "<YOUR_API_KEY>"
|
|
116
|
+
"CODEOCEAN_TOKEN": "<YOUR_API_KEY>",
|
|
117
|
+
"AGENT_ID": "Cline"
|
|
115
118
|
},
|
|
116
119
|
"alwaysAllow": [], // optional: list of tools to auto-approve
|
|
117
120
|
"disabled": false // ensure it’s enabled
|
|
@@ -140,7 +143,8 @@ Roo Code’s MCP support is configured globally across all workspaces via a JSON
|
|
|
140
143
|
"args": ["codeocean-mcp-server"],
|
|
141
144
|
"env": {
|
|
142
145
|
"CODEOCEAN_DOMAIN": "https://codeocean.acme.com",
|
|
143
|
-
"CODEOCEAN_TOKEN": "<YOUR_API_KEY>"
|
|
146
|
+
"CODEOCEAN_TOKEN": "<YOUR_API_KEY>",
|
|
147
|
+
"AGENT_ID": "Roo Code"
|
|
144
148
|
}
|
|
145
149
|
}
|
|
146
150
|
}
|
|
@@ -168,7 +172,8 @@ Cursor stores MCP servers in a JSON file at either ~/.cursor/mcp.json (global) o
|
|
|
168
172
|
"args": ["codeocean-mcp-server"],
|
|
169
173
|
"env": {
|
|
170
174
|
"CODEOCEAN_DOMAIN": "https://codeocean.acme.com",
|
|
171
|
-
"CODEOCEAN_TOKEN": "<YOUR_API_KEY>"
|
|
175
|
+
"CODEOCEAN_TOKEN": "<YOUR_API_KEY>",
|
|
176
|
+
"AGENT_ID": "Cursor"
|
|
172
177
|
}
|
|
173
178
|
}
|
|
174
179
|
}
|
|
@@ -191,7 +196,8 @@ Windsurf (Cascade) uses mcp_config.json under ~/.codeium/windsurf/ (or via the C
|
|
|
191
196
|
"args": ["codeocean-mcp-server"],
|
|
192
197
|
"env": {
|
|
193
198
|
"CODEOCEAN_DOMAIN": "https://codeocean.acme.com",
|
|
194
|
-
"CODEOCEAN_TOKEN": "<YOUR_API_KEY>"
|
|
199
|
+
"CODEOCEAN_TOKEN": "<YOUR_API_KEY>",
|
|
200
|
+
"AGENT_ID": "Windsurf"
|
|
195
201
|
}
|
|
196
202
|
}
|
|
197
203
|
}
|
|
@@ -45,7 +45,8 @@ Here's an example VS Code MCP server configuration:
|
|
|
45
45
|
"args": ["codeocean-mcp-server"],
|
|
46
46
|
"env": {
|
|
47
47
|
"CODEOCEAN_DOMAIN": "https://codeocean.acme.com",
|
|
48
|
-
"CODEOCEAN_TOKEN": "${input:codeocean-token}"
|
|
48
|
+
"CODEOCEAN_TOKEN": "${input:codeocean-token}",
|
|
49
|
+
"AGENT_ID": "VS Code"
|
|
49
50
|
}
|
|
50
51
|
}
|
|
51
52
|
},
|
|
@@ -70,7 +71,8 @@ Here's an example VS Code MCP server configuration:
|
|
|
70
71
|
"args": ["codeocean-mcp-server"],
|
|
71
72
|
"env": {
|
|
72
73
|
"CODEOCEAN_DOMAIN": "https://codeocean.acme.com",
|
|
73
|
-
"CODEOCEAN_TOKEN": "<YOUR_API_KEY>"
|
|
74
|
+
"CODEOCEAN_TOKEN": "<YOUR_API_KEY>",
|
|
75
|
+
"AGENT_ID": "Claude Desktop"
|
|
74
76
|
}
|
|
75
77
|
}
|
|
76
78
|
}
|
|
@@ -93,7 +95,8 @@ Cline stores all of its MCP settings in a JSON file called cline_mcp_settings.js
|
|
|
93
95
|
"args": ["codeocean-mcp-server"],
|
|
94
96
|
"env": {
|
|
95
97
|
"CODEOCEAN_DOMAIN": "https://codeocean.acme.com",
|
|
96
|
-
"CODEOCEAN_TOKEN": "<YOUR_API_KEY>"
|
|
98
|
+
"CODEOCEAN_TOKEN": "<YOUR_API_KEY>",
|
|
99
|
+
"AGENT_ID": "Cline"
|
|
97
100
|
},
|
|
98
101
|
"alwaysAllow": [], // optional: list of tools to auto-approve
|
|
99
102
|
"disabled": false // ensure it’s enabled
|
|
@@ -122,7 +125,8 @@ Roo Code’s MCP support is configured globally across all workspaces via a JSON
|
|
|
122
125
|
"args": ["codeocean-mcp-server"],
|
|
123
126
|
"env": {
|
|
124
127
|
"CODEOCEAN_DOMAIN": "https://codeocean.acme.com",
|
|
125
|
-
"CODEOCEAN_TOKEN": "<YOUR_API_KEY>"
|
|
128
|
+
"CODEOCEAN_TOKEN": "<YOUR_API_KEY>",
|
|
129
|
+
"AGENT_ID": "Roo Code"
|
|
126
130
|
}
|
|
127
131
|
}
|
|
128
132
|
}
|
|
@@ -150,7 +154,8 @@ Cursor stores MCP servers in a JSON file at either ~/.cursor/mcp.json (global) o
|
|
|
150
154
|
"args": ["codeocean-mcp-server"],
|
|
151
155
|
"env": {
|
|
152
156
|
"CODEOCEAN_DOMAIN": "https://codeocean.acme.com",
|
|
153
|
-
"CODEOCEAN_TOKEN": "<YOUR_API_KEY>"
|
|
157
|
+
"CODEOCEAN_TOKEN": "<YOUR_API_KEY>",
|
|
158
|
+
"AGENT_ID": "Cursor"
|
|
154
159
|
}
|
|
155
160
|
}
|
|
156
161
|
}
|
|
@@ -173,7 +178,8 @@ Windsurf (Cascade) uses mcp_config.json under ~/.codeium/windsurf/ (or via the C
|
|
|
173
178
|
"args": ["codeocean-mcp-server"],
|
|
174
179
|
"env": {
|
|
175
180
|
"CODEOCEAN_DOMAIN": "https://codeocean.acme.com",
|
|
176
|
-
"CODEOCEAN_TOKEN": "<YOUR_API_KEY>"
|
|
181
|
+
"CODEOCEAN_TOKEN": "<YOUR_API_KEY>",
|
|
182
|
+
"AGENT_ID": "Windsurf"
|
|
177
183
|
}
|
|
178
184
|
}
|
|
179
185
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "codeocean-mcp-server"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.3.0"
|
|
4
4
|
authors = [{ name = "Code Ocean", email = "dev@codeocean.com" }]
|
|
5
5
|
description = "Code Ocean MCP Server"
|
|
6
6
|
readme = "README.md"
|
|
@@ -11,7 +11,7 @@ classifiers = [
|
|
|
11
11
|
"Operating System :: OS Independent",
|
|
12
12
|
]
|
|
13
13
|
dependencies = [
|
|
14
|
-
"codeocean>=0.
|
|
14
|
+
"codeocean>=0.8.0,<0.9.0",
|
|
15
15
|
"fastmcp>=2.9.2",
|
|
16
16
|
]
|
|
17
17
|
license = "MIT"
|
{codeocean_mcp_server-0.2.0 → codeocean_mcp_server-0.3.0}/src/codeocean_mcp_server/server.py
RENAMED
|
@@ -15,7 +15,8 @@ def main():
|
|
|
15
15
|
"Environment variables CODEOCEAN_DOMAIN and "
|
|
16
16
|
"CODEOCEAN_TOKEN must be set."
|
|
17
17
|
)
|
|
18
|
-
|
|
18
|
+
agent_id = os.getenv("AGENT_ID", "AI Agent")
|
|
19
|
+
client = CodeOcean(domain=domain, token=token, agent_id=agent_id)
|
|
19
20
|
|
|
20
21
|
mcp = FastMCP(
|
|
21
22
|
name="Code Ocean",
|
|
@@ -350,7 +350,7 @@ wheels = [
|
|
|
350
350
|
|
|
351
351
|
[[package]]
|
|
352
352
|
name = "codeocean"
|
|
353
|
-
version = "0.
|
|
353
|
+
version = "0.8.0"
|
|
354
354
|
source = { registry = "https://pypi.org/simple" }
|
|
355
355
|
dependencies = [
|
|
356
356
|
{ name = "backports-strenum", marker = "python_full_version < '3.11'" },
|
|
@@ -358,14 +358,14 @@ dependencies = [
|
|
|
358
358
|
{ name = "requests" },
|
|
359
359
|
{ name = "requests-toolbelt" },
|
|
360
360
|
]
|
|
361
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
361
|
+
sdist = { url = "https://files.pythonhosted.org/packages/e6/66/c947525bd7bdbc8dd337b3ab0badd4be9c47a4869404640c6e000e3ec5a8/codeocean-0.8.0.tar.gz", hash = "sha256:fbbff4de028f034495584731ca3a4830d9a90a97b88839cfe16aeaebb5caa561", size = 15530, upload-time = "2025-07-11T16:50:17.372Z" }
|
|
362
362
|
wheels = [
|
|
363
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
363
|
+
{ url = "https://files.pythonhosted.org/packages/9e/16/d8a220ef5ea2f938be973394f23687208dcfb3ba737c022e88f3d6a97134/codeocean-0.8.0-py3-none-any.whl", hash = "sha256:73feba7c9c2c03a21ba07feaf0e946e3087d2d29af38efbd61d452dd7a8ef1a5", size = 16365, upload-time = "2025-07-11T16:50:18.622Z" },
|
|
364
364
|
]
|
|
365
365
|
|
|
366
366
|
[[package]]
|
|
367
367
|
name = "codeocean-mcp-server"
|
|
368
|
-
version = "0.
|
|
368
|
+
version = "0.3.0"
|
|
369
369
|
source = { editable = "." }
|
|
370
370
|
dependencies = [
|
|
371
371
|
{ name = "codeocean" },
|
|
@@ -384,7 +384,7 @@ dev = [
|
|
|
384
384
|
|
|
385
385
|
[package.metadata]
|
|
386
386
|
requires-dist = [
|
|
387
|
-
{ name = "codeocean", specifier = ">=0.
|
|
387
|
+
{ name = "codeocean", specifier = ">=0.8.0,<0.9.0" },
|
|
388
388
|
{ name = "fastmcp", specifier = ">=2.9.2" },
|
|
389
389
|
]
|
|
390
390
|
|