Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
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.129.0"
".": "0.130.0"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 177
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-c24eebe942f400bff8922a6fbef1ce551ad14f61eb4da21b50d823a62ca42586.yml
openapi_spec_hash: b79ed927e625dedff69cea29131a34d9
config_hash: 693dddc4721eef512d75ab6c60897794
configured_endpoints: 183
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-f99894d5b6eda608756c9e5e9868c81c4ce8c74c4d8958370cc3799766a13d65.yml
openapi_spec_hash: 2f364e16b58e5a9759fc9f772cb33f3c
config_hash: 2ee394874b7eb4cbe06f044b7376a6ba
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# Changelog

## 0.130.0 (2026-02-25)

Full Changelog: [v0.129.0...v0.130.0](https://github.com/lithic-com/lithic-node/compare/v0.129.0...v0.130.0)

### Features

* **api:** Add INTEREST_AND_FEES_PAUSED substatus to financial account ([342cb07](https://github.com/lithic-com/lithic-node/commit/342cb0725d8b9d8645e20e7c7ca7a386ce657f36))
* **api:** Expose MIL interest schedules and loan tape configuration endpoints ([c71b835](https://github.com/lithic-com/lithic-node/commit/c71b835642458ce89a801ac770b4c5c7e2788a60))


### Bug Fixes

* **docs/contributing:** correct pnpm link command ([49b3676](https://github.com/lithic-com/lithic-node/commit/49b3676c5eb963fb6608a65b3effb56e2162dc44))


### Chores

* **internal:** fix MCP Dockerfiles so they can be built without buildkit ([d654204](https://github.com/lithic-com/lithic-node/commit/d654204ff237b1ff579d704fd69518ff5f604dc0))
* **internal:** make MCP code execution location configurable via a flag ([d7ce232](https://github.com/lithic-com/lithic-node/commit/d7ce232aec15b1fd054e8ef2b29d19d54627fcea))
* **internal:** upgrade @modelcontextprotocol/sdk and hono ([7e9cc7b](https://github.com/lithic-com/lithic-node/commit/7e9cc7b6d308347668dec9dc874cb0c3048fa17b))
* **mcp:** correctly update version in sync with sdk ([71e0dc6](https://github.com/lithic-com/lithic-node/commit/71e0dc6a360f33aacffbd34619282022d8128060))
* update mock server docs ([6657e0d](https://github.com/lithic-com/lithic-node/commit/6657e0d898b31c05c58a76c6babff472fc1dfbef))

## 0.129.0 (2026-02-19)

Full Changelog: [v0.128.0...v0.129.0](https://github.com/lithic-com/lithic-node/compare/v0.128.0...v0.129.0)
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ $ yarn link lithic
# With pnpm
$ pnpm link --global
$ cd ../my-package
$ pnpm link -global lithic
$ pnpm link --global lithic
```

## 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.

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

```sh
Expand Down
4 changes: 4 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ This affects the following methods:
- `client.financialAccounts.statements.retrieve()`
- `client.financialAccounts.statements.lineItems.list()`
- `client.financialAccounts.loanTapes.retrieve()`
- `client.financialAccounts.interestTierSchedule.retrieve()`
- `client.financialAccounts.interestTierSchedule.update()`
- `client.financialAccounts.interestTierSchedule.delete()`

### URI encoded path parameters

Expand Down Expand Up @@ -127,6 +130,7 @@ client.example.list(undefined, { headers: { ... } });
- `client.financialAccounts.creditConfiguration.update()`
- `client.financialAccounts.statements.list()`
- `client.financialAccounts.loanTapes.list()`
- `client.financialAccounts.interestTierSchedule.list()`
- `client.transactions.list()`
- `client.externalBankAccounts.list()`
- `client.externalBankAccounts.retryMicroDeposits()`
Expand Down
26 changes: 26 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,32 @@ Methods:
- <code title="get /v1/financial_accounts/{financial_account_token}/loan_tapes/{loan_tape_token}">client.financialAccounts.loanTapes.<a href="./src/resources/financial-accounts/loan-tapes.ts">retrieve</a>(loanTapeToken, { ...params }) -> LoanTape</code>
- <code title="get /v1/financial_accounts/{financial_account_token}/loan_tapes">client.financialAccounts.loanTapes.<a href="./src/resources/financial-accounts/loan-tapes.ts">list</a>(financialAccountToken, { ...params }) -> LoanTapesCursorPage</code>

## LoanTapeConfiguration

Types:

- <code><a href="./src/resources/financial-accounts/loan-tape-configuration.ts">LoanTapeConfiguration</a></code>
- <code><a href="./src/resources/financial-accounts/loan-tape-configuration.ts">LoanTapeRebuildConfiguration</a></code>

Methods:

- <code title="get /v1/financial_accounts/{financial_account_token}/loan_tape_configuration">client.financialAccounts.loanTapeConfiguration.<a href="./src/resources/financial-accounts/loan-tape-configuration.ts">retrieve</a>(financialAccountToken) -> LoanTapeConfiguration</code>

## InterestTierSchedule

Types:

- <code><a href="./src/resources/financial-accounts/interest-tier-schedule.ts">CategoryTier</a></code>
- <code><a href="./src/resources/financial-accounts/interest-tier-schedule.ts">InterestTierSchedule</a></code>

Methods:

- <code title="post /v1/financial_accounts/{financial_account_token}/interest_tier_schedule">client.financialAccounts.interestTierSchedule.<a href="./src/resources/financial-accounts/interest-tier-schedule.ts">create</a>(financialAccountToken, { ...params }) -> InterestTierSchedule</code>
- <code title="get /v1/financial_accounts/{financial_account_token}/interest_tier_schedule/{effective_date}">client.financialAccounts.interestTierSchedule.<a href="./src/resources/financial-accounts/interest-tier-schedule.ts">retrieve</a>(effectiveDate, { ...params }) -> InterestTierSchedule</code>
- <code title="put /v1/financial_accounts/{financial_account_token}/interest_tier_schedule/{effective_date}">client.financialAccounts.interestTierSchedule.<a href="./src/resources/financial-accounts/interest-tier-schedule.ts">update</a>(effectiveDate, { ...params }) -> InterestTierSchedule</code>
- <code title="get /v1/financial_accounts/{financial_account_token}/interest_tier_schedule">client.financialAccounts.interestTierSchedule.<a href="./src/resources/financial-accounts/interest-tier-schedule.ts">list</a>(financialAccountToken, { ...params }) -> InterestTierSchedulesSinglePage</code>
- <code title="delete /v1/financial_accounts/{financial_account_token}/interest_tier_schedule/{effective_date}">client.financialAccounts.interestTierSchedule.<a href="./src/resources/financial-accounts/interest-tier-schedule.ts">delete</a>(effectiveDate, { ...params }) -> void</code>

# Transactions

Types:
Expand Down
103 changes: 103 additions & 0 deletions bin/migration-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,109 @@
"type": "options"
}
]
},
{
"base": "financialAccounts.interestTierSchedule",
"name": "retrieve",
"params": [
{
"type": "param",
"key": "effective_date",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "financial_account_token",
"location": "path"
},
{
"type": "param",
"key": "effective_date",
"location": "path"
},
{
"type": "options"
}
]
},
{
"base": "financialAccounts.interestTierSchedule",
"name": "update",
"params": [
{
"type": "param",
"key": "effective_date",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "financial_account_token",
"location": "path"
},
{
"type": "param",
"key": "effective_date",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
]
},
{
"base": "financialAccounts.interestTierSchedule",
"name": "delete",
"params": [
{
"type": "param",
"key": "effective_date",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "financial_account_token",
"location": "path"
},
{
"type": "param",
"key": "effective_date",
"location": "path"
},
{
"type": "options"
}
]
}
]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lithic",
"version": "0.129.0",
"version": "0.130.0",
"description": "The official TypeScript library for the Lithic API",
"author": "Lithic <sdk-feedback@lithic.com>",
"types": "dist/index.d.ts",
Expand Down
14 changes: 13 additions & 1 deletion packages/mcp-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,21 @@ COPY . .
RUN yarn install --frozen-lockfile && \
yarn build

# Production stage
FROM denoland/deno:bin-2.6.10 AS deno_installer
FROM gcr.io/distroless/cc@sha256:66d87e170bc2c5e2b8cf853501141c3c55b4e502b8677595c57534df54a68cc5 AS cc

FROM node:24-alpine

# Install deno
COPY --from=deno_installer /deno /usr/local/bin/deno

# Add in shared libraries needed by Deno
COPY --from=cc /lib/*-linux-gnu/* /usr/local/lib/
COPY --from=cc /lib/ld-linux-* /lib/

RUN mkdir /lib64 && ln -s /usr/local/lib/ld-linux-* /lib64/
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 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": "lithic-mcp",
"version": "0.128.0",
"version": "0.130.0",
"description": "The official MCP Server for the Lithic API",
"author": {
"name": "Lithic",
Expand All @@ -18,7 +18,9 @@
"entry_point": "index.js",
"mcp_config": {
"command": "node",
"args": ["${__dirname}/index.js"],
"args": [
"${__dirname}/index.js"
],
"env": {
"LITHIC_API_KEY": "${user_config.LITHIC_API_KEY}",
"LITHIC_WEBHOOK_SECRET": "${user_config.LITHIC_WEBHOOK_SECRET}"
Expand Down Expand Up @@ -46,5 +48,7 @@
"node": ">=18.0.0"
}
},
"keywords": ["api"]
"keywords": [
"api"
]
}
4 changes: 2 additions & 2 deletions packages/mcp-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lithic-mcp",
"version": "0.129.0",
"version": "0.130.0",
"description": "The official MCP Server for the Lithic API",
"author": "Lithic <sdk-feedback@lithic.com>",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -32,7 +32,7 @@
"dependencies": {
"lithic": "file:../../dist/",
"@cloudflare/cabidela": "^0.2.4",
"@modelcontextprotocol/sdk": "^1.25.2",
"@modelcontextprotocol/sdk": "^1.26.0",
"@valtown/deno-http-worker": "^0.0.21",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
Expand Down
3 changes: 3 additions & 0 deletions packages/mcp-server/src/code-tool-paths.cts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

export const workerPath = require.resolve('./code-tool-worker.mjs');
1 change: 1 addition & 0 deletions packages/mcp-server/src/code-tool-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export type WorkerInput = {
client_opts: ClientOptions;
intent?: string | undefined;
};

export type WorkerOutput = {
is_error: boolean;
result: unknown | null;
Expand Down
Loading