phone-sms

io.github.h-3303v0.1.0Updated Oct 2, 2026

Read and send SMS through your own Android phone over KDE Connect on your LAN. No cloud relay.

VerifiedSTDIODesktop onlyCommunication & Collaboration

Overview

AI-generated overview

Read and send SMS through your own paired Android phone over KDE Connect on the local network, with no cloud relay.

What it does
Exposes tools to list SMS conversations newest first, read the last n messages of a thread, look up a contact by name or number fragment from the phone's synced contacts, and send a text to one or several numbers. It reaches the phone through KDE Connect over D-Bus and the local network rather than an SMS gateway. A CLI offers the same operations for manual checks.
When to use it
Useful when an assistant should read or draft replies to your own text messages from your own number, on a Linux desktop where the phone is already paired with KDE Connect. It suits local, privacy-conscious setups where messages should not pass through a cloud relay.
Requirements
Linux with a D-Bus session bus and a current KDE Connect (kdeconnectd); a Plasma desktop is not required. An Android phone with the KDE Connect app, paired and reachable, with the SMS plugin enabled and SMS permission granted (Contacts plugin and permission for names). uv and Python 3.12+. With several paired phones, set PHONE_SMS_DEVICE to the device id.
Before you install
send_sms is marked destructive and actually sends texts from your number; the server instructs the model to wait for your approval of the exact recipient and text, but that is a convention, not a hard guarantee. Message contents enter the model's context. Sending reports only that the request was handed to the phone, not delivery. Contact names require the Contacts plugin and its synced vCards.

Installation

In SourceWeft

  1. Open phone-sms in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

phone-sms

Site: https://phone-sms.vercel.app · Repo: https://github.com/h-3303/phone-sms

An MCP server that lets Claude (or any MCP client) read and send SMS through your own Android phone, from your own number. It talks to the phone over KDE Connect on your local network: no cloud relay, no SMS gateway account, no app to install beyond KDE Connect itself.

agent ──MCP──▶ phone-sms ──D-Bus──▶ kdeconnectd ──LAN──▶ KDE Connect (Android) ──▶ SMS

Tools:

ToolDoes
list_threadsconversations, newest first, with the latest message; filter by contact or unread
read_threadthe last n messages of one conversation
find_contactlook up a contact by name or number fragment (from the phone's synced contacts)
send_smssend a text, or a group text to several numbers

send_sms carries MCP's destructiveHint, and the server tells the model never to send until you have approved the exact recipient and text in the conversation. Message contents never leave your machine except as the model's context.

Requirements

  • Linux with a D-Bus session bus and KDE Connect (kdeconnectd, a current release; package kdeconnect). It does not need the Plasma desktop; it runs fine under GNOME, Hyprland, Sway…
  • An Android phone with the KDE Connect app (F-Droid / Play), paired with the computer. On the phone, enable the SMS plugin (and Contacts if you want names) and grant the SMS and contacts permissions it asks for.
  • uv and Python 3.12+.

Check the pairing: kdeconnect-cli -l should list your phone as paired and reachable.

Install

Claude Code, as a plugin (one step):

/plugin marketplace add h-3303/phone-sms/plugin install phone-sms@phone-sms

Claude Code, as a plain MCP server:

bash
claude mcp add --scope user phone-sms -- uvx phone-sms

Any other MCP client (Claude Desktop config shape, Cursor, Zed, …):

json
{  "mcpServers": {    "phone-sms": {      "command": "uvx",      "args": ["phone-sms"]    }  }}

From a checkout: uv run --directory /path/to/phone-sms -q phone-sms.

The server uses the first paired, reachable device. With several phones, pin one with PHONE_SMS_DEVICE=<id> (the id kdeconnect-cli -l prints).

CLI

The same code paths, for checking things by hand:

phone-sms threads [-n 20] [--unread]phone-sms read <thread_id> [-n 20]phone-sms contact <name>phone-sms send <number>... -m "text"phone-sms                              # MCP server on stdio

How sending works

  1. find_contact <name> gives the number; send_sms takes numbers, ideally in E.164 (+14375551234).
  2. The model shows you recipient and text and waits for your yes.
  3. send_sms answers handed to phone… once kdeconnectd has accepted the request. That is not delivery: the sent message shows up in list_threads / read_thread once the phone syncs it, usually within a minute.

Troubleshooting

  • "no paired, reachable device": open KDE Connect on the phone, same Wi-Fi, kdeconnect-cli -l.
  • Sent, but nothing arrives: on the phone, check that the SMS plugin is enabled for this computer and that Android granted KDE Connect the SMS permission. Watch the request leave the server with dbus-monitor --session "interface='org.kde.kdeconnect.device.conversations',member='sendWithoutConversation'".
  • Names missing: enable the Contacts plugin on both ends; vCards land in ~/.local/share/kpeoplevcard/kdeconnect-<device>/.
  • The kdeconnectd journal line Unimplemented conversation of type 'r' comes from the notification-forwarding plugin, not SMS.

Notes for hackers

It uses org.kde.kdeconnect.device.conversations, the interface the kdeconnect-sms app uses. The daemon object's introspection XML has duplicate methods, so device discovery is a raw D-Bus call. requestConversation first emits only cached messages, so read_thread waits for count messages or conversationLoaded, not for a quiet gap.

License

GPL-3.0-or-later, like KDE Connect.

Source: README.md at commit 58b443d

Tools

0
Tool metadata has not been indexed yet.

Version history

1
  1. v0.1.0LatestOct 2, 2026