AnkiMCP Server
by Hamza-Xoho
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| http_host | No | Host for the local HTTP server to bind to. Default is 127.0.0.1. | 127.0.0.1 |
| http_path | No | Serve the MCP endpoint under a custom path. Leave empty for default behavior. | |
| http_port | No | Port for the local HTTP server. Default is 3141. | 3141 |
| log_to_file | No | Write a rotating, secret-redacted diagnostic log to user_files/ankimcp.log. Default is false. | false |
| cors_origins | No | Allowed CORS origins for browser-based MCP clients. Default is an empty list. | [] |
| http_api_key | No | Optional shared-secret API key for the HTTP transport. When non-empty, every HTTP request must send an Authorization: Bearer <key> header. Empty by default, which disables the layer. | |
| http_enabled | No | Controls whether the local HTTP server runs. When set to false, the HTTP server won't start; only the tunnel transport is available. Default is true. | true |
| disabled_tools | No | Tool names to hide from AI clients. Disabled tools are removed from the MCP schema entirely. Default is an empty list. | [] |
| media_import_dir | No | Restrict file path imports for store_media_file to this directory tree. Empty means no restriction. | |
| tunnel_client_id | No | OAuth client identifier for the tunnel. Default is ankimcp-cli. | ankimcp-cli |
| show_sync_tooltip | No | Show a brief non-modal tooltip when an AI client triggers a sync. Default is true. | true |
| tunnel_server_url | No | WebSocket URL of the tunnel relay server. Default is wss://tunnel.ankimcp.ai. | wss://tunnel.ankimcp.ai |
| http_allowed_hosts | No | Host-header values without a scheme, appended to the built-in loopback defaults for DNS-rebinding protection. Default is an empty list. | [] |
| cors_expose_headers | No | Response headers browsers can read. Default is ["mcp-protocol-version"]. | ["mcp-protocol-version"] |
| max_notes_per_batch | No | Maximum number of notes per batch for batch-add and batch-update operations. Default is 100. | 100 |
| media_allowed_hosts | No | Specific hosts allowed to bypass private network blocking for media URL imports. Default is an empty list. | [] |
| media_allowed_types | No | Additional MIME types allowed beyond image/audio/video for media import. Default is an empty list. | [] |
| enabled_opt_in_tools | No | Opt-in tool names to expose to AI clients. Opt-in tools are hidden by default. Default is an empty list. | [] |
| http_allowed_origins | No | Full origins with a scheme, appended to the built-in loopback defaults for DNS-rebinding protection. Default is an empty list. | [] |
| show_toolbar_indicator | No | Show the persistent AnkiMCP toolbar status indicator. Default is true. | true |
| show_settings_menu_item | No | Show the AnkiMCP Server Settings entry in Anki's Tools menu. Default is true. | true |
| enabled_destructive_tools | No | Destructive tool names to expose to AI clients. Destructive tools are hidden by default. Default is an empty list. | [] |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityActive
ResponsivenessNo recent community issues