From 0e1641e6ff48a8d8090373faa2026d09004d29fd Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 31 Aug 2026 16:04:40 +0000 Subject: [PATCH 1/3] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index c12f542..f575319 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 20 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cas-parser/cas-parser-4d179917b01ea51a3325e7b37ecbbb60d0ba8f60381fe715ff3ec31284ca8042.yml -openapi_spec_hash: d027d37bd7051aa8c05fe1820c05b316 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cas-parser/cas-parser-af74b1ecac12449bb35644f3e1dd331b16a74003761fc6221a7bf8f17a040654.yml +openapi_spec_hash: 1975cb0f625324e96d208194e0ce35a8 config_hash: 5509bb7a961ae2e79114b24c381606d4 From f2ddf135f7b3aa540c9ec200cbc9e700d1cdbb10 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 1 Sep 2026 03:39:59 +0000 Subject: [PATCH 2/3] docs(mcp): document code execution modes and the local code runner Documents where the code tool runs the agent's code, the --code-execution-mode=local flag, and its Deno prerequisite. --- packages/mcp-server/README.md | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/packages/mcp-server/README.md b/packages/mcp-server/README.md index eba4481..7978291 100644 --- a/packages/mcp-server/README.md +++ b/packages/mcp-server/README.md @@ -60,20 +60,33 @@ claude mcp add cas_parser_node_mcp_api --header "x-api-key: My API Key" --transp ## Code Mode This MCP server is built on the "Code Mode" tool scheme. In this MCP Server, -your agent will write code against the TypeScript SDK, which will then be executed in an -isolated sandbox. To accomplish this, the server will expose two tools to your agent: +your agent will write code against the TypeScript SDK, which will then be executed in a +sandbox. To accomplish this, the server will expose two tools to your agent: - The first tool is a docs search tool, which can be used to generically query for documentation about your API/SDK. - The second tool is a code tool, where the agent can write code against the TypeScript SDK. - The code will be executed in a sandbox environment without web or filesystem access. Then, - anything the code returns or prints will be returned to the agent as the result of the - tool call. + The code is executed in a sandbox whose filesystem and network access are restricted to + what the SDK needs — see "Where code runs" below. Then, anything the code returns or + prints will be returned to the agent as the result of the tool call. Using this scheme, agents are capable of performing very complex tasks deterministically and repeatably. +### Where code runs + +The `--code-execution-mode` flag controls where the code tool runs your agent's code: + +- `--code-execution-mode=local` runs each code tool call in a Deno subprocess on the same + machine as the MCP server, restricted to reading the server's own files and to making network + requests to your API host. Nothing is sent to Stainless. Deno must be installed for this mode + to work: install it from https://deno.land, or add it to the MCP server's dependencies with + `npm install deno`. + +- `--code-execution-mode=stainless-sandbox` sends the code to a Stainless-hosted sandbox to be + executed there. This mode is deprecated and is being turned off, so use `local` instead. + ## Running remotely Launching the client with `--transport=http` launches the server as a remote server using Streamable HTTP transport. The `--port` setting can choose the port it will run on, and the `--socket` setting allows it to run on a Unix socket. From 233602e053841ba79bf91036dd61405649d86b8c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 1 Sep 2026 03:40:26 +0000 Subject: [PATCH 3/3] release: 1.17.1 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ package.json | 2 +- packages/mcp-server/manifest.json | 2 +- packages/mcp-server/package.json | 2 +- packages/mcp-server/src/server.ts | 2 +- src/version.ts | 2 +- 7 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 46e7a46..9a528fe 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.17.0" + ".": "1.17.1" } diff --git a/CHANGELOG.md b/CHANGELOG.md index a53913f..b13467f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.17.1 (2026-09-01) + +Full Changelog: [v1.17.0...v1.17.1](https://github.com/CASParser/cas-parser-node/compare/v1.17.0...v1.17.1) + +### Documentation + +* **mcp:** document code execution modes and the local code runner ([f2ddf13](https://github.com/CASParser/cas-parser-node/commit/f2ddf135f7b3aa540c9ec200cbc9e700d1cdbb10)) + ## 1.17.0 (2026-08-14) Full Changelog: [v1.16.0...v1.17.0](https://github.com/CASParser/cas-parser-node/compare/v1.16.0...v1.17.0) diff --git a/package.json b/package.json index 52f9934..56dcca1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cas-parser-node", - "version": "1.17.0", + "version": "1.17.1", "description": "The official TypeScript library for the Cas Parser API", "author": "Cas Parser ", "types": "dist/index.d.ts", diff --git a/packages/mcp-server/manifest.json b/packages/mcp-server/manifest.json index a9873fb..3ec6609 100644 --- a/packages/mcp-server/manifest.json +++ b/packages/mcp-server/manifest.json @@ -1,7 +1,7 @@ { "dxt_version": "0.2", "name": "cas-parser-node-mcp", - "version": "1.17.0", + "version": "1.17.1", "description": "The official MCP Server for the Cas Parser API", "author": { "name": "Cas Parser", diff --git a/packages/mcp-server/package.json b/packages/mcp-server/package.json index 33e3065..a820f63 100644 --- a/packages/mcp-server/package.json +++ b/packages/mcp-server/package.json @@ -1,6 +1,6 @@ { "name": "cas-parser-node-mcp", - "version": "1.17.0", + "version": "1.17.1", "description": "The official MCP Server for the Cas Parser API", "author": "Cas Parser ", "types": "dist/index.d.ts", diff --git a/packages/mcp-server/src/server.ts b/packages/mcp-server/src/server.ts index 8153cf3..326e608 100644 --- a/packages/mcp-server/src/server.ts +++ b/packages/mcp-server/src/server.ts @@ -28,7 +28,7 @@ export const newMcpServer = async ({ new McpServer( { name: 'cas_parser_node_api', - version: '1.17.0', + version: '1.17.1', }, { instructions: await getInstructions({ stainlessApiKey, customInstructionsPath }), diff --git a/src/version.ts b/src/version.ts index 8735576..d03dafe 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '1.17.0'; // x-release-please-version +export const VERSION = '1.17.1'; // x-release-please-version