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: 185
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-c1dbf87770ddffb9d6d1ada33d1c43739d43498ff687c1d58e403ffc08f6f863.yml
openapi_spec_hash: f488e595de02180bb904da283b7a1c39
config_hash: 925e84bc73b1b9b5eb0ffd230fc9800f
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# Changelog

## 0.130.0 (2026-02-26)

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 account holder entity endpoints ([3fb22ea](https://github.com/lithic-com/lithic-node/commit/3fb22eacba6bcf9e4ea5e96bc628a9e16c6a981d))
* **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))
* **mcp:** add an option to disable code tool ([c3f0f72](https://github.com/lithic-com/lithic-node/commit/c3f0f72caf3029aab0a066cffa1bee89096599f5))


### 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 ([b11e333](https://github.com/lithic-com/lithic-node/commit/b11e3337b479aa0b2eab7ae5aaa914d5ab0cd599))
* **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:** move stringifyQuery implementation to internal function ([18e4250](https://github.com/lithic-com/lithic-node/commit/18e4250eccfe59f8e09a7c017cfa3745ad0b1d99))
* **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
5 changes: 5 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ client.parents.children.retrieve('c_456', { parent_id: 'p_123' });
This affects the following methods:

- `client.accountHolders.retrieveDocument()`
- `client.accountHolders.entities.delete()`
- `client.authRules.v2.backtests.retrieve()`
- `client.cards.financialTransactions.retrieve()`
- `client.disputes.deleteEvidence()`
Expand All @@ -64,6 +65,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 +131,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
84 changes: 61 additions & 23 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,29 +40,41 @@ Methods:

Types:

- <code><a href="./src/resources/account-holders.ts">AccountHolder</a></code>
- <code><a href="./src/resources/account-holders.ts">AddressUpdate</a></code>
- <code><a href="./src/resources/account-holders.ts">KYB</a></code>
- <code><a href="./src/resources/account-holders.ts">KYBBusinessEntity</a></code>
- <code><a href="./src/resources/account-holders.ts">KYC</a></code>
- <code><a href="./src/resources/account-holders.ts">KYCExempt</a></code>
- <code><a href="./src/resources/account-holders.ts">RequiredDocument</a></code>
- <code><a href="./src/resources/account-holders.ts">AccountHolderCreateResponse</a></code>
- <code><a href="./src/resources/account-holders.ts">AccountHolderUpdateResponse</a></code>
- <code><a href="./src/resources/account-holders.ts">AccountHolderListDocumentsResponse</a></code>
- <code><a href="./src/resources/account-holders.ts">AccountHolderSimulateEnrollmentReviewResponse</a></code>

Methods:

- <code title="post /v1/account_holders">client.accountHolders.<a href="./src/resources/account-holders.ts">create</a>({ ...params }) -> AccountHolderCreateResponse</code>
- <code title="get /v1/account_holders/{account_holder_token}">client.accountHolders.<a href="./src/resources/account-holders.ts">retrieve</a>(accountHolderToken) -> AccountHolder</code>
- <code title="patch /v1/account_holders/{account_holder_token}">client.accountHolders.<a href="./src/resources/account-holders.ts">update</a>(accountHolderToken, { ...params }) -> AccountHolderUpdateResponse</code>
- <code title="get /v1/account_holders">client.accountHolders.<a href="./src/resources/account-holders.ts">list</a>({ ...params }) -> AccountHoldersSinglePage</code>
- <code title="get /v1/account_holders/{account_holder_token}/documents">client.accountHolders.<a href="./src/resources/account-holders.ts">listDocuments</a>(accountHolderToken) -> AccountHolderListDocumentsResponse</code>
- <code title="get /v1/account_holders/{account_holder_token}/documents/{document_token}">client.accountHolders.<a href="./src/resources/account-holders.ts">retrieveDocument</a>(documentToken, { ...params }) -> Document</code>
- <code title="post /v1/simulate/account_holders/enrollment_document_review">client.accountHolders.<a href="./src/resources/account-holders.ts">simulateEnrollmentDocumentReview</a>({ ...params }) -> Document</code>
- <code title="post /v1/simulate/account_holders/enrollment_review">client.accountHolders.<a href="./src/resources/account-holders.ts">simulateEnrollmentReview</a>({ ...params }) -> AccountHolderSimulateEnrollmentReviewResponse</code>
- <code title="post /v1/account_holders/{account_holder_token}/documents">client.accountHolders.<a href="./src/resources/account-holders.ts">uploadDocument</a>(accountHolderToken, { ...params }) -> Document</code>
- <code><a href="./src/resources/account-holders/account-holders.ts">AccountHolder</a></code>
- <code><a href="./src/resources/account-holders/account-holders.ts">AddressUpdate</a></code>
- <code><a href="./src/resources/account-holders/account-holders.ts">KYB</a></code>
- <code><a href="./src/resources/account-holders/account-holders.ts">KYBBusinessEntity</a></code>
- <code><a href="./src/resources/account-holders/account-holders.ts">KYC</a></code>
- <code><a href="./src/resources/account-holders/account-holders.ts">KYCExempt</a></code>
- <code><a href="./src/resources/account-holders/account-holders.ts">RequiredDocument</a></code>
- <code><a href="./src/resources/account-holders/account-holders.ts">AccountHolderCreateResponse</a></code>
- <code><a href="./src/resources/account-holders/account-holders.ts">AccountHolderUpdateResponse</a></code>
- <code><a href="./src/resources/account-holders/account-holders.ts">AccountHolderListDocumentsResponse</a></code>
- <code><a href="./src/resources/account-holders/account-holders.ts">AccountHolderSimulateEnrollmentReviewResponse</a></code>

Methods:

- <code title="post /v1/account_holders">client.accountHolders.<a href="./src/resources/account-holders/account-holders.ts">create</a>({ ...params }) -> AccountHolderCreateResponse</code>
- <code title="get /v1/account_holders/{account_holder_token}">client.accountHolders.<a href="./src/resources/account-holders/account-holders.ts">retrieve</a>(accountHolderToken) -> AccountHolder</code>
- <code title="patch /v1/account_holders/{account_holder_token}">client.accountHolders.<a href="./src/resources/account-holders/account-holders.ts">update</a>(accountHolderToken, { ...params }) -> AccountHolderUpdateResponse</code>
- <code title="get /v1/account_holders">client.accountHolders.<a href="./src/resources/account-holders/account-holders.ts">list</a>({ ...params }) -> AccountHoldersSinglePage</code>
- <code title="get /v1/account_holders/{account_holder_token}/documents">client.accountHolders.<a href="./src/resources/account-holders/account-holders.ts">listDocuments</a>(accountHolderToken) -> AccountHolderListDocumentsResponse</code>
- <code title="get /v1/account_holders/{account_holder_token}/documents/{document_token}">client.accountHolders.<a href="./src/resources/account-holders/account-holders.ts">retrieveDocument</a>(documentToken, { ...params }) -> Document</code>
- <code title="post /v1/simulate/account_holders/enrollment_document_review">client.accountHolders.<a href="./src/resources/account-holders/account-holders.ts">simulateEnrollmentDocumentReview</a>({ ...params }) -> Document</code>
- <code title="post /v1/simulate/account_holders/enrollment_review">client.accountHolders.<a href="./src/resources/account-holders/account-holders.ts">simulateEnrollmentReview</a>({ ...params }) -> AccountHolderSimulateEnrollmentReviewResponse</code>
- <code title="post /v1/account_holders/{account_holder_token}/documents">client.accountHolders.<a href="./src/resources/account-holders/account-holders.ts">uploadDocument</a>(accountHolderToken, { ...params }) -> Document</code>

## Entities

Types:

- <code><a href="./src/resources/account-holders/entities.ts">AccountHolderEntity</a></code>
- <code><a href="./src/resources/account-holders/entities.ts">EntityCreateResponse</a></code>

Methods:

- <code title="post /v1/account_holders/{account_holder_token}/entities">client.accountHolders.entities.<a href="./src/resources/account-holders/entities.ts">create</a>(accountHolderToken, { ...params }) -> EntityCreateResponse</code>
- <code title="delete /v1/account_holders/{account_holder_token}/entities/{entity_token}">client.accountHolders.entities.<a href="./src/resources/account-holders/entities.ts">delete</a>(entityToken, { ...params }) -> AccountHolderEntity</code>

# AuthRules

Expand Down Expand Up @@ -386,6 +398,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
136 changes: 136 additions & 0 deletions bin/migration-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,39 @@
}
]
},
{
"base": "accountHolders.entities",
"name": "delete",
"params": [
{
"type": "param",
"key": "entity_token",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "account_holder_token",
"location": "path"
},
{
"type": "param",
"key": "entity_token",
"location": "path"
},
{
"type": "options"
}
]
},
{
"base": "authRules.v2.backtests",
"name": "retrieve",
Expand Down Expand Up @@ -336,6 +369,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
9 changes: 7 additions & 2 deletions packages/mcp-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,12 @@ COPY . .
RUN yarn install --frozen-lockfile && \
yarn 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 @@ -57,6 +61,7 @@ COPY --from=builder /build/dist ./node_modules/lithic

# 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": "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"
]
}
Loading