DigitalK2 MCP server
Commit Oct 19, 2026Lets an AI client manage Swedish K2 annual reports by uploading SIE files, reviewing tax calculations, and filling in report drafts.
Also known as digitalk2se/digitalk2-plugin, digitalk2-plugin
- Stars
- 0
- Tools
- 20
- Downloads, 30 days
- —
- Latest version
- 1.0.0
- Last commit
- Oct 19, 2026
- License
- MIT
What is DigitalK2 MCP?
DigitalK2 lets an AI client manage Swedish K2 annual reports by uploading SIE files, reviewing tax calculations, and filling in report drafts. It exposes 20 tools, such as whoami, list_drafts, get_state.
Summary generated from the project's README
About DigitalK2 MCP server
Managing Swedish annual reports for small limited companies under K2 rules becomes a collaborative process when using DigitalK2 with an AI client. This server connects agents in Claude, ChatGPT, Cursor, or Codex to a hosted service that handles iXBRL generation, tax calculations, and INK2 tax returns. Users can interact with their drafts through a guided flow, allowing the AI to assist with technical accounting tasks while the human maintains control over sensitive final actions.
Setup requires connecting to a remote MCP server via OAuth using a DigitalK2 account, which eliminates the need for manual API keys. You can grant the agent Read permissions to view drafts, figures, and tax calculations, or Prepare permissions to actively fill in and modify drafts through steps 1 to 6. While the AI can upload SIE4 files using the upload_sie tool or update fields in the management report and notes, it cannot perform payments, enter personal identity numbers, sign documents, or file reports with Bolagsverket. These final steps are always completed by the user on the web interface.
What you can do with it
- 1Importing accounting dataAn AI can upload a SIE4 file to populate company details, statements, and notes for a new draft.
- 2Reviewing financial figuresYou can ask the AI to read the income statement, balance sheet, or tax calculations to verify accuracy.
- 3Automating report draftingThe agent can fill in management reports, notes, and signatory information across the guided steps.
- 4Synchronizing tax adjustmentsThe AI can apply tax amounts from the calculation directly into the income statement and balance sheet.
Written from the project's README. Every use case is checked against a quote from it.
How to install DigitalK2 MCP
Formats verified 10 Nov 2026Add to CursorAdd to GooseInstall DigitalK2 MCP in Claude Code
$ claude mcp add --transport http digitalk2-plugin https://mcp.digitalk2.se/mcpInstall DigitalK2 MCP in Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"digitalk2-plugin": {
"url": "https://mcp.digitalk2.se/mcp"
}
}
}Install DigitalK2 MCP in VS Code
.vscode/mcp.json
{
"servers": {
"digitalk2-plugin": {
"type": "http",
"url": "https://mcp.digitalk2.se/mcp"
}
}
}Install DigitalK2 MCP in VS Code CLI
$ code --add-mcp '{"name":"digitalk2-plugin","type":"http","url":"https://mcp.digitalk2.se/mcp"}'Install DigitalK2 MCP in Codex
$ codex mcp add digitalk2-plugin --url https://mcp.digitalk2.se/mcpInstall DigitalK2 MCP in Codex config.toml
~/.codex/config.toml
[mcp_servers.digitalk2-plugin] url = "https://mcp.digitalk2.se/mcp"
Install DigitalK2 MCP in Gemini CLI
$ gemini mcp add -s user --transport http digitalk2-plugin https://mcp.digitalk2.se/mcpInstall DigitalK2 MCP in Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"digitalk2-plugin": {
"url": "https://mcp.digitalk2.se/mcp",
"type": "http"
}
}
}DigitalK2 MCP tools 20
Detected from the READMEwhoamilist_draftsget_stateread_draftshow_statement_tabread_taxpreview_reportcreate_draftcreate_sie_uploadupload_siestart_manual_entryfill_input
Show all 20 toolsShow fewer tools
fetch_company_detailsset_first_annual_reportupdate_fieldsbook_result_in_balance_sheetapply_tax_adjustmentanswer_promptnext_stepgo_to_step
Automated checks
Ran Nov 14, 2026Full report →Not verified yet. A server needs a score of 80, no serious finding, and enough data for us to check. How checks work · What to fix for more points
- Source repository linked and reachabledigitalk2se/digitalk2-plugin is public and reachablegithub.com/digitalk2se/digitalk2-plugin ↗Pass
- Package names this repository as its sourceNot checked
- Build provenance (Sigstore attestation)Not checked
- Open source license (OSI)MITspdx.org/licenses/MIT.html ↗Pass
- Commit or release in the last yearLast commit or release 2026-10-19github.com/digitalk2se/digitalk2-plugin ↗Pass
- OpenSSF ScorecardNot checked
- Package name not close to a popular packageNot checked
- No critical advisory in the package or its dependenciesNot checked
- No hidden instructions to the model20 tool descriptions and the README read; no override phrases, credential paths or hidden charactersPass
- Destructive tools are labelledNo tool named like delete, drop or execPass
- Remote endpoint answers the MCP handshakeHTTPS endpoint answered 401 (sign-in required)Pass
README
View on GitHubDigitalK2 plugin
Swedish annual reports (årsredovisning) for small limited companies under K2, prepared with your AI in Claude, ChatGPT, Cursor or Codex.
DigitalK2 is a hosted service for annual reports (årsredovisning) for small Swedish limited companies (aktiebolag) under the K2 rules. It produces the annual report in iXBRL, the tax calculation and the INK2 tax return, and files the report digitally with Bolagsverket. This repository connects AI agents to the DigitalK2 MCP server, so your AI can upload the SIE file, review the figures, read the tax calculation and fill in the report together with you.
It contains an MCP server configuration, plugin manifests for Claude Code, Cursor, Codex and the plugins CLI, and a skill that tells the agent how to use the tools.
MCP server URL:
https://mcp.digitalk2.se/mcp
Sign-in happens with OAuth in your browser the first time the agent connects, with your DigitalK2 account. No API key is needed. You choose the permissions: Read (see drafts, figures, tax calculation) and Prepare (fill in and change drafts in steps 1 to 6).
How it works
The AI works in the same guided flow as the web guide, with the same checks. You keep the draft open on digitalk2.se in AI mode next to the chat and see everything the AI fills in. Payment, personal identity numbers, signing and filing with Bolagsverket are always done by you on the web in step 7, never by the AI.
Installation
Plugin (Claude Code, Cursor, Codex and more)
npx plugins add digitalk2se/digitalk2-plugin
Skill only
npx skills add digitalk2se/digitalk2-plugin
Manual connection
-
Claude (claude.ai and Claude Desktop): open Claude with DigitalK2 prefilled, then click Add and Connect. Or go to Settings → Connectors → Add custom connector, paste the URL and click Connect. In Claude Code:
claude mcp add --transport http digitalk2 https://mcp.digitalk2.se/mcpThen type
/mcpin Claude Code, choosedigitalk2and sign in. -
ChatGPT (Go, Plus or Pro): open Plugins in the sidebar, click Add → Create custom MCP server, name it DigitalK2, paste the URL under Server URL, choose OAuth, tick "I understand and want to continue" and click Create as a plugin.
-
Cursor (Pro or higher): add this to
~/.cursor/mcp.json:{ "mcpServers": { "digitalk2": { "url": "https://mcp.digitalk2.se/mcp" } } } -
Codex:
codex mcp add digitalk2 --url https://mcp.digitalk2.se/mcpOpen a new Codex chat afterwards, since tools load when the session starts.
Step-by-step guides with animations: www.digitalk2.se/mcp
Listed in
- Official MCP Registry as
se.digitalk2/digitalk2(server.json) - Glama
Tools
| Tool | Access | What it does |
|---|---|---|
whoami |
Read | Shows the connected DigitalK2 account and its permissions. |
list_drafts |
Read | Lists the user's annual report drafts, most recently changed first. |
get_state |
Read | Shows where a draft is in the guide: current step, whether Next can be pressed, open questions and messages. |
read_draft |
Read | Reads the content of a draft one section at a time, as shown in the guide. |
show_statement_tab |
Read | Shows the income statement or the balance sheet in step 2 in the user's window. Changes no data. |
read_tax |
Read | Reads the tax calculation and INK2 exactly as step 3 shows them. |
preview_report |
Read | Previews the full annual report as text, generated with the same code as the preview in step 7. |
create_draft |
Prepare | Creates a new, empty draft and returns the link to open it in AI mode. |
create_sie_upload |
Prepare | Creates a temporary upload link for a SIE file that is too large to send in a tool call. |
upload_sie |
Prepare | Reads a SIE file (SIE4) into step 1, sent unchanged as an upload id or base64. Replaces the draft's company details, statements and notes. |
start_manual_entry |
Prepare | Chooses manual entry in step 1 when there is no SIE file. |
fill_input |
Prepare | Types into a form field in step 1 (company details). For figures and the sections in steps 2 to 6, use update_fields. |
fetch_company_details |
Prepare | Fetches the company details from Bolagsverket in step 1 and fills them in. Replaces existing company details. |
set_first_annual_report |
Prepare | Answers whether it is the company's first annual report (step 1). true sets the prior-year figures to 0. |
update_fields |
Prepare | Replaces values in the current step in steps 2 to 6 (figures, tax, management report, notes, signatories), including yes/no questions; lists are replaced as a whole. For the form fields in step 1, use fill_input. |
book_result_in_balance_sheet |
Prepare | Books the year's result on the balance sheet row when the guide offers it (step 2). Replaces the row's amount. |
apply_tax_adjustment |
Prepare | Books the tax from step 3 into the income statement and balance sheet in step 2, like the guide's automatic adjustment. Does nothing if already adjusted. |
answer_prompt |
Prepare | Answers a dialog the guide shows (listed in prompts from get_state or a tool result) by pressing the same button the user would. |
next_step |
Prepare | Moves from from_step to the next step (1 upload → 2 review → 3 tax → 4 management report → 5 notes → 6 signatories → 7 finish), with exactly the same checks as for the user. Payment, signing and filing in step 7 are done by the user. |
go_to_step |
Prepare | Goes back to an earlier step, like clicking the timeline. |
None of the tools can pay, sign, enter personal identity numbers or file anything. The AI only sees the signed-in user's own drafts.
Privacy and terms
- Privacy policy: www.digitalk2.se/integritet
- Terms: www.digitalk2.se/villkor
- Contact: hej@digitalk2.se
På svenska
DigitalK2 är årsredovisning för små svenska aktiebolag (K2), som du kan göra tillsammans med din AI. Ladda upp SIE-filen från bokföringsprogrammet, granska resultat- och balansräkningen, få skatteberäkningen och INK2, och lämna in årsredovisningen digitalt (iXBRL) till Bolagsverket. Det här repot kopplar AI-agenter som Claude, ChatGPT, Cursor och Codex till DigitalK2:s MCP-server. Installera med npx plugins add digitalk2se/digitalk2-plugin, eller lägg till adressen https://mcp.digitalk2.se/mcp som anpassad koppling i din klient. Du loggar in med ditt DigitalK2-konto första gången. Betalning, signering och inlämning gör du alltid själv i steg 7. Mer information och guider finns på www.digitalk2.se/mcp.
License
The files in this repository are released under the MIT License.
Configuration only. DigitalK2 is a proprietary hosted service.
DigitalK2 MCP questions
How do I add DigitalK2 MCP to Claude Code?
Run claude mcp add --transport http digitalk2-plugin https://mcp.digitalk2.se/mcp in your terminal. Add --scope user to make it available in every project.
How do I add DigitalK2 MCP to Cursor?
Open ~/.cursor/mcp.json and add the server under mcpServers, using the Cursor config shown in the install section above.
What tools does DigitalK2 MCP provide?
It exposes 20 tools, including whoami, list_drafts, get_state, read_draft, show_statement_tab.
How do I sign in to the DigitalK2 MCP server?
Sign-in happens via OAuth in your browser the first time the agent connects using your DigitalK2 account.
Can the AI file my annual report with Bolagsverket?
No, the AI cannot perform payment, signing, or filing; these actions must be completed by you on the web in step 7.
What permissions can I grant to the AI agent?
You can choose between Read permissions to see drafts and tax calculations, or Prepare permissions to fill in and change drafts.
Does this require an API key?
No, an API key is not required as it uses OAuth for authentication.