kdeconnect-mcp

v0.1.0
kdeconnect-mcp Checked 12 hours ago Published 2 months ago

MCP server que expone llamadas, SMS y notificaciones de un movil via KDE Connect, con redaccion de PII (OTP, tarjetas, IBAN, telefonos).

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_status

Estado del servidor: listener, configuracion de captura/PII y conteos.

list_devices

Dispositivos moviles vistos por el listener (desde la base de datos).

get_activity

Timeline unificado de actividad ya redactada. kind: 'sms', 'call' o 'notification' (None = todo). app: filtro parcial por nombre de app (ej. 'whatsapp'). since_minutes: ventana temporal hacia atras (0 = sin limite). unread_only: solo eventos no reconocidos.

ParameterTypeDescription
app
device_id
kind
limitinteger
offsetinteger
since_minutesinteger
unread_onlyboolean

get_events

Consumo incremental por cursor: eventos con id > after_id, en orden de llegada. Devuelve next_after_id para la siguiente llamada (patron de stream/log). Las retiradas de notificacion actualizan la fila y no se reemiten.

ParameterTypeDescription
after_idinteger
kind
limitinteger

wait_for_events

Long-poll: espera (hasta timeout_seconds) a que haya eventos con id > after_id. Recomendado para consumo en vivo: guarda next_after_id y vuelvelo a pasar.

ParameterTypeDescription
after_idinteger
kind
timeout_secondsnumber

search_activity

Busca texto en titulo/cuerpo/app/contacto sobre lo ya redactado.

ParameterTypeDescription
query *string
kind
limitinteger

get_conversation

Hilo de SMS filtrado por telefono (parcial) o nombre de contacto.

ParameterTypeDescription
address
contact
limitinteger

get_call_log

Historial de llamadas. only_missed=True para perdidas.

ParameterTypeDescription
daysinteger
limitinteger
only_missedboolean

list_active_notifications

Notificaciones activas en el movil ahora mismo (backend configurado, redactadas).

ParameterTypeDescription
device_id

acknowledge_events

Marca eventos como reconocidos, por ids o por antiguedad.

ParameterTypeDescription
before_minutes
ids
kind

get_redaction_stats

Conteo de redacciones por categoria (otp, card, iban, phone).

sync_sms_history

Pide al movil las conversaciones cacheadas y las ingesta (redactadas).

ParameterTypeDescription
wait_secondsnumber

scan_devices

Escanea dispositivos KDE Connect. include_unpaired para emparejar nuevos.

ParameterTypeDescription
include_unpairedboolean

request_pair

Pide emparejar un dispositivo; hay que confirmar en el movil.

ParameterTypeDescription
device_id *string

accept_pairing

Acepta una solicitud de emparejamiento entrante (el movil la inicio). Requiere backend kcd.

ParameterTypeDescription
device_id *string

reject_pairing

Rechaza una solicitud de emparejamiento entrante. Requiere backend kcd.

ParameterTypeDescription
device_id *string