SolidInvoice
Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.
MCP server for Fortnox Swedish accounting API integration
一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり
| 人気 | 20/80 | GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます |
|---|---|---|
| 新しさ | 3/12 | 30 日以内のリリースかコード更新で満点 |
| 応答中 | 0/8 | 前回の確認でクラウドのエンドポイントが応答 |
| 利用スコア | 23/100 |
品質: 基本チェック 2/3 項目に合格(表示のみ、並び順には不使用) · 勢い: データなし (「急上昇」タブでのみ使用)
使っているAIアプリを選んで、設定をコピーしてください。
ひとことで AI にインストールしてもらう
Fortnox をインストールして。https://mcp.popnx.com/i/jakobwennberg-fortnox.md に従い、コマンドを見せて、私が OK するまで実行しないで。パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る
チェック 2/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月14日
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげますが、先に準備が必要です
Fortnox のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Claude に MCP server Fortnox を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "fortnox": { "command": "npx", "args": [ "-y", "fortnox-mcp-server" ], "env": { "FORTNOX_CLIENT_ID": "your-value", "FORTNOX_CLIENT_SECRET": "your-value", "FORTNOX_REFRESH_TOKEN": "your-value" } } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) FORTNOX_CLIENT_ID, FORTNOX_CLIENT_SECRET, FORTNOX_REFRESH_TOKEN は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、Fortnox のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -vMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v
一度入れれば、Node.js を使うすべてのツールで使えます
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
キーの取り方は下の提供元 README にあります
SettingsDeveloperEdit Config
{
"mcpServers": {
"fortnox": {
"command": "npx",
"args": [
"-y",
"fortnox-mcp-server"
],
"env": {
"FORTNOX_CLIENT_ID": "your-value",
"FORTNOX_CLIENT_SECRET": "your-value",
"FORTNOX_REFRESH_TOKEN": "your-value"
}
}
}
}キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Fortnox を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が Fortnox を使っていると言うか、回答に Fortnox のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ Fortnox につなげません
Fortnox はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
A · Fortnox につなげるアプリを使う
B · 会計・財務・税務 の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
Claude Code につなげますが、先に準備が必要です
Fortnox のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)
このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Claude Code に MCP server Fortnox を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user fortnox --env FORTNOX_CLIENT_ID=your-value --env FORTNOX_CLIENT_SECRET=your-value --env FORTNOX_REFRESH_TOKEN=your-value -- npx -y fortnox-mcp-server 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) FORTNOX_CLIENT_ID, FORTNOX_CLIENT_SECRET, FORTNOX_REFRESH_TOKEN は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、Fortnox のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -vMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v
一度入れれば、Node.js を使うすべてのツールで使えます
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
キーの取り方は下の提供元 README にあります
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
claude mcp add --scope user fortnox --env FORTNOX_CLIENT_ID=your-value --env FORTNOX_CLIENT_SECRET=your-value --env FORTNOX_REFRESH_TOKEN=your-value -- npx -y fortnox-mcp-serverEnter の前に「your-value」を自分のキーに書き換えてください
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Fortnox が一覧にあり、接続済みと表示されれば OK です
Fortnox を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が Fortnox を使っていると言うか、回答に Fortnox のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげますが、先に準備が必要です
Fortnox のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)
このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Cursor に MCP server Fortnox を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "fortnox": { "command": "npx", "args": [ "-y", "fortnox-mcp-server" ], "env": { "FORTNOX_CLIENT_ID": "your-value", "FORTNOX_CLIENT_SECRET": "your-value", "FORTNOX_REFRESH_TOKEN": "your-value" } } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) FORTNOX_CLIENT_ID, FORTNOX_CLIENT_SECRET, FORTNOX_REFRESH_TOKEN は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、Fortnox のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -vMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v
一度入れれば、Node.js を使うすべてのツールで使えます
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
キーの取り方は下の提供元 README にあります
Fortnox の設定で FORTNOX_CLIENT_ID, FORTNOX_CLIENT_SECRET, FORTNOX_REFRESH_TOKEN が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Fortnox を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が Fortnox を使っていると言うか、回答に Fortnox のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげますが、先に準備が必要です
Fortnox のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)
このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの VS Code に MCP server Fortnox を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "fortnox": { "type": "stdio", "command": "npx", "args": [ "-y", "fortnox-mcp-server" ], "env": { "FORTNOX_CLIENT_ID": "your-value", "FORTNOX_CLIENT_SECRET": "your-value", "FORTNOX_REFRESH_TOKEN": "your-value" } } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) FORTNOX_CLIENT_ID, FORTNOX_CLIENT_SECRET, FORTNOX_REFRESH_TOKEN は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、Fortnox のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -vMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v
一度入れれば、Node.js を使うすべてのツールで使えます
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
キーの取り方は下の提供元 README にあります
Fortnox の設定で FORTNOX_CLIENT_ID, FORTNOX_CLIENT_SECRET, FORTNOX_REFRESH_TOKEN が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Fortnox を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が Fortnox を使っていると言うか、回答に Fortnox のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください
JSON 設定は下の「開発者向け」にあります
Claude Code
claude mcp add --scope user fortnox --env FORTNOX_CLIENT_ID=your-value --env FORTNOX_CLIENT_SECRET=your-value --env FORTNOX_REFRESH_TOKEN=your-value -- npx -y fortnox-mcp-serverClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"fortnox": {
"command": "npx",
"args": [
"-y",
"fortnox-mcp-server"
],
"env": {
"FORTNOX_CLIENT_ID": "your-value",
"FORTNOX_CLIENT_SECRET": "your-value",
"FORTNOX_REFRESH_TOKEN": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"fortnox": {
"command": "npx",
"args": [
"-y",
"fortnox-mcp-server"
],
"env": {
"FORTNOX_CLIENT_ID": "your-value",
"FORTNOX_CLIENT_SECRET": "your-value",
"FORTNOX_REFRESH_TOKEN": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"fortnox": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"fortnox-mcp-server"
],
"env": {
"FORTNOX_CLIENT_ID": "your-value",
"FORTNOX_CLIENT_SECRET": "your-value",
"FORTNOX_REFRESH_TOKEN": "your-value"
}
}
}
}FORTNOX_CLIENT_ID 秘密 必須 envFORTNOX_CLIENT_SECRET 秘密 必須 envFORTNOX_REFRESH_TOKEN 秘密 必須 env説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月19日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント erp-mafia で確認済みです
コードの最終更新:7 か月前(6か月以上前)
MITを使用
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
OSV.dev に fortnox-mcp-server@1.0.0 の登録はありません
このバージョンのパッケージ本体のみ確認。すべての依存関係ではありません · 確認日 2026年11月15日
作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。
[](https://mcp.popnx.com/en/servers/jakobwennberg-fortnox)質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
まだレビューはありません
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック3項目のうち2項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:FORTNOX_CLIENT_ID, FORTNOX_CLIENT_SECRET, FORTNOX_REFRESH_TOKEN
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は7 か月前、最新バージョン(1.0.0)がレジストリに届いたのは10 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:SolidInvoice, Signal8, Journalit, Beancount.io, Tapetide - Indian Stock Market MCP
同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.
SEC filings, dilution, insider & institutional ownership, and political-trade data for AI agents.
Trading journal in Obsidian. Ask Claude or ChatGPT about your trades; edits are previewed first.
Query, edit, and reconcile a hosted Beancount ledger: BQL, reports, files, and bank imports.
48 tools for ~8,000 NSE & BSE stocks: quotes, screener, financials, filings, FII/DII, options
| これ Fortnox | SolidInvoice | Signal8 | Journalit | Beancount.io | Tapetide - Indian Stock Market MCP | |
|---|---|---|---|---|---|---|
| 動く場所 | パソコンにインストールが必要 | クラウドで動き、インストール不要 | クラウドでもパソコンにインストールでも使える | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドでもパソコンにインストールでも使える |
| キーが必要 | はい | いいえ | はい | いいえ | いいえ | はい |
| Claude で + から追加 | いいえ | いいえ | いいえ | いいえ | いいえ | いいえ |
| 基本チェック | 2/3 | 4/6 | 5/5 | 4/4 | 4/4 | 5/5 |
| ライセンス | MIT | MIT | MIT | NOASSERTION | MIT | MIT |
| 料金 | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし |
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
An MCP (Model Context Protocol) server for integrating with the Fortnox Swedish accounting system. This server enables LLMs to interact with Fortnox for managing invoices, customers, suppliers, orders, accounts, vouchers, and provides business intelligence analytics.
| Mode | Best For | Setup |
|---|---|---|
| Remote Mode | End users | Just add URL, authorize in browser |
| Local Mode | Developers, self-hosted | Configure environment variables |
The easiest way to use Fortnox MCP - no credentials needed, just authorize in your browser.
https://fortnox-mcp.vercel.app/mcpOpen your Claude Desktop config file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonAdd this configuration:
{
"mcpServers": { "fortnox": { "url": "https://fortnox-mcp.vercel.app/mcp" } } }
Restart Claude Desktop. When you first ask Claude to do something with Fortnox, a browser window will open for you to authorize access to your Fortnox account. Once authorized, you're all set!
For developers who want to run the server locally or use their own Fortnox app credentials.
Open your Claude Desktop config file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonAdd this configuration:
{
"mcpServers": { "fortnox": { "command": "npx", "args": ["-y", "fortnox-mcp-server"], "env": { "FORTNOX_CLIENT_ID": "your-client-id", "FORTNOX_CLIENT_SECRET": "your-client-secret", "FORTNOX_REFRESH_TOKEN": "your-refresh-token" } } } }
That's it! You can now ask Claude to manage your Fortnox invoices, customers, and more.
fortnox_list_customers - List and search customersfortnox_get_customer - Get customer detailsfortnox_create_customer - Create new customerfortnox_update_customer - Update customerfortnox_delete_customer - Delete customerfortnox_list_invoices - List invoices with filteringfortnox_get_invoice - Get invoice details with line itemsfortnox_create_invoice - Create new invoicefortnox_update_invoice - Update draft invoicefortnox_bookkeep_invoice - Bookkeep invoicefortnox_cancel_invoice - Cancel invoicefortnox_credit_invoice - Create credit notefortnox_send_invoice_email - Send invoice by emailfortnox_list_suppliers - List and search suppliersfortnox_get_supplier - Get supplier detailsfortnox_create_supplier - Create new supplierfortnox_update_supplier - Update supplierfortnox_delete_supplier - Delete supplierfortnox_list_supplier_invoices - List supplier invoices with filteringfortnox_get_supplier_invoice - Get supplier invoice detailsfortnox_approve_supplier_invoice - Approve supplier invoice for paymentfortnox_payables_report - Get accounts payable aging reportfortnox_list_orders - List sales orders with filteringfortnox_list_offers - List offers/quotes with filteringfortnox_list_accounts - List chart of accountsfortnox_get_account - Get account detailsfortnox_create_account - Create new accountfortnox_update_account - Update accountfortnox_delete_account - Delete accountfortnox_list_vouchers - List vouchers (journal entries)fortnox_get_voucher - Get voucher details with rowsfortnox_create_voucher - Create manual voucherfortnox_list_voucher_series - List available voucher seriesfortnox_account_activity - Get activity for a specific accountfortnox_search_vouchers - Search vouchers by description, account, or amountfortnox_get_company_info - Get company detailsfortnox_list_financial_years - List company financial yearsfortnox_invoice_summary - Get invoice statistics by periodfortnox_top_customers - Get top customers by revenuefortnox_unpaid_report - Get detailed unpaid invoice reportfortnox_cash_flow_forecast - Forecast cash flow based on invoices and payablesfortnox_order_pipeline - Analyze sales order pipelinefortnox_sales_funnel - Analyze sales funnel from offers to invoicesfortnox_product_performance - Analyze product/article performancefortnox_period_comparison - Compare financial metrics across periodsfortnox_customer_growth - Analyze customer acquisition and growthfortnox_project_profitability - Analyze project profitability (if using projects)fortnox_cost_center_analysis - Analyze costs by cost centerfortnox_expense_analysis - Analyze expenses by categoryfortnox_yearly_comparison - Compare year-over-year performancefortnox_gross_margin_trend - Track gross margin trends over timeNo installation needed! Just add the config above to Claude Desktop.
npm install -g fortnox-mcp-server
git clone https://github.com/jakobwennberg/fortnox-mcp.git
cd fortnox-mcp npm install npm run build
| Variable | Required | Description |
|---|---|---|
FORTNOX_CLIENT_ID | Yes | Your Fortnox app client ID |
FORTNOX_CLIENT_SECRET | Yes | Your Fortnox app client secret |
FORTNOX_REFRESH_TOKEN | Yes | OAuth2 refresh token (only needed for initial setup; automatically persisted after first use) |
FORTNOX_ACCESS_TOKEN | No | Current access token (auto-refreshed) |
TRANSPORT | No | stdio (default) or http |
PORT | No | HTTP port (default: 3000) |
| Variable | Required | Description |
|---|---|---|
AUTH_MODE | Yes | Set to remote |
SERVER_URL | Yes | Public URL of your server |
JWT_SECRET | Yes | Secret for signing JWT tokens |
FORTNOX_CLIENT_ID | Yes | Your Fortnox app client ID |
FORTNOX_CLIENT_SECRET | Yes | Your Fortnox app client secret |
UPSTASH_REDIS_REST_URL | Yes* | Upstash Redis URL for token storage |
UPSTASH_REDIS_REST_TOKEN | Yes* | Upstash Redis token |
PORT | No | HTTP port (default: 3000) |
*Falls back to in-memory storage if not provided (not recommended for production)
See Quick Start above.
TRANSPORT=http PORT=3000 node dist/index.js
Then connect to http://localhost:3000/mcp
{
"tool": "fortnox_list_invoices", "arguments": { "filter": "unpaid", "limit": 20 } }
{
"tool": "fortnox_create_invoice", "arguments": { "customer_number": "1001", "rows": [ { "description": "Consulting services", "quantity": 10, "price": 1000 } ] } }
{
"tool": "fortnox_create_voucher", "arguments": { "voucher_series": "A", "description": "Office supplies", "transaction_date": "2025-01-24", "rows": [ { "account_number": 6110, "debit": 500 }, { "account_number": 1910, "credit": 500 } ] } }
The Fortnox API allows 25 requests per 5 seconds. This server includes automatic rate limiting to prevent exceeding this limit.
# Run in development mode with auto-reload
npm run dev
npm run build
npm run clean
This server is published to multiple registries for easy installation:
| Registry | URL | Purpose |
|---|---|---|
| npm | npmjs.com/package/fortnox-mcp-server | Package distribution via npx |
| MCP Registry | registry.modelcontextprotocol.io | Official MCP server discovery |
| GitHub | github.com/jakobwennberg/fortnox-mcp | Source code |
npx fortnox-mcp-serverfortnox_list_invoices, fortnox_create_customer, etc.Fortnox refresh tokens are single-use — each token refresh returns a new one. The server automatically persists the latest refresh token to ~/.fortnox-mcp/tokens.json so it survives process restarts without requiring manual config updates.
FORTNOX_REFRESH_TOKEN from your environment/config~/.fortnox-mcp/tokens.jsonThe token file is created with restricted permissions (0600) for security.
To release a new version, use the release script:
# Bug fixes (1.0.0 → 1.0.1)
npm run release:patch
npm run release:minor
npm run release:major
The release script automatically:
package.jsonserver.json for the MCP RegistryPrerequisites for releasing:
npm login - Logged into npmmcp-publisher login github - Logged into MCP RegistryWhen you publish a new version, users running npx -y fortnox-mcp-server will automatically get the latest version the next time they restart Claude Desktop.
Want to host your own instance of the Fortnox MCP server? Follow these instructions.
In your Vercel project settings, add these environment variables: