Skip to main content
Glama

request_permission

Grant or manage access permissions for users on the Anki MCP server to enable authorized interactions and secure data handling.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler and registration for the 'request_permission' tool. It calls ankiClient.miscellaneous.requestPermission() to request permission from AnkiConnect and returns the result as text content.
    server.tool('request_permission', {}, async () => { try { const permission = await ankiClient.miscellaneous.requestPermission(); return { content: [ { type: 'text', text: `Permission request result: ${JSON.stringify(permission, null, 2)}`, }, ], }; } catch (error) { throw new Error( `Failed to request permission: ${error instanceof Error ? error.message : String(error)}` ); } });
  • Registers the 'request_permission' tool with empty input schema on the MCP server.
    server.tool('request_permission', {}, async () => {

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/arielbk/anki-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server