How to use the Android MCP SMS Server in LobeChat
This guide explains how to connect the Ozeki Android SMS Gateway MCP server to LobeChat, enabling the AI assistant to send SMS messages directly from your Android phone. By following this tutorial, you will learn how to install the Ozeki Android SMS Gateway app, enable its built-in MCP server, register the MCP endpoint in LobeChat, and verify that everything is working by sending a test message.
Solution: How to send SMS from LobeChat
LobeChat is connected to the Ozeki Android SMS MCP Server through the MCP protocol, where LobeChat is the MCP client and the Android phone is the MCP server. The Android phone is connected to the SMS service provider through a wireless mobile network connection. When an SMS is sent, it first travels from LobeChat to the Android phone through the MCP protocol, and the Android phone forwards it to the SMS service provider, which delivers it to the recipient's mobile phone.
What is LobeChat?
LobeChat is an open-source, high-performance chat application that supports multiple AI providers and can be deployed locally or in the cloud. It features a plugin and agent skill system that allows it to be extended with MCP servers, enabling capabilities such as SMS messaging, web browsing, and database access directly from the chat interface.
What is an Android SMS MCP Server?
An Android SMS MCP Server is a Model Context Protocol server that runs directly on an Android smartphone and exposes SMS functionality — such as sending text messages and querying SIM subscriptions — as structured tools that any MCP-compatible AI client can call. Once installed and configured, the AI client can send real SMS messages through the phone's SIM card to any phone number, with a single tool call.
Download Ozeki Android SMS Gateway
To use this solution you need to install the Android app on your Android phone.
Download the android app: Android SMS Gateway
https://android-sms-gateway.com/p_51-download-android-sms-gateway.html
Steps to follow
You will need LobeChat installed on your system. If you have not set it up yet, follow our LobeChat installation guide.
- Install Ozeki Android SMS Gateway
- Enable MCP SMS Server
- LobeChat SMS MCP Server Config
- Add the SMS MCP Server config to LobeChat
- Send a test SMS
- Check the SMS in the SMS Gateway logs
Step 1 - Install Ozeki Android SMS Gateway
For a full tutorial on installing the Ozeki Android SMS Gateway, check out our How to install Android SMS Client and Enable Ozeki SMS Client permissions guides.
Before you can use the MCP SMS Server, you need to install the Ozeki SMS Client on your Android device. The app will serve as the local SMS gateway that LobeChat connects to over your Wi-Fi network. Make sure both devices are on the same local network, as this is required for the HTTP connection to work.
Step 2 - Enable MCP SMS Server
For a full tutorial on enabling the MCP server in the Android app, check out our Android MCP SMS Server configuration guide.
Open the Ozeki SMS Client app on your Android device and tap the MCP tab in the bottom navigation bar. Tap the toggle switch to start the MCP server and grant any permission requests that appear, including access to SMS messages. The toggle will switch from "Stopped" to "Running" and the API endpoint URL will appear below. Copy this URL, as you will need it when configuring LobeChat in the next step.
Step 3 - LobeChat SMS MCP Server Config
# Navigate to: Settings -> Agent Skills -> Add Custom MCP Skill
# Replace {address} with your Ozeki Android SMS Gateway address
MCP Plugin Type: Streamable HTTP
MCP Plugin Name: ozeki-android-sms-mcp
Streamable HTTP Endpoint URL: http://{address}:9531/mcp
Example prompt
Send an SMS to +36301234567, the message should be "Hello from LobeChat".
Step 4 - Add the SMS MCP Server config to LobeChat
The following video shows how to add the Android SMS MCP server to LobeChat step-by-step. It covers opening the settings, registering the MCP server as a custom agent skill, testing the connection, and installing the skill.
Open LobeChat and navigate to Settings in the interface. This is where global application configuration and agent skill integrations are managed (Figure 1).
In the settings menu, navigate to Skills. This section lists all currently installed MCP skills and provides the option to add new ones (Figure 2).
Click the Add button, then select Add Custom MCP Skill from the list to open the form where you can register a new MCP server (Figure 3).
Set the MCP Connection Type to Streamable HTTP and
enter the MCP Plugin Name.
In the Streamable HTTP Endpoint URL field, enter the address of your Ozeki SMS
Gateway following the format http://{address}:9529/mcp, and set the Auth Type to
No Auth (Figure 4).
MCP Plugin Type: Streamable HTTP
MCP Plugin Name: ozeki-android-sms-mcp
Streamable HTTP Endpoint URL: http://{address}:9531/mcp
Click the Test connection button to verify that LobeHub can reach the Ozeki SMS MCP Server using the provided URL and API key. If the connection is successful, the SMS tools exposed by the gateway will be listed, confirming that the configuration is correct (Figure 5).
Click the Install button to add the Ozeki SMS MCP Skill to LobeHub. Once installed, the skill will be available to the AI agent in all conversations (Figure 6).
Step 5 - Send a test SMS
The following video shows how to send an SMS message from LobeChat using the Ozeki Android SMS MCP server step-by-step.
Start a new chat in LobeChat and enable the Ozeki Android SMS MCP skill by clicking the tools icon in the chat toolbar and toggling the skill on. This makes the Send SMS tool available for the current conversation (Figure 7).
Type a plain language instruction in the chat prompt asking the AI to send an SMS to a specific phone number. LobeChat will call the Send SMS tool and process the request (Figure 8).
Send an SMS to +36301234567, the message should be "Hello from LobeChat".
You will see the result of the Send SMS tool call in the chat window. A successful response confirms that the message has been passed to the Android gateway and queued for delivery (Figure 9).
Step 6 - Check the SMS in the SMS Gateway logs
The following video shows how to check the gateway logs in the Ozeki SMS Client app step-by-step. This allows you to confirm that the SMS request from LobeChat was received and processed successfully by the Android gateway.
Open the Ozeki SMS Client app on your Android device and navigate to the Settings tab in the bottom navigation bar to access the application settings. Tap the Log option to view the request and response history (Figure 10).


Select the MCP tab to show only MCP-related activity. Here you will see the incoming tool call requests from LobeChat and the responses sent back, allowing you to confirm that the SMS was dispatched successfully (Figure 11).


Summary
You have successfully configured the Ozeki Android SMS Gateway MCP server with LobeChat. Your Android device is now acting as a local SMS gateway that it can communicate with over your local network, enabling text messages to be sent to any phone number using plain language prompts. All SMS traffic is routed through your Android device's mobile connection, with no cloud messaging API or third-party service required.