Skip to content

Mobile MCP: let AI agents drive your iOS and Android apps. MCP server for simulators, emulators and real devices. Works with Claude Code, Codex, Cursor and any MCP client.

fix: noParams is annoying claude code starting recently (#280)

Gil Megidish0f224f1ea7f5
diff --git a/src/server.ts b/src/server.ts
index 62a0e6d..c341b02 100644
--- a/src/server.ts
+++ b/src/server.ts
@@ -38,8 +38,6 @@ export const createMcpServer = (): McpServer => {
version: getAgentVersion(),
});
- // an empty object to satisfy windsurf
- const noParams = z.object({});
const getClientName = (): string => {
try {
@@ -188,9 +186,7 @@ export const createMcpServer = (): McpServer => {
"mobile_list_available_devices",
"List Devices",
"List all available devices. This includes both physical devices and simulators. If there is more than one device returned, you need to let the user select one of them.",
- {
- noParams
- },
+ {},
{ readOnlyHint: true },
async ({}) => {
@@ -261,9 +257,7 @@ export const createMcpServer = (): McpServer => {
"mobile_list_fleet_devices",
"List Fleet Devices",
"List devices available in the remote fleet",
- {
- noParams
- },
+ {},
{ readOnlyHint: true },
async ({}) => {
ensureMobilecliAvailable();