open-index/open-npm huggingface dataset:
npm package: @gbox.ai/mcp-android-server
Description: MCP server exposing Gbox Android control tools via Model Context Protocol
Author: Gbox Team
Latest version: 0.1.12
Deprecated: This package has been moved to @gbox.ai/mcp-server. Please use the new package instead.

# GBOX ANDROID MCP SERVER

[![npm version](https://img.shields.io/npm/v/gbox-mcp-android-server.svg)](https://www.npmjs.com/package/gbox-mcp-android-server)
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

> ⚠️ **DEPRECATED**: This package has been moved to a new repository and renamed.
> 
> **New package**: [`@gbox.ai/mcp-server`](https://www.npmjs.com/package/@gbox.ai/mcp-server)  
> **New repository**: [babelcloud/gbox-mcp-server](https://github.com/babelcloud/gbox-mcp-server)
> 
> Please update your configuration to use the new package name and repository.

## Description

GBOX Android MCP enables Agents(Cursor/Claude Code/...) to operate Android devices. The devices can be Cloud VM/Cloud Physical provided by gbox.ai or your local Android device. It can be used for Android App Testing or mobile automations. For more details, please check [GBOX Android MCP](https://docs.gbox.ai/docs-mcp/android-mcp-server).

## Usage

Copy the following configuration into your Cursor or Claude code MCP config file:

```json
"gbox-android": {
  "command": "npx",
  "args": [
    "-y",
    "@gbox.ai/mcp-android-server@latest"
  ],
  // NOTE: You can omit the 'env' section if you have successfully run 'gbox login' in cli.
  "env": {
    "GBOX_API_KEY": "gbox_xxxx",
    "GBOX_BASE_URL": "https://gbox.ai/api/v1"
  }
}
```

For instructions on logging in and configuring your profile, please refer to the [Gbox CLI Documentation](https://github.com/babelcloud/gbox).

If you are already logged in, you can obtain your `GBOX_API_KEY` from the Personal tab at [gbox.ai/dashboard](https://gbox.ai/dashboard).

To use your local Android devices, check [Register Your Own Device](https://docs.gbox.ai/cli/register-local-device).

To learn more about **GBOX**, be sure to check out the [official documentation](https://docs.gbox.ai).
npm package: @gbox.ai/mcp-server
Description: MCP server exposing Gbox Android and Linux control tools via Model Context Protocol
Author: Gbox Team
Latest version: 0.1.16

# GBOX MCP SERVER

[![npm version](https://img.shields.io/npm/v/@gbox.ai/mcp-server.svg)](https://www.npmjs.com/package/@gbox.ai/mcp-server)
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

## Description

GBOX MCP Server enables AI Agents (Cursor/Claude Code/...) to operate Android devices, Linux environments, and browser sessions. The devices can be Cloud VM/Cloud Physical provided by gbox.ai or your local devices. It can be used for Android App Testing, web automation, and general-purpose computing tasks.

## Supported Platforms

- **Android** - Control Android devices (cloud or local)
- **Linux** - Control Linux desktop environments
- **Browser** - Control browser sessions with tab management

## Usage

### Android Mode

For Android device automation. See [GBOX Android MCP](https://docs.gbox.ai/docs-mcp/android-mcp-server) for details.

```json
"gbox-android": {
  "command": "npx",
  "args": [
    "-y",
    "@gbox.ai/mcp-server@latest",
    "--android"
  ],
  "env": {
    "GBOX_API_KEY": "gbox_xxxx",
    "GBOX_BASE_URL": "https://gbox.ai/api/v1"
  }
}
```

### Linux Mode

For Linux desktop automation with browser support.

```json
"gbox-linux": {
  "command": "npx",
  "args": [
    "-y",
    "@gbox.ai/mcp-server@latest",
    "--linux"
  ],
  "env": {
    "GBOX_API_KEY": "gbox_xxxx",
    "GBOX_BASE_URL": "https://gbox.ai/api/v1"
  }
}
```

### Browser Mode

For web automation with pre-opened browser and advanced tab management.

```json
"gbox-browser": {
  "command": "npx",
  "args": [
    "-y",
    "@gbox.ai/mcp-server@latest",
    "--browser"
  ],
  "env": {
    "GBOX_API_KEY": "gbox_xxxx",
    "GBOX_BASE_URL": "https://gbox.ai/api/v1"
  }
}
```

**Browser Mode Features:**
- Browser opens maximized without controls
- Tab management: `list_tabs`, `open_tab`, `switch_tab`, `close_tab`
- Standard interaction tools: `click`, `scroll`, `press_key`, `type`, `screenshot`

## Configuration

**Note:** You can omit the `env` section if you have successfully run `gbox login` in CLI.

For instructions on logging in and configuring your profile, refer to the [Gbox CLI Documentation](https://github.com/babelcloud/gbox).

If you are already logged in, obtain your `GBOX_API_KEY` from the Personal tab at [gbox.ai/dashboard](https://gbox.ai/dashboard).

To use your local Android devices, check [Register Your Own Device](https://docs.gbox.ai/cli/register-local-device).

## Resources

- [Official Documentation](https://docs.gbox.ai)
- [GBOX Android MCP](https://docs.gbox.ai/docs-mcp/android-mcp-server)
- [GBOX CLI](https://github.com/babelcloud/gbox)
- [Dashboard](https://gbox.ai/dashboard)
npm package: @gbox4/prisma-mock
Description: Mock prisma for unit testing database
Latest version: 0.2.1

# Prisma Mock

This is a mock of the Prisma API intended for unit testing. All the data is stored in memory.

The library `jest-mock-extended` is used, which means that if functionality you need is not implemented yet, you can mock it yourself.

# Usage

Simple example how to create a prisma mock instance:

```js
import createPrismaMock from "prisma-mock"

let client

beforeEach(async () => {
  client = await createPrismaMock()
}
```

An example how to mock a global prisma instance inside and schema a "db" directory (like blitzjs):

```js
import createPrismaMock from "prisma-mock";
import { mockDeep, mockReset } from "jest-mock-extended";

jest.mock("db", () => ({
  __esModule: true,
  ...jest.requireActual("db"),
  default: mockDeep(),
}));

import db, { Prisma } from "db";

beforeEach(() => {
  mockReset(db);
  return createPrismaMock({}, Prisma.dmmf.datamodel, db);
});
```

# API

```ts
createPrismaMock(
  data: PrismaMockData<P> = {},
  datamodel?: Prisma.DMMF.Datamodel,
  client = mockDeep<P>()
): Promise<P>
```

## data

Object with an array per table of default data (using `create` is preferred). Example:

```js
createPrismaMock({
  users: [
    {
      id: 1,
      name: "John Doe",
      accountId: 1,
    },
  ],
  account: [
    {
      id: 1,
      name: "Company",
    },
  ],
});
```

## datamodel

The datamodel of the prisma client, value of `Prisma.dmmf.datamodel`.

## client

`jest-mock-extended` instance used. If not provided, a new instance is created.

# Supported features

Alot of the functionality is implemented, but parts are missing. Here is a list of the (missing) features:

## Model queries

- findUnique,
- findMany,
- findFirst,
- findFirstOrThrow,
- create,
- createMany
- delete,
- update,
- deleteMany,
- updateMany
- upsert
- count
- TODO: aggregate
- TODO: groupBy

## Model query options

- distinct
- include
- where
- select
- orderBy
- TODO: select: \_count

## Nested queries

- create
- createMany
- update
- updateMany
- delete
- deleteMany
- connect
- disconnect
- TODO: set
- TODO: connectOrCreate
- TODO: upsert

## Filter conditions and operators

- equals
- gt
- gte
- lt
- lte
- not
- in
- notIn
- contains
- startWith
- endsWith
- AND
- OR
- NOT
- TODO: search
- TODO: mode

## Relation filters

- some
- every
- none
- TODO: is

## Scalar list methods

TODO (set, push)

## Scalar list filters

TODO (has, hasEvery, hasSome, isEmpty, equals)

## Atomic number operations

- increment
- decrement
- multiply
- divide
- set

## JSON filters

TODO (path, string_contains, string_starts_with, string_ends_with, array_contains, array_starts_with, array_ends_with)

## Attributes

- @@id
- @default
- @unique (TODO: no error if duplicate)
- @@unique (TODO: no error if duplicate)
- @relation
- @updatedAt: Partially supported, value is set at creation (TODO: update value on update)

## Attribute functions

- autoincrement()
- TODO: auto()
- cuid()
- TODO: uuid()
- now()
- TODO: dbgenerated()

## Referential actions

- onDelete (SetNull, Cascade)
- TODO: onDelete: Restrict, NoAction, SetDefault
- TODO: onUpdate