How to use the Android MCP SMS Server in Kimi CLI
This guide explains how to connect the Ozeki Android SMS Gateway MCP server to Kimi CLI, 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 Kimi CLI, and verify that everything is working by sending a test message.
Solution: How to send SMS from Kimi CLI
Kimi CLI is connected to the Ozeki Android SMS MCP Server through the MCP protocol, where Kimi CLI 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 Kimi CLI 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 Kimi CLI?
Kimi CLI is an open-source, terminal-based AI assistant developed by Moonshot AI that allows developers to interact with the Kimi large language model directly from the command line. It supports MCP servers, enabling it to be extended with external tools such as SMS messaging, database access, and more.
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 Kimi CLI installed on your system. If you have not set it up yet, follow our Kimi CLI installation guide.
- Install Ozeki Android SMS Gateway
- Enable MCP SMS Server
- Kimi CLI SMS MCP Server Config
- Add the SMS MCP Server config to Kimi CLI
- 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 Kimi CLI 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 Kimi CLI in the next step.
Step 3 - Kimi CLI SMS MCP Server Config
# Run the following command to register the MCP server in Kimi CLI
# Replace {address} with your Ozeki Android SMS Gateway address
kimi mcp add ozeki-android-sms-mcp http://{address}:9531/mcp
Example prompt
Send an SMS to +36301234567, the message should be "Hello from Kimi CLI".
Step 4 - Add the SMS MCP Server config to Kimi CLI
The following video shows how to add the Android SMS MCP server to Kimi CLI step-by-step. It covers registering the MCP server using the command line and verifying the connection by running a test command.
Open a terminal window by searching for Terminal in the Start menu (Figure 1).
Run the following command to register the Ozeki Android SMS MCP server in Kimi CLI.
Replace {address} with the IP address shown in the Ozeki SMS Client app
on your Android device (Figure 2).
kimi mcp add ozeki-android-sms-mcp http://{address}:9531/mcp
Run the following test command to verify that Kimi CLI can reach the MCP server and list its available tools (Figure 3).
kimi mcp test ozeki-android-sms-mcp
Review the test output to confirm that the connection was successful and that the Send SMS tool is listed among the available tools exposed by the server (Figure 4).
Step 5 - Send a test SMS
The following video shows how to send an SMS message from Kimi CLI using the Ozeki Android SMS MCP server step-by-step.
Launch Kimi CLI from the terminal. It will load the registered MCP servers, including the Ozeki Android SMS MCP server, making their tools available for the session (Figure 5).
kimi
Type a plain language instruction in the prompt asking the AI to send an SMS to a specific phone number. Kimi CLI will call the Send SMS tool and process the request (Figure 6).
Send an SMS to +36301234567, the message should be "Hello from Kimi CLI".
Kimi CLI may prompt you to allow the tool use before proceeding. This is a security confirmation to ensure you are aware that an external tool is being called on your behalf. Confirm the action to allow the AI to send the SMS (Figure 7).
You will see the result of the Send SMS tool call in the terminal. A successful response confirms that the message has been passed to the Android gateway and queued for delivery (Figure 8).
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 Kimi CLI 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 9).


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


Summary
You have successfully configured the Ozeki Android SMS Gateway MCP server with Kimi CLI. 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.