QOwnNotesQOwnNotes
Empezar
Instalación
  • Ask question
  • Ask for feature
  • Report bug
  • Telegram Channel
  • Matrix/Element.io Room
  • Gitter Chat
  • IRC Channel
  • Mastodon
  • Twitter
  • Facebook
Donar
  • English
  • Deutsch
  • Italiano
  • Français
  • Español
  • فارسی
  • Nederlands
  • Magyar
  • العربية
  • Polski
  • 한국어
GitHub
Empezar
Instalación
  • Ask question
  • Ask for feature
  • Report bug
  • Telegram Channel
  • Matrix/Element.io Room
  • Gitter Chat
  • IRC Channel
  • Mastodon
  • Twitter
  • Facebook
Donar
  • English
  • Deutsch
  • Italiano
  • Français
  • Español
  • فارسی
  • Nederlands
  • Magyar
  • العربية
  • Polski
  • 한국어
GitHub
  • Empezar

    • Descripción general
    • Concepto
    • Demo de QOwnNotes
    • Apuntes de Markdown
    • Importar notas
    • Parámetros de la interfaz de las órdenes de terminal
    • Extensión del navegador QOwnNotes Web Companion
    • API de sugerencias para Homepage
    • Gestor de fragmentos de órdenes de terminal
    • Aplicación web de QOwnNotes
    • QOwnNotesAPI Nextcloud App
    • Panel de relaciones de notas
    • Buscar notas
    • Atajos
    • Control de versiones de Git
  • Instalación

    • Instalación
    • Instalar en Ubuntu Linux, elementary OS y Linux Mint
    • Instalar en Microsoft Windows ™
    • Instalar en macOS ™
    • Instalar en Debian Linux
    • Instalar en openSUSE Linux
    • Instalar en Fedora Linux
    • Instalar como Snap
    • Instalar como Flatpak
    • Instalar como AppImage
    • Instalar mediante Nix
    • Instalar en Arch Linux
    • Instalar en Solus
    • Instalar en KaOS Linux
    • Instalar en CentOS Linux
    • Instalar en Raspberry Pi OS
    • Instalar en Gentoo Linux
    • Instalar en Funtoo Linux
    • Instalar en Void Linux
    • Instalar en Slackware Linux
    • Instalar en FreeBSD
    • Construir QOwnNotes
  • Editor

    • Revisión ortográfica
    • LanguageTool
    • Soporte de IA
    • Formatos de hora
  • Scripting

    • Scripts de QOwnNotes
    • Métodos y objetos que proporciona QOwnNotes
    • Ganchos
    • Clases expuestas
  • Contribuir

    • Contribuir
    • Código de conducta
    • Mantenedores
    • Traducción
    • Donar
    • Patrocinadores
  • FAQ

    • ¿Cómo puedo mostrar el panel de vista previa sin el panel de edición de notas?
    • ¿Dónde puedo encontrar lo que otras personas dijeron sobre QOwnNotes?
    • ¿Por qué métricas?
  • Blog (en inglés)

    • Overview
    • QOwnNotes Webpage Relaunch with VuePress 2, Vue.js 3, and Vuetify 3
    • Universal binary for macOS
    • Note relations panel
    • AI support was added to QOwnNotes
    • Source Archive switched from TuxFamily to GitHub Releases
    • Nextcloud Deck integration in QOwnNotes
    • QOwnNotes UI End2End Tests with the help of NixOS
    • Please test Qt6 version of QOwnNotes from a new PPA for Ubuntu Linux
    • Evernote import for huge files
    • Happy 1000th release of QOwnNotes
    • Polish website translation
    • Working with multiple notes
    • QOwnNotes command-line snippet manager
    • Nextcloud note versions
    • Manage orphaned image files and attachments
    • Linking of note headings
    • Tor Hidden Service Webpage
    • Use workspaces to manage different layouts of the user interface
    • Auto-complete text in note editor
    • Open links in the note editor
    • Solve simple equations in the note editor
    • Auto-format Markdown tables
    • QOwnNotes Mastodon page
    • Repository for Debian 11
    • Joplin import
    • Send photos from your mobile phone to QOwnNotes on the desktop
    • Four new languages added to the website
    • QOwnNotes Demo
    • Markdown explanation
    • Webpage translation
    • QOwnNotes for Ubuntu 21.04 Hirsute Hippo
    • QOwnNotes for Fedora 33
    • Release and blog posting automation
    • Legacy update service up again
    • RSS Feeds are back in place
    • Time Flies Podcast episode with interview about QOwnNotes
    • Bookmark management with QOwnNotes and Web Companion browser extension
    • Firefox extension on Firefox Add-ons page
    • Chrome extension in Chrome Web Store
    • QOwnNotes Web Companion Chrome extension
    • 500th release of QOwnNotes
    • QOwnNotes Telegram Group
    • Vim mode
    • QOwnNotes for openSUSE Leap 15, SUSE Linux Enterprise 15 and SUSE Linux Enterprise 12 SP3
    • QOwnNotes featured on LINUX Unplugged podcast and by Ubuntu
    • Interview for ownCloud
    • QOwnNotes for Fedora 27
    • QOwnNotes reviewed in German magazine c't
    • QOwnNotesAPI in the ownCloud Marketplace
    • QOwnNotes as AppImage
    • QOwnNotes for Debian 9.0, Fedora 26 and openSUSE Leap 42.3
    • Script repository and script settings variables
    • Fedora 25 release and new documentation page
    • Solus package for QOwnNotes
    • Automatic updates in Windows and macOS
    • Note encryption with keybase.io or directly with PGP
    • Evernote import
    • Portable mode
    • QOwnNotes on webupd8.org
    • QOwnNotes featured on the Linux Voice Podcast
    • QOwnNotes snap
    • QOwnNotes review in British magazine Linux Format
    • QOwnNotes Slackware Linux Repository
    • QOwnNotes review
    • QOwnNotes IRC
    • QOwnNotes now has scripting support
    • QOwnNotes is the Desktop App Pick on the Linux Action Show
    • QOwnNotes got featured in Linux Voice 25
    • QOwnNotes Gentoo Linux Overlay
    • Translate QOwnNotes on Crowdin
    • QOwnNotes 1.0 out now in 6 languages and with Freedesktop theme icons support
    • QOwnNotes software repository for Debian Linux
    • QOwnNotes package on the Arch User Repository
    • QOwnNotes software repository for Arch Linux
    • Webpage redesign
    • Qt widget QMarkdownTextEdit now a separate project for developer's pleasure
    • New release version RSS feed
    • New Linux software repositories and todo list support
    • QOwnNotes on Linux Unplugged
    • Build and release systems for QOwnNotes for Linux, macOS and Windows!
    • Links to other notes or files are now possible in QOwnNotes
  • Changelog (en inglés)

    • QOwnNotes Changelog

Soporte de IA

Puede optar por utilizar su modelo de IA favorito (LLM) para ayudarle con sus notas. Hay soporte integrado para Groq (porque puede obtener claves gratuitas de la API) y OpenAI, pero la API interna está diseñada para poder extenderse fácilmente a otros modelos de IA con scripts. Hay varios scripts de integración de backend de IA disponibles en el repositorio de scripts para que pueda comenzar.

Consejos

La API de finalización de OpenAI se implementó para utilizarse en scripts. De esta manera puede hacer lo que quiera y experimentar con ella.

  • Hay una barra de herramientas de IA y una sección en el menú principal Editar, en donde puede activar el servicio activado y seleccionar el backend y el modelo de IA
  • Puede agregar una clave de la API de OpenAI y Groq en la nueva configuración de IA
    • Busque más integraciones de backend de IA, como Ollama y llama.cpp en el repositorio de scripts
  • Utilice la nueva orden de secuencias de órdenes "script.aiComplete(prompt)" de acuerdo con su propia imaginación
    • Para más información, por favor revise la documentación de secuencias de órdenes
  • En el repositorio de scripts, como primer paso, hay un script de finalización automática de IA, que utiliza el modelo de IA seleccionado para completar automáticamente la selección actual en la edición del texto de la nota, y un script de herramienta de texto de IA, que utiliza el modelo de IA seleccionado para procesar la selección actual en la edición del texto de la nota, por ejemplo para resumirlo, traducirlo o corregir errores tipográficos y gramaticales

ai-settings

MCP Server

QOwnNotes includes a built-in MCP (Model Context Protocol) server that allows external AI agents to access your notes over HTTP with Server-Sent Events (SSE) transport.

You can enable and configure the MCP server in the AI / MCP server settings page.

  • Enable/disable the MCP server
  • Configure the port (default: 22226)
  • Bearer token authentication — a security token is auto-generated and must be included as a Bearer token in the Authorization header of all requests

Available MCP Tools

The MCP server exposes the following tools to AI agents:

  • search_notes — Full-text search across all notes in the current note folder. Accepts a query string parameter and an optional limit (default 20). Returns matching note names and a short preview of each.
  • fetch_note — Retrieve the full content of a single note by name or id. Returns the note text, file name, and note ID.

Connecting an AI Agent

AI agents connect to the MCP server using the HTTP+SSE transport:

  1. SSE endpoint: GET http://localhost:22226/sse
    Opens a Server-Sent Events stream. The server sends an endpoint event containing the URL for sending JSON-RPC messages.
  2. Message endpoint: POST http://localhost:22226/message?sessionId=<id>
    Send MCP JSON-RPC requests here. The response is delivered over the SSE stream.

All requests must include the header:

Authorization: Bearer <your-security-token>

Example curl Requests

Set the token and port first:

export TOKEN="your-mcp-token"
export PORT=22226

Open the SSE stream in one terminal:

curl -N \
  -H "Accept: text/event-stream" \
  -H "Authorization: Bearer $TOKEN" \
  "http://localhost:$PORT/sse"

The server will send an endpoint event containing a URL like:

event: endpoint
data: http://localhost:22226/message?sessionId=3d8c7b0e-...

Use the sessionId from that event in the following requests. The POST request itself returns 202 Accepted; the JSON-RPC response is delivered over the SSE stream.

Initialize the MCP session:

curl \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $TOKEN" \
  --data '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "initialize",
    "params": {}
  }' \
  "http://localhost:$PORT/message?sessionId=3d8c7b0e-..."

List the available MCP tools:

curl \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $TOKEN" \
  --data '{
    "jsonrpc": "2.0",
    "id": 2,
    "method": "tools/list",
    "params": {}
  }' \
  "http://localhost:$PORT/message?sessionId=3d8c7b0e-..."

Search notes:

curl \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $TOKEN" \
  --data '{
    "jsonrpc": "2.0",
    "id": 3,
    "method": "tools/call",
    "params": {
      "name": "search_notes",
      "arguments": {
        "query": "meeting notes",
        "limit": 5
      }
    }
  }' \
  "http://localhost:$PORT/message?sessionId=3d8c7b0e-..."

Fetch a note by name:

curl \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $TOKEN" \
  --data '{
    "jsonrpc": "2.0",
    "id": 4,
    "method": "tools/call",
    "params": {
      "name": "fetch_note",
      "arguments": {
        "name": "Daily Journal"
      }
    }
  }' \
  "http://localhost:$PORT/message?sessionId=3d8c7b0e-..."

Fetch a note by ID:

curl \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $TOKEN" \
  --data '{
    "jsonrpc": "2.0",
    "id": 5,
    "method": "tools/call",
    "params": {
      "name": "fetch_note",
      "arguments": {
        "id": 123
      }
    }
  }' \
  "http://localhost:$PORT/message?sessionId=3d8c7b0e-..."
Prev
LanguageTool
Next
Formatos de hora