PhonePi MCP server

Control your phone (SMS, calls, contacts) from your favorite AI apps.
Back to servers
Setup instructions
Provider
Priyankar Kumar
Release date
Mar 28, 2025
Language
TypeScript
Package
Stats
2.4K downloads
16 stars

PhonePi MCP is a Model Context Protocol server that enables you to control your smartphone directly from AI applications. By connecting your phone to this server, you can use AI assistants to perform various phone functions like sending messages, setting alarms, or checking your battery level.

Prerequisites

You need to install the PhonePi MCP companion app on your smartphone. Visit PhonePi MCP for detailed instructions on setting up the mobile application.

Installation

You can install the PhonePi MCP server globally using npm:

npm install -g phonepi-mcp

Alternatively, you can run it directly with npx without installation:

npx phonepi-mcp

Setup in AI Applications

To enable PhonePi MCP in your AI applications (like Claude, Cline, or Cursor), add the following MCP configuration:

{
  "mcpServers": {
    "phonepi-mcp": {
      "command": "npx",
      "args": [
        "phonepi-mcp",
        "start"
      ]
    }
  }
}

Connecting Your Phone

To connect your phone to the MCP server:

  1. Make sure your phone and computer are on the same network (using a VPN solution like Tailscale is recommended but optional)
  2. Start the MCP server on your computer
  3. Open the PhonePi MCP app on your phone
  4. Enter your computer's local IP address and port 11041 in the app
  5. Once connected, you can ask your AI assistant to interact with your phone

Command Line Interface

PhonePi MCP includes a standalone CLI for managing the server outside of AI applications.

Starting the Server

phonepi-mcp start

Options:

  • -p, --port <port>: Specify a custom port (default: 11041)
  • -b, --background: Run the server in the background

Example with custom settings:

phonepi-mcp start -p 8080 -b

Managing the Server

Check server status:

phonepi-mcp status

Stop the server:

phonepi-mcp stop

Restart the server:

phonepi-mcp restart

Available Features

Once connected, you can use your AI assistant to:

  • Check your phone's battery level
  • Send SMS messages
  • Make phone calls
  • Find your phone by making it beep
  • Set timers and alarms
  • Copy text to your phone's clipboard
  • Manage contacts
  • Send notifications to your phone

Try asking your AI assistant to "send a test notification to my phone" to verify the connection is working correctly.

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "phonepi-mcp" '{"command":"npx","args":["phonepi-mcp","start"]}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "phonepi-mcp": {
            "command": "npx",
            "args": [
                "phonepi-mcp",
                "start"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "phonepi-mcp": {
            "command": "npx",
            "args": [
                "phonepi-mcp",
                "start"
            ]
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later