Expo MCP Server

by mattlemmone
Verified

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Provides tools for managing Expo development servers for React Native applications, including starting, stopping, and monitoring servers, capturing logs, and retrieving log statistics.

  • Offers file system operations within project directories, allowing reading, writing, and listing files to support development and debugging workflows.

  • Enables starting Expo development servers specifically for iOS application development and testing.

Expo MCP Server

A Model Context Protocol (MCP) server that provides development and debugging tools for Expo-based React Native applications. This project integrates logging, process management, and file tooling to streamline automation and AI-based workflows.

Features

  • Start, stop, and monitor Expo development servers
  • Capture and filter stdout / stderr logs
  • Read, write, and list files in the project directory
  • Query log statistics and clear logs
  • Extendable via custom MCP tools
  • Includes a packed single-file representation for AI processing (via Repomix)

Usage

CLI

npm run build npm start

Development

npm run dev

Testing

npm run inspect

Available Tools

Tool NameDescription
expoStartStart Expo dev server (iOS by default)
expoStopStop running Expo dev server
expoStatusShow status and logs for Expo server
expoLogsRetrieve recent Expo logs
expoGetLogsFiltered logs with advanced options
expoLogStatsSummary statistics of current logs
expoClearLogsClear all stored logs
readFileRead contents of a file
writeFileWrite content to a file
listFilesList files in a directory
listToolsList all tools registered in the server

Installation

npm install

Build

npm run build

Known Issues / To-Do

  • MCP server shutdown does not always kill the child Expo process
  • Relies on global state to track process existence; should verify by PID instead
  • Logs are not helpful when the server fails to start; improve error diagnostics
  • Clients misunderstand expoLogs usage, leading to incorrect assumptions and unnecessary restarts
  • Should query logs from persisted log files instead of in-memory child process events for robustness
  • npm run start is... unkillable?

License

MIT

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

A Model Context Protocol server that provides development and debugging tools for Expo-based React Native applications, enabling developers to manage Expo servers, capture logs, and manipulate project files.

  1. Features
    1. Usage
      1. CLI
      2. Development
      3. Testing
      4. Available Tools
    2. Installation
      1. Build
        1. Known Issues / To-Do
          1. License
            ID: i97un228jp