# AI and API

The AI assistant, API keys and the MCP server.

- [AI assistant: invoicing from chat](https://guilder-desk.dev/en/help/ai-and-api/ai-assistant): The assistant in the Chat menu drafts invoices, finds clients and runs summaries; issuing, KSeF sending and payments need your confirmation on a card.
- [API keys and the REST API](https://guilder-desk.dev/en/help/ai-and-api/api-keys-and-rest): Create an API key at Settings → API & agents → Create key (Pro plan) and call the REST API at /api/v1 with an Authorization: Bearer header. A key shows once.
- [MCP: connect an AI agent (Claude, Cursor)](https://guilder-desk.dev/en/help/ai-and-api/mcp-for-agents): Connect the MCP server at /api/mcp to Claude Code, Claude Desktop or Cursor via Settings → API & agents. You grant access after signing in; Pro plan only.
