CCXT
Official CCXT MCP server - Market data and trading across 100+ exchanges and prediction markets
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
MCP server for Fortnox Swedish accounting API integration
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
FORTNOX_CLIENT_ID, FORTNOX_CLIENT_SECRET, FORTNOX_REFRESH_TOKENค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"fortnox": {
"command": "npx",
"args": [
"-y",
"fortnox-mcp-server"
],
"env": {
"FORTNOX_CLIENT_ID": "ใส่ค่าของคุณ",
"FORTNOX_CLIENT_SECRET": "ใส่ค่าของคุณ",
"FORTNOX_REFRESH_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add fortnox --env FORTNOX_CLIENT_ID='ใส่ค่าของคุณ' --env FORTNOX_CLIENT_SECRET='ใส่ค่าของคุณ' --env FORTNOX_REFRESH_TOKEN='ใส่ค่าของคุณ' -- npx -y fortnox-mcp-serverเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"fortnox": {
"command": "npx",
"args": [
"-y",
"fortnox-mcp-server"
],
"env": {
"FORTNOX_CLIENT_ID": "ใส่ค่าของคุณ",
"FORTNOX_CLIENT_SECRET": "ใส่ค่าของคุณ",
"FORTNOX_REFRESH_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"fortnox": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"fortnox-mcp-server"
],
"env": {
"FORTNOX_CLIENT_ID": "ใส่ค่าของคุณ",
"FORTNOX_CLIENT_SECRET": "ใส่ค่าของคุณ",
"FORTNOX_REFRESH_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 10 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub jakobwennberg ซึ่งเป็นเจ้าของ repo
แก้โค้ดล่าสุด 7 เดือนที่ผ่านมา นานกว่า 6 เดือน
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 2 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: FORTNOX_CLIENT_ID, FORTNOX_CLIENT_SECRET, FORTNOX_REFRESH_TOKEN
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด 7 เดือนที่ผ่านมา และส่งรุ่นล่าสุด (1.0.0) เข้า registry 10 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี CCXT, Finance Toolkit, AKQuant
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
Official CCXT MCP server - Market data and trading across 100+ exchanges and prediction markets
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
Write and backtest trading strategies with AKQuant: API lookup, strategy checks, backtest runs
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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: