
Security News
Socket Releases Free Certified Patches for Critical vm2 Sandbox Escape
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.
@mobileai/mcp-server
Advanced tools
MCP bridge server for @mobileai/react-native — connect AI editors to your React Native app
The Model Context Protocol (MCP) bridge for React Native. Connect any AI (like Claude Desktop or Google Antigravity) to your React Native app.
This is the companion MCP server for the @mobileai/react-native (or react-native-agentic-ai) package.
It acts as a local proxy that translates standard MCP traffic (from AI editors/agents) into WebSockets that communicate directly with your running React Native app (iOS/Android emulator or physical device).
You don't even need to install it. Just run it via npx:
npx @mobileai/mcp-server
(By default, it listens on port 3100 for HTTP/SSE MCP traffic, and port 3101 for the React Native WebSocket).
In your app, pass the mcpServerUrl prop to your <AIAgent>:
import { AIAgent } from '@mobileai/react-native';
export default function App() {
return (
<AIAgent
mcpServerUrl="ws://localhost:3101"
apiKey="YOUR_API_KEY"
navRef={navRef}
>
{/* Your app components */}
</AIAgent>
);
}
Configure your AI tool to connect to the MCP server:
Google Antigravity:
Add to ~/.gemini/antigravity/mcp_config.json:
{
"mcpServers": {
"mobile-app": {
"command": "npx",
"args": ["@mobileai/mcp-server"]
}
}
}
Claude Desktop:
Add to claude_desktop_config.json:
{
"mcpServers": {
"mobile-app": {
"url": "http://localhost:3100/mcp/sse"
}
}
}
(Once connected, the AI will automatically discover the tools execute_task and get_app_status to interact with your app).
You can customize the ports by setting environment variables before running the server:
| Variable | Default | Description |
|---|---|---|
MCP_PORT | 3100 | HTTP port that AI clients (Claude, Antigravity) connect to |
WS_PORT | 3101 | WebSocket port that your React Native app connects to |
Example:
MCP_PORT=8080 WS_PORT=8081 npx @mobileai/mcp-server
FAQs
MCP bridge server for @mobileai/react-native — connect AI editors to your React Native app
We found that @mobileai/mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.

Research
Five malicious NuGet packages impersonate Chinese .NET libraries to deploy a stealer targeting browser credentials, crypto wallets, SSH keys, and local files.

Security News
pnpm 11 turns on a 1-day Minimum Release Age and blocks exotic subdeps by default, adding safeguards against fast-moving supply chain attacks.