GF

gronnmann/fiken-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

7 stars 5 forks 质量 74 趋势 29

A Model Context Protocol (MCP) to interact with the Norwegian accounting software Fiken's API

概览

A Model Context Protocol (MCP) server that connects AI assistants like and to the Fiken accounting API. Manage invoices, contacts, purchases, journal entries, and more — directly from your AI assistant. All mutating operations (POST, PUT, PATCH, DELETE) require explicit user approval before executing. : This is an unofficial library and is not affiliated with or endorsed by Fiken AS. Use at own risk. : Built using Claude Code. Use at own risk. - : Create, send, and manage invoices and credit notes with full draft support - : Full CRUD for customers and suppliers, including contact persons - : Record and manage purchases and sales transactions - : List, register, and delete payments on existing sales and purchases; pay an invoice via fiken_create_invoice_payment - : Create and send offers, convert to invoices - : Bookkeeping accounts, bank accounts, journal entries, transactions - : Product sales reports, account balances - : Projects, time entries, activities, team members Add...

README

以下为原文 README 节选,完整内容请查看原文。

fiken-mcp: Model Context Protocol Server for Fiken Accounting API

A Model Context Protocol (MCP) server that connects AI assistants like Claude and Cursor to the Fiken accounting API. Manage invoices, contacts, purchases, journal entries, and more — directly from your AI assistant.

All mutating operations (POST, PUT, PATCH, DELETE) require explicit user approval before executing.

NOTE: This is an unofficial library and is not affiliated with or endorsed by Fiken AS. Use at own risk.

NOTE: Built using Claude Code. Use at own risk.


Features

  • Invoices & Credit Notes: Create, send, and manage invoices and credit notes with full draft support
  • Contacts: Full CRUD for customers and suppliers, including contact persons
  • Purchases & Sales: Record and manage purchases and sales transactions
  • Payments: List, register, and delete payments on existing sales and purchases; pay an invoice via fiken_create_invoice_payment
  • Offers & Order Confirmations: Create and send offers, convert to invoices
  • Accounting: Bookkeeping accounts, bank accounts, journal entries, transactions
  • Reports: Product sales reports, account balances
  • Time Tracking: Projects, time entries, activities, team members

Configuration

Add the server to your AI client config. No installation needed — npx/pnpx will fetch it automatically.

Getting Your Credentials

  • API Token: fiken.no → Profile → API → Personal tokens
  • Company Slug: Found in your Fiken URL: fiken.no/company/YOUR-SLUG/...

Claude Desktop

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
    "mcpServers": {
        "fiken": {
            "command": "npx",
            "args": ["-y", "fiken-mcp"],
            "env": {
                "FIKEN_API_TOKEN": "your-personal-token-here",
                "FIKEN_COMPANY_SLUG": "your-company-slug"
            }
        }
    }
}

Or with pnpm:

{
    "mcpServers": {
        "fiken": {
            "command": "pnpx",
            "args": ["fiken-mcp"],
            "env": {
                "FIKEN_API_TOKEN": "your-personal-token-here",
                "FIKEN_COMPANY_SLUG": "your-company-slug"
            }
        }
    }
}

Claude Code

Add to ~/.claude.json under mcpServers:

{
    "mcpServers": {
        "fiken": {
            "command": "npx",
            "args": ["-y", "fiken-mcp"],
            "env": {
                "FIKEN_API_TOKEN": "your-personal-token-here",
                "FIKEN_COMPANY_SLUG": "your-company-slug"
            }
        }
    }
}

Cursor

在 GitHub 查看完整 README

安装

npx -y fiken-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "fiken": { "command": "npx", "args": ["-y", "fiken-mcp"], "env": { "FIKEN_API_TOKEN": "your-personal-token-here", "FIKEN_COMPANY_SLUG": "your-company-slug" } } } }