KosmoKrator

productivity

Pocket MCP, CLI, and Lua Integration for AI Agents

Pocket integration docs for AI agents: MCP gateway setup, Pocket CLI commands, Lua API reference, credentials, and function schemas.

Pocket for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Agent Surfaces

Machine-Readable Metadata

Function Catalog

FunctionTypeParametersDescription
pocket.pocket_request_token Write write 0 Create a Pocket OAuth request token for an authorization redirect.
pocket.pocket_authorize_url Read read 0 Build the Pocket web authorization URL for a request token.
pocket.pocket_access_token Write write 0 Exchange an approved request token for a Pocket access token.
pocket.pocket_add_item Write write 0 Save one URL to Pocket.
pocket.pocket_retrieve_items Read read 0 Retrieve Pocket list items with filtering and pagination.
pocket.pocket_send_actions Write write 1 Send one or more raw Pocket modify actions to /v3/send.
pocket.pocket_archive_item Write write 0 Move a Pocket item to archive.
pocket.pocket_readd_item Write write 0 Move an archived Pocket item back to unread.
pocket.pocket_favorite_item Write write 0 Mark a Pocket item as favorite.
pocket.pocket_unfavorite_item Write write 0 Remove favorite status from a Pocket item.
pocket.pocket_delete_item Write write 0 Permanently delete a Pocket item.
pocket.pocket_add_tags Write write 0 Add tags to a Pocket item.
pocket.pocket_remove_tags Write write 0 Remove tags from a Pocket item.
pocket.pocket_replace_tags Write write 0 Replace all tags on a Pocket item.
pocket.pocket_clear_tags Write write 0 Clear all tags from a Pocket item.
pocket.pocket_rename_tag Write write 0 Rename a Pocket tag across the account.
pocket.pocket_delete_tag Write write 0 Delete a Pocket tag across the account.
pocket.pocket_api_post Write write 2 Call a safe relative Pocket v3 POST path for endpoints not covered by first-class tools.