The official TypeScript library for the Lithic API
The official TypeScript library for the Lithic API. Exposed over MCP by the lithic mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.
This library provides convenient access to the Lithic REST API from server-side TypeScript or JavaScript.
Everything the assistant can do here goes through one of these:
Retries — Certain errors will be automatically retried 2 times by default, with a short exponential backoff. Connection errors (for example, due to a networkTimeouts — Requests time out after 1 minute by default. You can configure this with a timeout option:Logging — The Logging tool exposed by this serverYou will need 2 environment variables: LITHIC_API_KEY, LITHIC_WEBHOOK_SECRET. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
TypeScript >= 4.9 is supported. The following runtimes are supported: - Web browsers (Up-to-date Chrome, Firefox, Safari, Edge, and more) - Node.js 20 LTS or later (non-EOL) versions. - Deno v1.28.0 or higher. - Bun 1.0 or later. - Cloudflare Workers. - Vercel Edge Runtime. - Jest 28 or greater with the "node" environment ("jsdom" is not supported at this
The server ships on npm as lithic, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.
This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Lithic's toolset — Retries, Timeouts, Logging — is a fair guide to whether it matches your workflow. It is maintained by GitHub Actions; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| Retries | Certain errors will be automatically retried 2 times by default, with a short exponential backoff. Connection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict, 429 Rate Limit |
| Timeouts | Requests time out after 1 minute by default. You can configure this with a timeout option: |
| Logging | The Logging tool exposed by this server. |
{
"mcpServers": {
"lithic": {
"command": "npx",
"args": ["-y", "lithic"],
"env": {
"LITHIC_API_KEY": "your-value",
"LITHIC_WEBHOOK_SECRET": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
TypeScript >= 4.9 is supported. The following runtimes are supported: - Web browsers (Up-to-date Chrome, Firefox, Safari, Edge, and more) - Node.js 20 LTS or later (non-EOL) versions. - Deno v1.28.0 or higher. - Bun 1.0 or later. - Cloudflare Workers. - Vercel Edge Runtime. - Jest 28 or greater with the "node" environment ("jsdom" is not supported at this
| Variable | Description | Required |
|---|---|---|
| LITHIC_API_KEY | Credential the server authenticates with. | Yes |
| LITHIC_WEBHOOK_SECRET | Credential the server authenticates with. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.