Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
70c6458
chore(internal): cache fetch instruction calls in MCP server
stainless-app[bot] Feb 19, 2026
2c38bc4
fix(mcp): initialize SDK lazily to avoid failing the connection on in…
stainless-app[bot] Feb 20, 2026
2a5b350
chore: update mock server docs
stainless-app[bot] Feb 20, 2026
1dadb63
chore(mcp): correctly update version in sync with sdk
stainless-app[bot] Feb 20, 2026
6fbdf0b
feat(api): add tenantId to send
stainless-app[bot] Feb 20, 2026
92d897c
chore(internal): upgrade pnpm version
stainless-app[bot] Feb 24, 2026
8beea6f
fix(docs/contributing): correct pnpm link command
stainless-app[bot] Feb 24, 2026
a62c2db
chore(internal): upgrade @modelcontextprotocol/sdk and hono
stainless-app[bot] Feb 24, 2026
dfdead0
chore(internal): make MCP code execution location configurable via a …
stainless-app[bot] Feb 25, 2026
526c820
chore(internal): codegen related update
stainless-app[bot] Feb 26, 2026
ae0df75
chore(internal): fix MCP Dockerfiles so they can be built without bui…
stainless-app[bot] Feb 26, 2026
f3e1ae0
chore(internal): fix MCP Dockerfiles so they can be built without bui…
stainless-app[bot] Feb 26, 2026
cf98d02
chore(internal): move stringifyQuery implementation to internal function
stainless-app[bot] Feb 27, 2026
ae9fbd3
feat(mcp): add an option to disable code tool
stainless-app[bot] Feb 27, 2026
57b8946
fix(mcp): update prompt
stainless-app[bot] Feb 27, 2026
1271f6f
chore(internal): codegen related update
stainless-app[bot] Mar 3, 2026
7b95543
chore(mcp-server): return access instructions for 404 without API key
stainless-app[bot] Mar 3, 2026
1536aa4
chore(internal): use x-stainless-mcp-client-envs header for MCP remot…
stainless-app[bot] Mar 4, 2026
f70411d
chore(internal): codegen related update
stainless-app[bot] Mar 6, 2026
7e8fb67
chore(test): do not count install time for mock server timeout
stainless-app[bot] Mar 6, 2026
c49d867
chore(internal): codegen related update
stainless-app[bot] Mar 7, 2026
8ceeec0
chore(ci): skip uploading artifacts on stainless-internal branches
stainless-app[bot] Mar 7, 2026
dd91411
fix(client): preserve URL params already embedded in path
stainless-app[bot] Mar 7, 2026
034fe72
chore(mcp-server): improve instructions
stainless-app[bot] Mar 7, 2026
c4378da
chore(internal): update dependencies to address dependabot vulnerabil…
stainless-app[bot] Mar 10, 2026
f2af2ac
chore(internal): codegen related update
stainless-app[bot] Mar 11, 2026
1ea5bfb
chore(internal): codegen related update
stainless-app[bot] Mar 11, 2026
b335bdb
chore(internal): codegen related update
stainless-app[bot] Mar 11, 2026
08e9888
chore(internal): codegen related update
stainless-app[bot] Mar 11, 2026
c37d70d
chore(internal): codegen related update
stainless-app[bot] Mar 11, 2026
baad2b3
refactor: update sdk
stainless-app[bot] Mar 11, 2026
2a78b3d
chore(internal): codegen related update
stainless-app[bot] Mar 11, 2026
7b2d5af
chore(internal): codegen related update
stainless-app[bot] Mar 11, 2026
811048d
chore(internal): codegen related update
stainless-app[bot] Mar 11, 2026
840cca1
chore(internal): codegen related update
stainless-app[bot] Mar 11, 2026
64a16a2
chore(internal): codegen related update
stainless-app[bot] Mar 11, 2026
1b41255
chore(internal): codegen related update
stainless-app[bot] Mar 11, 2026
0690932
chore(internal): codegen related update
stainless-app[bot] Mar 11, 2026
b23efba
chore(internal): codegen related update
stainless-app[bot] Mar 12, 2026
c927691
chore(internal): update lock file
stainless-app[bot] Mar 12, 2026
ddb9868
chore(internal): update lockfile
stainless-app[bot] Mar 14, 2026
1e31765
chore(internal): make generated MCP servers compatible with Cloudflar…
stainless-app[bot] Mar 14, 2026
3baa9fc
chore(internal): support x-stainless-mcp-client-envs header in MCP se…
stainless-app[bot] Mar 14, 2026
754549d
chore(internal): tweak CI branches
stainless-app[bot] Mar 17, 2026
8dfe0cf
chore(internal): support x-stainless-mcp-client-permissions headers i…
stainless-app[bot] Mar 17, 2026
85e7b1a
refactor(tests): switch from prism to steady
stainless-app[bot] Mar 20, 2026
74bea4d
chore(tests): bump steady to v0.19.4
stainless-app[bot] Mar 21, 2026
cf9ec91
chore(tests): bump steady to v0.19.5
stainless-app[bot] Mar 21, 2026
f9f0bfb
chore(internal): update gitignore
stainless-app[bot] Mar 24, 2026
322f87e
chore(internal): fix MCP server TS errors that occur with required cl…
stainless-app[bot] Mar 24, 2026
6635173
chore(tests): bump steady to v0.19.6
stainless-app[bot] Mar 24, 2026
f4703d1
chore(ci): skip lint on metadata-only changes
stainless-app[bot] Mar 25, 2026
448907b
chore(tests): bump steady to v0.19.7
stainless-app[bot] Mar 25, 2026
d20bbc4
chore(internal): update multipart form array serialization
stainless-app[bot] Mar 27, 2026
d619e6c
chore(internal): support custom-instructions-path flag in MCP servers
stainless-app[bot] Mar 27, 2026
d7b6c02
chore(internal): support local docs search in MCP servers
stainless-app[bot] Mar 28, 2026
23585b4
chore(ci): escape input path in publish-npm workflow
stainless-app[bot] Mar 28, 2026
6dbdb7c
chore(mcp-server): add support for session id, forward client info
stainless-app[bot] Mar 31, 2026
6faba1a
chore(internal): improve local docs search for MCP servers
stainless-app[bot] Mar 31, 2026
8cc3098
chore(tests): bump steady to v0.20.1
stainless-app[bot] Apr 1, 2026
f134a98
chore(internal): improve local docs search for MCP servers
stainless-app[bot] Apr 1, 2026
361bb78
chore(tests): bump steady to v0.20.2
stainless-app[bot] Apr 1, 2026
5bc40dd
chore(internal): support type annotations when running MCP in local e…
stainless-app[bot] Apr 2, 2026
c881a14
chore(mcp-server): log client info
stainless-app[bot] Apr 3, 2026
e6a2ac3
chore(internal): fix MCP server import ordering
stainless-app[bot] Apr 7, 2026
2a702d7
chore(mcp-server): increase local docs search result count from 5 to 10
stainless-app[bot] Apr 9, 2026
14c215a
chore(internal): codegen related update
stainless-app[bot] Apr 9, 2026
274906a
chore(internal): show error causes in MCP servers when running in lo…
stainless-app[bot] Apr 10, 2026
b2b9666
release: 0.20.0
stainless-app[bot] Apr 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 22 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: CI
on:
push:
branches-ignore:
- 'generated'
- 'codegen/**'
- 'integrated/**'
- 'stl-preview-head/**'
- 'stl-preview-base/**'
branches:
- '**'
- '!integrated/**'
- '!stl-preview-head/**'
- '!stl-preview-base/**'
- '!generated'
- '!codegen/**'
- 'codegen/stl/**'
pull_request:
branches-ignore:
- 'stl-preview-head/**'
Expand All @@ -17,7 +19,7 @@ jobs:
timeout-minutes: 10
name: lint
runs-on: ${{ github.repository == 'stainless-sdks/ark-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
steps:
- uses: actions/checkout@v6

Expand All @@ -29,7 +31,7 @@ jobs:
- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: '10.27.0'
version: '10.30.1'

- name: Bootstrap
run: ./scripts/bootstrap
Expand All @@ -41,7 +43,7 @@ jobs:
timeout-minutes: 5
name: build
runs-on: ${{ github.repository == 'stainless-sdks/ark-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
permissions:
contents: read
id-token: write
Expand All @@ -56,7 +58,7 @@ jobs:
- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: '10.27.0'
version: '10.30.1'

- name: Bootstrap
run: ./scripts/bootstrap
Expand All @@ -65,22 +67,28 @@ jobs:
run: ./scripts/build

- name: Get GitHub OIDC Token
if: github.repository == 'stainless-sdks/ark-typescript'
if: |-
github.repository == 'stainless-sdks/ark-typescript' &&
!startsWith(github.ref, 'refs/heads/stl/')
id: github-oidc
uses: actions/github-script@v8
with:
script: core.setOutput('github_token', await core.getIDToken());

- name: Upload tarball
if: github.repository == 'stainless-sdks/ark-typescript'
if: |-
github.repository == 'stainless-sdks/ark-typescript' &&
!startsWith(github.ref, 'refs/heads/stl/')
env:
URL: https://pkg.stainless.com/s
AUTH: ${{ steps.github-oidc.outputs.github_token }}
SHA: ${{ github.sha }}
run: ./scripts/utils/upload-artifact.sh

- name: Upload MCP Server tarball
if: github.repository == 'stainless-sdks/ark-typescript'
if: |-
github.repository == 'stainless-sdks/ark-typescript' &&
!startsWith(github.ref, 'refs/heads/stl/')
env:
URL: https://pkg.stainless.com/s?subpackage=mcp-server
AUTH: ${{ steps.github-oidc.outputs.github_token }}
Expand All @@ -103,7 +111,7 @@ jobs:
- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: '10.27.0'
version: '10.30.1'

- name: Bootstrap
run: ./scripts/bootstrap
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,14 @@ jobs:

- name: Publish to NPM
run: |
if [ -n "${{ github.event.inputs.path }}" ]; then
PATHS_RELEASED='[\"${{ github.event.inputs.path }}\"]'
if [ -n "$INPUT_PATH" ]; then
PATHS_RELEASED="[\"$INPUT_PATH\"]"
else
PATHS_RELEASED='[\".\", \"packages/mcp-server\"]'
fi
pnpm tsn scripts/publish-packages.ts "{ \"paths_released\": \"$PATHS_RELEASED\" }"
env:
INPUT_PATH: ${{ github.event.inputs.path }}
NPM_TOKEN: ${{ secrets.ARK_NPM_TOKEN || secrets.NPM_TOKEN }}

- name: Upload MCP Server DXT GitHub release asset
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.prism.log
.stdy.log
node_modules
yarn-error.log
codegen.log
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.19.1"
".": "0.20.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 58
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/ark%2Fark-98a90852ffca49f4e26c613afff433b17023ee1f81f38ad38a5dad60a0d09881.yml
openapi_spec_hash: c6fd865dd6995df15cf9e6ada2ae791e
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/ark%2Fark-06c3025bf12b191c3906b28173c9b359e24481dd2839dbf3e6dd0b80c1de3fd6.yml
openapi_spec_hash: d8f8fb1f78579997b6381d64cba4e826
config_hash: b70b11b10fc614f91f1c6f028b40780f
87 changes: 87 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,92 @@
# Changelog

## 0.20.0 (2026-04-10)

Full Changelog: [v0.19.1...v0.20.0](https://github.com/ArkHQ-io/ark-nodejs/compare/v0.19.1...v0.20.0)

### Features

* **api:** add tenantId to send ([6fbdf0b](https://github.com/ArkHQ-io/ark-nodejs/commit/6fbdf0b960675ac848e67eabd1922cbfb0238465))
* **mcp:** add an option to disable code tool ([ae9fbd3](https://github.com/ArkHQ-io/ark-nodejs/commit/ae9fbd3e0bd339a046c8afd526d8cd3b17b77208))


### Bug Fixes

* **client:** preserve URL params already embedded in path ([dd91411](https://github.com/ArkHQ-io/ark-nodejs/commit/dd91411c605832068c3f46b9d2415549a70a78bd))
* **docs/contributing:** correct pnpm link command ([8beea6f](https://github.com/ArkHQ-io/ark-nodejs/commit/8beea6fed9825a6d68eea8e65839c8c5ab3a8eac))
* **mcp:** initialize SDK lazily to avoid failing the connection on init errors ([2c38bc4](https://github.com/ArkHQ-io/ark-nodejs/commit/2c38bc4fc25dee8203ed29ccb0d5681c0c972195))
* **mcp:** update prompt ([57b8946](https://github.com/ArkHQ-io/ark-nodejs/commit/57b8946bd4e9ec20153c93306e32be7d0be07d4b))


### Chores

* **ci:** escape input path in publish-npm workflow ([23585b4](https://github.com/ArkHQ-io/ark-nodejs/commit/23585b41adb458bcc2a5d18dc5e2f63bc6853856))
* **ci:** skip lint on metadata-only changes ([f4703d1](https://github.com/ArkHQ-io/ark-nodejs/commit/f4703d16a4f11f0ad784f213b523a76013dfb7f9))
* **ci:** skip uploading artifacts on stainless-internal branches ([8ceeec0](https://github.com/ArkHQ-io/ark-nodejs/commit/8ceeec08ddccecc1f4c23d24ae893d8dc730efbd))
* **internal:** cache fetch instruction calls in MCP server ([70c6458](https://github.com/ArkHQ-io/ark-nodejs/commit/70c6458f5342c89336dd1c3cf6fb01f270771cd0))
* **internal:** codegen related update ([14c215a](https://github.com/ArkHQ-io/ark-nodejs/commit/14c215a84811fcf8009405a527621d584ee10a56))
* **internal:** codegen related update ([b23efba](https://github.com/ArkHQ-io/ark-nodejs/commit/b23efba4958abaa2d955ed899fd1324c77d6f523))
* **internal:** codegen related update ([0690932](https://github.com/ArkHQ-io/ark-nodejs/commit/06909320868dcf47530bd863fd6814d129962333))
* **internal:** codegen related update ([1b41255](https://github.com/ArkHQ-io/ark-nodejs/commit/1b4125529fcfebdd7e77722497df02b2ed45eb37))
* **internal:** codegen related update ([64a16a2](https://github.com/ArkHQ-io/ark-nodejs/commit/64a16a2708d314c4e71fe8bfa4bd7de77dceee18))
* **internal:** codegen related update ([840cca1](https://github.com/ArkHQ-io/ark-nodejs/commit/840cca102a10ef2d36e49e948066640cd6805592))
* **internal:** codegen related update ([811048d](https://github.com/ArkHQ-io/ark-nodejs/commit/811048d1af1d16e672afe02b2ae0bfa3182a1c1e))
* **internal:** codegen related update ([7b2d5af](https://github.com/ArkHQ-io/ark-nodejs/commit/7b2d5af6a5eff12fbe5064a4836da0c9676d22b5))
* **internal:** codegen related update ([2a78b3d](https://github.com/ArkHQ-io/ark-nodejs/commit/2a78b3dce8bd987bafdae838198d84210ceecc7b))
* **internal:** codegen related update ([c37d70d](https://github.com/ArkHQ-io/ark-nodejs/commit/c37d70dcdcac915c2ccd876cd9dc98d73fab966f))
* **internal:** codegen related update ([08e9888](https://github.com/ArkHQ-io/ark-nodejs/commit/08e9888e246c70a645acd5e5278e0f956f935c4e))
* **internal:** codegen related update ([b335bdb](https://github.com/ArkHQ-io/ark-nodejs/commit/b335bdb55f0cdcf4026b902e82a0e182c76ce015))
* **internal:** codegen related update ([1ea5bfb](https://github.com/ArkHQ-io/ark-nodejs/commit/1ea5bfb37cec1f3394eba8d9f3392e8dc52fa3ed))
* **internal:** codegen related update ([f2af2ac](https://github.com/ArkHQ-io/ark-nodejs/commit/f2af2ac4011d120c57df8f52017aafe8cea71198))
* **internal:** codegen related update ([c49d867](https://github.com/ArkHQ-io/ark-nodejs/commit/c49d86766d9dc9de536bc2283f210ba77d6c0659))
* **internal:** codegen related update ([f70411d](https://github.com/ArkHQ-io/ark-nodejs/commit/f70411d5c2cfacb0105cec1cfd8071099ad12e54))
* **internal:** codegen related update ([1271f6f](https://github.com/ArkHQ-io/ark-nodejs/commit/1271f6f6e3f0945d1b4c6f9cdade67386d7a3a67))
* **internal:** codegen related update ([526c820](https://github.com/ArkHQ-io/ark-nodejs/commit/526c8205065577ffb9e480bbf363b1fad2b7cb36))
* **internal:** fix MCP Dockerfiles so they can be built without buildkit ([f3e1ae0](https://github.com/ArkHQ-io/ark-nodejs/commit/f3e1ae0b09825a183ab87e279af5e1185aa9138b))
* **internal:** fix MCP Dockerfiles so they can be built without buildkit ([ae0df75](https://github.com/ArkHQ-io/ark-nodejs/commit/ae0df750c9a801293c8e5554963be30dfd1f8e06))
* **internal:** fix MCP server import ordering ([e6a2ac3](https://github.com/ArkHQ-io/ark-nodejs/commit/e6a2ac35c31c36ecebc005c6ea9055954558c747))
* **internal:** fix MCP server TS errors that occur with required client options ([322f87e](https://github.com/ArkHQ-io/ark-nodejs/commit/322f87e3241f0b2ff519830cf5c16e4822d9809d))
* **internal:** improve local docs search for MCP servers ([f134a98](https://github.com/ArkHQ-io/ark-nodejs/commit/f134a98f96202a7bae902bc2cea2a28dee36a0c9))
* **internal:** improve local docs search for MCP servers ([6faba1a](https://github.com/ArkHQ-io/ark-nodejs/commit/6faba1a10eaa6f7f15ed1e9362245f833924e871))
* **internal:** make generated MCP servers compatible with Cloudflare worker environments ([1e31765](https://github.com/ArkHQ-io/ark-nodejs/commit/1e317656f82499cc3807bac65e7d3a18e7e97f1c))
* **internal:** make MCP code execution location configurable via a flag ([dfdead0](https://github.com/ArkHQ-io/ark-nodejs/commit/dfdead08790f1f37332a96ad0bd8449303eda7b1))
* **internal:** move stringifyQuery implementation to internal function ([cf98d02](https://github.com/ArkHQ-io/ark-nodejs/commit/cf98d02984384b8a5067912df43a3d473b78ac90))
* **internal:** show error causes in MCP servers when running in local mode ([274906a](https://github.com/ArkHQ-io/ark-nodejs/commit/274906a4c555bf77ad0f831d3c49ec417ecba3ff))
* **internal:** support custom-instructions-path flag in MCP servers ([d619e6c](https://github.com/ArkHQ-io/ark-nodejs/commit/d619e6cf7bec1156b01077ae365225c064c1ff0c))
* **internal:** support local docs search in MCP servers ([d7b6c02](https://github.com/ArkHQ-io/ark-nodejs/commit/d7b6c027b474ee92b754adba631e3dd9876ea4bd))
* **internal:** support type annotations when running MCP in local execution mode ([5bc40dd](https://github.com/ArkHQ-io/ark-nodejs/commit/5bc40dd0b3d667b40082b8ae951dbb28906d0388))
* **internal:** support x-stainless-mcp-client-envs header in MCP servers ([3baa9fc](https://github.com/ArkHQ-io/ark-nodejs/commit/3baa9fcc0a0cc5f043663be331e94b1fc63e36cc))
* **internal:** support x-stainless-mcp-client-permissions headers in MCP servers ([8dfe0cf](https://github.com/ArkHQ-io/ark-nodejs/commit/8dfe0cf9834efb627e6497fca376faff0692e191))
* **internal:** tweak CI branches ([754549d](https://github.com/ArkHQ-io/ark-nodejs/commit/754549d106a22b74a87b9332c9d6f3f671a8946c))
* **internal:** update dependencies to address dependabot vulnerabilities ([c4378da](https://github.com/ArkHQ-io/ark-nodejs/commit/c4378da3eef2a11aa6e3fa4b3539b2e48b071818))
* **internal:** update gitignore ([f9f0bfb](https://github.com/ArkHQ-io/ark-nodejs/commit/f9f0bfbe65c243ea6cbb6162a2234a856b229ab2))
* **internal:** update lock file ([c927691](https://github.com/ArkHQ-io/ark-nodejs/commit/c927691edff4d1434fe28c1a5b4911882d2417e1))
* **internal:** update lockfile ([ddb9868](https://github.com/ArkHQ-io/ark-nodejs/commit/ddb986866ce29017b12f937b4234110c075ea1be))
* **internal:** update multipart form array serialization ([d20bbc4](https://github.com/ArkHQ-io/ark-nodejs/commit/d20bbc41fec80127d858ca5f90a9bca9863a250b))
* **internal:** upgrade @modelcontextprotocol/sdk and hono ([a62c2db](https://github.com/ArkHQ-io/ark-nodejs/commit/a62c2db41c7f5de400cbb45d4d61821ad6d23eaf))
* **internal:** upgrade pnpm version ([92d897c](https://github.com/ArkHQ-io/ark-nodejs/commit/92d897ccfcd8bcbfcb66b9c9456a3484fc93813f))
* **internal:** use x-stainless-mcp-client-envs header for MCP remote code tool calls ([1536aa4](https://github.com/ArkHQ-io/ark-nodejs/commit/1536aa4f6deff7c608203fa4aa4a92500b4bb1c7))
* **mcp-server:** add support for session id, forward client info ([6dbdb7c](https://github.com/ArkHQ-io/ark-nodejs/commit/6dbdb7ce42f618c34740634523d4b8d31f9286d0))
* **mcp-server:** improve instructions ([034fe72](https://github.com/ArkHQ-io/ark-nodejs/commit/034fe72954e4d7d6458baebcd466743274719e4d))
* **mcp-server:** increase local docs search result count from 5 to 10 ([2a702d7](https://github.com/ArkHQ-io/ark-nodejs/commit/2a702d711c44effb1dc4e2d0498f93f5263b2200))
* **mcp-server:** log client info ([c881a14](https://github.com/ArkHQ-io/ark-nodejs/commit/c881a147b57578239283817a55c8ed20a0018962))
* **mcp-server:** return access instructions for 404 without API key ([7b95543](https://github.com/ArkHQ-io/ark-nodejs/commit/7b95543cce2bcd6e7485b7b72fb661f83f888534))
* **mcp:** correctly update version in sync with sdk ([1dadb63](https://github.com/ArkHQ-io/ark-nodejs/commit/1dadb630f2bbd1bad630e10761524a890a1c5b84))
* **test:** do not count install time for mock server timeout ([7e8fb67](https://github.com/ArkHQ-io/ark-nodejs/commit/7e8fb67a552e618d84b159fc7949716358e5f651))
* **tests:** bump steady to v0.19.4 ([74bea4d](https://github.com/ArkHQ-io/ark-nodejs/commit/74bea4da408c9109c6f6cfcaff3e64cf3d1598ae))
* **tests:** bump steady to v0.19.5 ([cf9ec91](https://github.com/ArkHQ-io/ark-nodejs/commit/cf9ec91d28bea56831e54837f3dcb70b0045dc2b))
* **tests:** bump steady to v0.19.6 ([6635173](https://github.com/ArkHQ-io/ark-nodejs/commit/663517360ee9844c63880294cc2cb1c42e54b9dc))
* **tests:** bump steady to v0.19.7 ([448907b](https://github.com/ArkHQ-io/ark-nodejs/commit/448907bbfe0b30f7b63781f39dfb197ac00163c7))
* **tests:** bump steady to v0.20.1 ([8cc3098](https://github.com/ArkHQ-io/ark-nodejs/commit/8cc3098ea24e01ee29de534a6a8f7f4b4de2ae9b))
* **tests:** bump steady to v0.20.2 ([361bb78](https://github.com/ArkHQ-io/ark-nodejs/commit/361bb78948f15b6e778c4e8728700eb31ae0d5d3))
* update mock server docs ([2a5b350](https://github.com/ArkHQ-io/ark-nodejs/commit/2a5b35073fbd73679e553f33acd495521420f638))


### Refactors

* **tests:** switch from prism to steady ([85e7b1a](https://github.com/ArkHQ-io/ark-nodejs/commit/85e7b1a01ed063105884bb59933bb4d788ca642b))
* update sdk ([baad2b3](https://github.com/ArkHQ-io/ark-nodejs/commit/baad2b38bfd71bccea2d84bad2137efb3c976d64))

## 0.19.1 (2026-02-18)

Full Changelog: [v0.19.0...v0.19.1](https://github.com/ArkHQ-io/ark-nodejs/compare/v0.19.0...v0.19.1)
Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ $ yarn link ark-email
# With pnpm
$ pnpm link --global
$ cd ../my-package
$ pnpm link -global ark-email
$ pnpm link --global ark-email
```

## Running tests

Most tests require you to [set up a mock server](https://github.com/stoplightio/prism) against the OpenAPI spec to run the tests.
Most tests require you to [set up a mock server](https://github.com/dgellow/steady) against the OpenAPI spec to run the tests.

```sh
$ npx prism mock path/to/your/openapi.yml
$ ./scripts/mock
```

```sh
Expand Down
15 changes: 13 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "ark-email",
"version": "0.19.1",
"version": "0.20.0",
"description": "The official TypeScript library for the Ark API",
"author": "Ark <hi@arkhq.io>",
"types": "dist/index.d.ts",
"main": "dist/index.js",
"type": "commonjs",
"repository": "github:ArkHQ-io/ark-nodejs",
"license": "Apache-2.0",
"packageManager": "pnpm@10.27.0",
"packageManager": "pnpm@10.30.1",
"files": [
"**/*"
],
Expand Down Expand Up @@ -50,6 +50,17 @@
"typescript": "5.8.3",
"typescript-eslint": "8.31.1"
},
"overrides": {
"minimatch": "^9.0.5"
},
"pnpm": {
"overrides": {
"minimatch": "^9.0.5"
}
},
"resolutions": {
"minimatch": "^9.0.5"
},
"exports": {
".": {
"import": "./dist/index.mjs",
Expand Down
9 changes: 7 additions & 2 deletions packages/mcp-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,12 @@ ENV CI=true
RUN pnpm install --frozen-lockfile && \
pnpm build

# Production stage
FROM node:24-alpine
FROM denoland/deno:alpine-2.7.1

# Install node and npm
RUN apk add --no-cache nodejs npm

ENV LD_LIBRARY_PATH=/usr/lib:/usr/local/lib

# Add non-root user
RUN addgroup -g 1001 -S nodejs && adduser -S nodejs -u 1001
Expand All @@ -60,6 +64,7 @@ COPY --from=builder /build/dist ./node_modules/ark-email

# Change ownership to nodejs user
RUN chown -R nodejs:nodejs /app
RUN chown -R nodejs:nodejs /deno-dir

# Switch to non-root user
USER nodejs
Expand Down
10 changes: 7 additions & 3 deletions packages/mcp-server/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"dxt_version": "0.2",
"name": "ark-email-mcp",
"version": "0.5.1",
"version": "0.20.0",
"description": "The official MCP Server for the Ark API",
"author": {
"name": "Ark",
Expand All @@ -18,7 +18,9 @@
"entry_point": "index.js",
"mcp_config": {
"command": "node",
"args": ["${__dirname}/index.js"],
"args": [
"${__dirname}/index.js"
],
"env": {
"ARK_API_KEY": "${user_config.ARK_API_KEY}"
}
Expand All @@ -39,5 +41,7 @@
"node": ">=18.0.0"
}
},
"keywords": ["api"]
"keywords": [
"api"
]
}
26 changes: 15 additions & 11 deletions packages/mcp-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ark-email-mcp",
"version": "0.19.1",
"version": "0.20.0",
"description": "The official MCP Server for the Ark API",
"author": "Ark <hi@arkhq.io>",
"types": "dist/index.d.ts",
Expand All @@ -13,7 +13,7 @@
},
"homepage": "https://github.com/ArkHQ-io/ark-nodejs/tree/main/packages/mcp-server#readme",
"license": "Apache-2.0",
"packageManager": "pnpm@10.27.0",
"packageManager": "pnpm@10.30.1",
"private": false,
"publishConfig": {
"access": "public"
Expand All @@ -25,21 +25,26 @@
"prepublishOnly": "echo 'to publish, run pnpm build && (cd dist; pnpm publish)' && exit 1",
"format": "prettier --write --cache --cache-strategy metadata . !dist",
"tsn": "ts-node -r tsconfig-paths/register",
"lint": "eslint --ext ts,js .",
"fix": "eslint --fix --ext ts,js ."
"lint": "eslint .",
"fix": "eslint --fix ."
},
"dependencies": {
"ark-email": "workspace:*",
"ajv": "^8.18.0",
"@cloudflare/cabidela": "^0.2.4",
"@modelcontextprotocol/sdk": "^1.25.2",
"@hono/node-server": "^1.19.10",
"@modelcontextprotocol/sdk": "^1.27.1",
"hono": "^4.12.4",
"@valtown/deno-http-worker": "^0.0.21",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"express": "^5.1.0",
"fuse.js": "^7.1.0",
"minisearch": "^7.2.0",
"jq-web": "https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz",
"morgan": "^1.10.0",
"morgan-body": "^2.6.9",
"pino": "^10.3.1",
"pino-http": "^11.0.0",
"pino-pretty": "^13.1.3",
"qs": "^6.14.1",
"typescript": "5.8.3",
"yargs": "^17.7.2",
Expand All @@ -56,14 +61,13 @@
"@types/cors": "^2.8.19",
"@types/express": "^5.0.3",
"@types/jest": "^29.4.0",
"@types/morgan": "^1.9.10",
"@types/qs": "^6.14.0",
"@types/yargs": "^17.0.8",
"@typescript-eslint/eslint-plugin": "8.31.1",
"@typescript-eslint/parser": "8.31.1",
"eslint": "^8.49.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-unused-imports": "^3.0.0",
"eslint": "^9.39.1",
"eslint-plugin-prettier": "^5.4.1",
"eslint-plugin-unused-imports": "^4.1.4",
"jest": "^29.4.0",
"prettier": "^3.0.0",
"ts-jest": "^29.1.0",
Expand Down
Loading
Loading