# DigitalK2 MCP server

> Lets an AI client manage Swedish K2 annual reports by uploading SIE files, reviewing tax calculations, and filling in report drafts.

- Repository: https://github.com/digitalk2se/digitalk2-plugin
- Page: https://hostedmcp.org/servers/digitalk2se/digitalk2-plugin
- Transport: remote
- Stars: 0
- License: MIT
- Latest version: 1.0.0

## Install

### Claude Code

```sh
claude mcp add --transport http digitalk2-plugin https://mcp.digitalk2.se/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "digitalk2-plugin": {
      "url": "https://mcp.digitalk2.se/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "digitalk2-plugin": {
      "type": "http",
      "url": "https://mcp.digitalk2.se/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"digitalk2-plugin","type":"http","url":"https://mcp.digitalk2.se/mcp"}'
```

### Codex

```sh
codex mcp add digitalk2-plugin --url https://mcp.digitalk2.se/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.digitalk2-plugin]
url = "https://mcp.digitalk2.se/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http digitalk2-plugin https://mcp.digitalk2.se/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "digitalk2-plugin": {
      "url": "https://mcp.digitalk2.se/mcp",
      "type": "http"
    }
  }
}
```

## Tools (20)

- `whoami`
- `list_drafts`
- `get_state`
- `read_draft`
- `show_statement_tab`
- `read_tax`
- `preview_report`
- `create_draft`
- `create_sie_upload`
- `upload_sie`
- `start_manual_entry`
- `fill_input`
- `fetch_company_details`
- `set_first_annual_report`
- `update_fields`
- `book_result_in_balance_sheet`
- `apply_tax_adjustment`
- `answer_prompt`
- `next_step`
- `go_to_step`

## FAQ

### 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.
