Fortnox MCP सर्वर | PlugMCP
सामग्री पर जाएँ Fortnox MCP Server
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.
Two Ways to Use
MCP server for Fortnox Swedish accounting API integration
किसी भी टूल को किसी भी एजेंट से जोड़ें। उन लोगों के लिए MCP निर्देशिका जो सर्वर नहीं लिखते।
उत्पाद
निर्देशिका
डेवलपर्स
कंपनी
FORTNOX_CLIENT_ID, FORTNOX_CLIENT_SECRET, FORTNOX_REFRESH_TOKEN Mode Best For Setup Remote Mode End users Just add URL, authorize in browser Local Mode Developers, self-hosted Configure environment variables
Quick Start: Remote Mode (Recommended) The easiest way to use Fortnox MCP - no credentials needed, just authorize in your browser.
Option A: Add to Claude.ai (Web)
Go to claude.ai
Navigate to Settings → Integrations → Add Integration
Enter the URL: https://fortnox-mcp.vercel.app/mcp
Wait for it to load, then authorize access by clicking connect
Option B: Add to Claude Desktop Open your Claude Desktop config file:
macOS : ~/Library/Application Support/Claude/claude_desktop_config.json
Windows : %APPDATA%\Claude\claude_desktop_config.json
{
"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!
Quick Start: Local Mode (Self-Hosted) For developers who want to run the server locally or use their own Fortnox app credentials.
1. Get your Fortnox credentials
Register at Fortnox Developer Portal
Create an application to get your Client ID and Client Secret
Complete the OAuth2 flow to get a Refresh Token
2. Add to Claude Desktop Open your Claude Desktop config file:
macOS : ~/Library/Application Support/Claude/claude_desktop_config.json
Windows : %APPDATA%\Claude\claude_desktop_config.json
{
"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"
}
}
}
}
3. Restart Claude Desktop That's it! You can now ask Claude to manage your Fortnox invoices, customers, and more.
Features
Customer Management
fortnox_list_customers - List and search customers
fortnox_get_customer - Get customer details
fortnox_create_customer - Create new customer
fortnox_update_customer - Update customer
fortnox_delete_customer - Delete customer
Invoice Management
fortnox_list_invoices - List invoices with filtering
fortnox_get_invoice - Get invoice details with line items
fortnox_create_invoice - Create new invoice
fortnox_update_invoice - Update draft invoice
fortnox_bookkeep_invoice - Bookkeep invoice
fortnox_cancel_invoice - Cancel invoice
fortnox_credit_invoice - Create credit note
fortnox_send_invoice_email - Send invoice by email
Supplier Management
fortnox_list_suppliers - List and search suppliers
fortnox_get_supplier - Get supplier details
fortnox_create_supplier - Create new supplier
fortnox_update_supplier - Update supplier
fortnox_delete_supplier - Delete supplier
Supplier Invoice Management
fortnox_list_supplier_invoices - List supplier invoices with filtering
fortnox_get_supplier_invoice - Get supplier invoice details
fortnox_approve_supplier_invoice - Approve supplier invoice for payment
fortnox_payables_report - Get accounts payable aging report
Order Management
fortnox_list_orders - List sales orders with filtering
fortnox_list_offers - List offers/quotes with filtering
Account Management
fortnox_list_accounts - List chart of accounts
fortnox_get_account - Get account details
fortnox_create_account - Create new account
fortnox_update_account - Update account
fortnox_delete_account - Delete account
Voucher Management
fortnox_list_vouchers - List vouchers (journal entries)
fortnox_get_voucher - Get voucher details with rows
fortnox_create_voucher - Create manual voucher
fortnox_list_voucher_series - List available voucher series
fortnox_account_activity - Get activity for a specific account
fortnox_search_vouchers - Search vouchers by description, account, or amount
Company Information
fortnox_get_company_info - Get company details
fortnox_list_financial_years - List company financial years
Analytics
fortnox_invoice_summary - Get invoice statistics by period
fortnox_top_customers - Get top customers by revenue
fortnox_unpaid_report - Get detailed unpaid invoice report
Business Intelligence
fortnox_cash_flow_forecast - Forecast cash flow based on invoices and payables
fortnox_order_pipeline - Analyze sales order pipeline
fortnox_sales_funnel - Analyze sales funnel from offers to invoices
fortnox_product_performance - Analyze product/article performance
fortnox_period_comparison - Compare financial metrics across periods
fortnox_customer_growth - Analyze customer acquisition and growth
fortnox_project_profitability - Analyze project profitability (if using projects)
fortnox_cost_center_analysis - Analyze costs by cost center
fortnox_expense_analysis - Analyze expenses by category
fortnox_yearly_comparison - Compare year-over-year performance
fortnox_gross_margin_trend - Track gross margin trends over time
Installation
Via npx (Recommended) No installation needed! Just add the config above to Claude Desktop.
Manual Installation npm install -g fortnox-mcp-server
From Source git clone https://github.com/jakobwennberg/fortnox-mcp.git
cd fortnox-mcp
npm install
npm run build
Configuration
Environment Variables
Local Mode (default)
Remote Mode (AUTH_MODE=remote) *Falls back to in-memory storage if not provided (not recommended for production)
Getting OAuth Credentials
Register as a developer at Fortnox Developer Portal
Create a new application to get Client ID and Client Secret
Complete the OAuth2 authorization flow to obtain a refresh token
Set the environment variables
Usage
With Claude Desktop
As HTTP Server TRANSPORT=http PORT=3000 node dist/index.js
Then connect to http://localhost:3000/mcp
Tool Examples
List Unpaid Invoices {
"tool": "fortnox_list_invoices",
"arguments": {
"filter": "unpaid",
"limit": 20
}
}
Create Invoice {
"tool": "fortnox_create_invoice",
"arguments": {
"customer_number": "1001",
"rows": [
{
"description": "Consulting services",
"quantity": 10,
"price": 1000
}
]
}
}
Create Voucher {
"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 }
]
}
}
Rate Limiting The Fortnox API allows 25 requests per 5 seconds. This server includes automatic rate limiting to prevent exceeding this limit.
Development # Run in development mode with auto-reload
npm run dev
# Build for production
npm run build
# Clean build artifacts
npm run clean
Publishing & Distribution This server is published to multiple registries for easy installation:
How It Works
User adds config to Claude Desktop with npx fortnox-mcp-server
Claude Desktop starts the server via npx (downloads latest version from npm)
Server authenticates with Fortnox using OAuth2 credentials from environment variables
Claude can now use tools like fortnox_list_invoices, fortnox_create_customer, etc.
Server handles API calls to Fortnox, including automatic token refresh and rate limiting
Token Persistence (Local Mode) 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.
On first run, the server reads FORTNOX_REFRESH_TOKEN from your environment/config
After each token refresh, the new refresh token is saved to ~/.fortnox-mcp/tokens.json
On subsequent restarts, the server uses the persisted token (which is always the latest)
If the persisted file is missing or corrupt, the server falls back to the environment variable
The token file is created with restricted permissions (0600) for security.
Releasing New Versions To release a new version, use the release script:
# Bug fixes (1.0.0 → 1.0.1)
npm run release:patch
# New features (1.0.0 → 1.1.0)
npm run release:minor
# Breaking changes (1.0.0 → 2.0.0)
npm run release:major
The release script automatically:
Bumps the version in package.json
Updates server.json for the MCP Registry
Builds the project
Commits and tags the release
Publishes to npm
Publishes to MCP Registry
Pushes to GitHub
Prerequisites for releasing:
npm login - Logged into npm
mcp-publisher login github - Logged into MCP Registry
Clean git working directory
Users Get Updates Automatically When 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.
Deploying Your Own Remote Server Want to host your own instance of the Fortnox MCP server? Follow these instructions.
Deploy to Vercel
1. Prerequisites
2. Set Environment Variables In your Vercel project settings, add these environment variables:
3. Configure Fortnox OAuth Callback In your Fortnox app settings, add this redirect URI:
https://your-app.vercel.app/oauth/fortnox/callback
4. Deploy
Server Endpoints
Architecture ┌─────────────────────────────────────────────────────────────┐
│ fortnox-mcp-server │
├─────────────────────────────────────────────────────────────┤
│ Mode: AUTH_MODE=local | remote │
├─────────────────────────────────────────────────────────────┤
│ │
│ LOCAL MODE REMOTE MODE │
│ ─────────── ─────────── │
│ • Env var tokens • OAuth flow │
│ • Single user • Multi-user │
│ • stdio or HTTP • HTTP only │
│ • Auto-persisted tokens • Token storage (Redis) │
│ (~/.fortnox-mcp/) │
│ │
└─────────────────────────────────────────────────────────────┘
License
डायरेक्टरी स्कोर 20/100 सूचीबद्ध 10 में से 10
आधिकारिक MCP Registry में 18 में से 18
मेंटेनर द्वारा क्लेम किया गया 8 में से 0
टूल सूची के साथ जवाब देता है 12 में से 0
GitHub स्टार 16 में से 0
साप्ताहिक डाउनलोड 10 में से 0
Pipeworx Gateway Live data for AI agents. 250+ data sources, 900+ tools. Ask questions in plain English with ask_pipeworx — trade flows, SEC filings, drug safety, housing data, and more. No API keys needed. SparkForge Access a versatile collection of tools for media generation, web scraping, and cryptocurrency research. Convert between data formats, summarize long documents, and extract text from images or PDFs wit Last30days Skill AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary Ko Financial Data Real SEC, 13F, insider, congress & macro data your AI agent can cite. 24 tools — institutional 13F holdings (85M+ rows), insider & congress trades, spot-Bitcoin-ETF ownership, company financials, and Polymarket Data By PolymarketScan Real-time Polymarket analytics for AI agents. Query live prediction market data including whale trades, market odds, trader profiles, and leaderboards.
**Available tools:**
- `get_whale_trades` — lar Sap Use the SAP MCP Wizard or install the library from the npm registry to automatically create and configure a Solana/SAP wallet via https://mcp.sap.oobeprotocol.ai Emblem # EmblemAI MCP
EmblemAI is a hosted Model Context Protocol server that gives AI agents a full-featured crypto wallet plus **200+ tools** for trading, DeFi, NFTs, and on-chain analytics across **7 blo UnClick AI agent tool marketplace. 60+ tools for social, e-commerce, accounting, messaging, media, and more. Search and call tools for Slack, Reddit, Discord, Shopify, Xero, Bluesky, TMDB, Steam, and 50+ more X711io Universal Gas Station Market And Intelligence Pay-per-call tool API for autonomous agents. x402 payments on Base. 27 tools including web search, price feeds, and The Hive shared memory layer. Open Saas A 100% free modern JS SaaS boilerplate (React, NodeJS, Prisma). Full-featured: Auth (email, google, github, slack, MS), Email sending, Background jobs, Landing page, Payments (Stripe, Polar.sh), Shadc Zipp Multi-language crypto news for AI assistants — editorial summaries, sentiment labels (BULLISH/NEUTRAL/BEARISH), importance scores 0–100, and every story credited to its original publisher. 8 languages TREK The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routin Finance MCP सर्वर सबसे अच्छे Finance MCP सर्वर
अभी टूल सूची नहीं है। रिमोट सर्वर को पहले हेल्थ चेक के बाद सूची मिलती है।
Fortnox कैसे इंस्टॉल करें? इस पेज पर Cursor, Claude Desktop, Claude Code या VS Code के लिए stdio कॉन्फ़िग कॉपी करें। यह पब्लिशर का इंस्टॉल इस्तेमाल करता है, PlugMCP प्रॉक्सी नहीं।
क्या Fortnox के लिए API key चाहिए? पब्लिशर ने ये एनवायरनमेंट वेरिएबल बताए हैं: FORTNOX_CLIENT_ID, FORTNOX_CLIENT_SECRET, FORTNOX_REFRESH_TOKEN।
Fortnox कौन सा ट्रांसपोर्ट इस्तेमाल करता है? Fortnox stdio पर लोकल चलता है।
Fortnox की पिछली जाँच कब हुई थी? पिछली जाँच 2026-11-09 को हुई। MCP server for Fortnox Swedish accounting API integration
टूल के विवरण मौजूद हैं 6 में से 0
वॉइस के लिए तैयार 3 में से 0