You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add environment, project, and profile support (#26)
* feat: add environment, project, and profile support
Add Environment and Project models to core SDK with list/get API methods.
Add list_profiles endpoint supporting workspace, deployment, or project+branch targeting.
New CLI subcommands: environment (list/get), project (list/get), profile (list).
New MCP tools: list_environments, list_projects, list_profiles.
New Python SDK methods: list_environments, get_environment, list_projects,
get_project, list_profiles.
Update type stubs, docs, and skill files for all three interfaces.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: add get_environment and get_project MCP tools, update AGENTS.md
Add missing get_environment and get_project MCP tools with
GetEnvironmentParams and GetProjectParams, matching the CLI and Python
SDK which already had these. Update AGENTS.md tool count (18→23),
tool table, CLI reference, Python SDK reference, and backend API table
to reflect all environment/project/profile additions.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore: format
* fix: validate list_profiles params, rename test, add missing docs
- MCP: require branch when project is provided in list_profiles
- Python: require branch with project and at least one selector in list_profiles
- Rename misleading test_cli_parses_environment_default_is_list
- Add list_profiles examples to docs/python.md and skill-py.md
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/mcp.md
+37-1Lines changed: 37 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Set up the MCP server
2
2
3
-
Connect AI assistants to Ascend using the [MCP](https://modelcontextprotocol.io/) (Model Context Protocol) server. Exposes 18 tools for managing workspaces, deployments, and flows. Works with Claude Code, Claude Desktop, Codex CLI, Cursor, and other MCP-compatible clients.
3
+
Connect AI assistants to Ascend using the [MCP](https://modelcontextprotocol.io/) (Model Context Protocol) server. Exposes 23 tools for managing workspaces, deployments, environments, projects, profiles, and flows. Works with Claude Code, Claude Desktop, Codex CLI, Cursor, and other MCP-compatible clients.
4
4
5
5
## Remote MCP server (recommended)
6
6
@@ -236,6 +236,42 @@ Delete a deployment.
236
236
|-----------|----------|------|-------------|
237
237
|`title`| yes | string | Deployment title |
238
238
239
+
### list_environments
240
+
241
+
List environments. No parameters.
242
+
243
+
### get_environment
244
+
245
+
Get an environment by title.
246
+
247
+
| Parameter | Required | Type | Description |
248
+
|-----------|----------|------|-------------|
249
+
|`title`| yes | string | Environment title |
250
+
251
+
### list_projects
252
+
253
+
List projects. No parameters.
254
+
255
+
### get_project
256
+
257
+
Get a project by title.
258
+
259
+
| Parameter | Required | Type | Description |
260
+
|-----------|----------|------|-------------|
261
+
|`title`| yes | string | Project title |
262
+
263
+
### list_profiles
264
+
265
+
List available profiles for a workspace, deployment, or project+branch.
266
+
267
+
| Parameter | Required | Type | Description |
268
+
|-----------|----------|------|-------------|
269
+
|`workspace`| no | string | Workspace title |
270
+
|`deployment`| no | string | Deployment title |
271
+
|`uuid`| no | string | UUID (direct override) |
272
+
|`project`| no | string | Project name (or UUID) — use with branch |
273
+
|`branch`| no | string | Git branch (required with project) |
0 commit comments