# io.github.Tampermonkey/tampermonkey-mcp (npm · tampermonkey-mcp)

MCP server to manage your Tampermonkey scripts

- Trust score: 67/100 (medium)
- Change this week: +23
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `tampermonkey-mcp`: 67/100 (this document), [markdown](https://verifymcp.io/servers/tampermonkey-tampermonkey-mcp/tampermonkey-mcp.md), [page](https://verifymcp.io/servers/tampermonkey-tampermonkey-mcp/tampermonkey-mcp)

## Channel facts

- Registry: `npm`
- Package: `tampermonkey-mcp`
- Version: `0.0.4`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 87/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (98 of 102), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (98 of 102), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 21 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 64/100
  - AI-judged instruction clarity (good).
  - Context-footprint check failed: tool/resource definitions use about 948 tokens (~158/item across 6 items; 6 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 27/100
  - Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add tampermonkey-tampermonkey-mcp -- npx -y tampermonkey-mcp
```

### Codex

```bash
codex mcp add tampermonkey-tampermonkey-mcp -- npx -y tampermonkey-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "tampermonkey-tampermonkey-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "tampermonkey-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add tampermonkey-tampermonkey-mcp --command npx --arg -y --arg tampermonkey-mcp
```

### Hermes

```yaml
mcp_servers:
  tampermonkey-tampermonkey-mcp:
    command: "npx"
    args: ["-y", "tampermonkey-mcp"]
```

### Other

```json
{
  "mcpServers": {
    "tampermonkey-tampermonkey-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "tampermonkey-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-03 (score 67, +47)

- [security regression] Provenance: unverified → fail
- [security improvement] Install scripts: unverified → pass
- [security improvement] Known CVEs: unverified → partial
- [functional regression] Security disclosure: unverified → fail
- [functional improvement] Tool coverage: unverified → 100
- [functional improvement] License: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] Stability: unverified → 0.27
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Schema quality: unverified → good
- [functional] Licence: MIT

### 2026-08-02 (score 20, +1)

- [security improvement] Malware scan: unverified → pass
- [functional regression] Security disclosure: fail → unverified
- [functional regression] Tool coverage: 100 → unverified

### 2026-07-31 (score 19, −5)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-30 (score 24, −20)

- [functional regression] Tool coverage: 100 → unverified
- [functional] First check of Schema quality: unverified

### 2026-07-27 (score 44)

First indexed and scored.

## MCP tools (6)

### `tampermonkey.get-connection-code` (~227 tokens)

REQUIRED FIRST STEP: Get the connection code to connect Tampermonkey Editors to the MCP server.

        **How it works:**
        The MCP server creates a WebSocket server that waits for Tampermonkey Editors to connect.
        You must call this tool FIRST to start the WebSocket server and get a connection code.
        Then enter the code in the Tampermonkey Editors extension - it will connect TO the MCP server.

        **Steps:**
        1. Call this tool to get the connection code
        2. Open Tampermonkey Editors extension in your browser
        3. Enter the code in the extension popup
        4. The extension connects to the MCP server's WebSocket
        5. After connection, you can use tampermonkey.list, tampermonkey.get, tampermonkey.patch, tampermonkey.put, tampermonkey.delete

        **Output:**
            - `code`: The connection code to enter in Tampermonkey Editors

### `tampermonkey.list` (~152 tokens)

List all userscripts available in Tampermonkey.

        **Input:**
            - `pattern` (optional): Filter scripts by name pattern
            - `includePattern` (optional): Filter scripts by include URL pattern

        **Output:**
            Array of userscript metadata including:
            - `name`: Script name
            - `namespace`: Script namespace
            - `path`: Script path (used for get/patch operations)
            - `requires`: List of @require dependencies
            - `storage`: Storage path (if any)

Input parameters:

- `includePattern` (array): Filter scripts by include URL pattern
- `pattern` (string): Filter scripts by name pattern

### `tampermonkey.get` (~164 tokens)

Get the content of a specific userscript.

        **Input:**
            - `path`: The script path (from list operation)
            - `ifNotModifiedSince` (optional): Unix timestamp - only return if script was modified after this time

        **Output:**
            - `value`: The script source code
            - `lastModified`: Unix timestamp of last modification
            - `error`: Error object if script not found or concurrent edit detected

Input parameters:

- `ifNotModifiedSince` (number): Unix timestamp - only return if script was modified after this time
- `path` (string, required): The script or resource path (<script-uuid>/source, <script-uuid>/storage or <script-uuid>/<external-resource-url>

### `tampermonkey.patch` (~146 tokens)

Update the content of a userscript.

        **Input:**
            - `path`: The script or resource path (from list operation)
            - `value`: The new script content
            - `lastModified` (optional): Unix timestamp for optimistic locking

        **Output:**
            - `success`: true if patch was applied successfully
            - `error`: Error object if patch failed (e.g., concurrent edit conflict)

Input parameters:

- `lastModified` (number): Unix timestamp for optimistic locking
- `path` (string, required): The script path (e.g., "<script-uuid>/source")
- `value` (string, required): The new script content

### `tampermonkey.put` (~130 tokens)

Create a new userscript.

        **Input:**
            - `value`: The script source code content
            - `lastModified` (optional): Unix timestamp for optimistic locking

        **Output:**
            - `success`: true if script was created successfully
            - `path/name`: The path and name of the new script
            - `error`: Error object if creation failed (e.g., script already exists, concurrent edit conflict)

Input parameters:

- `lastModified` (number): Unix timestamp for optimistic locking
- `value` (string, required): The script source code content

### `tampermonkey.delete` (~129 tokens)

Delete a userscript by path.

        **Input:**
            - `path`: The script or resource path (<script-uuid>/source, <script-uuid>/storage or <script-uuid>/<external-resource-url>)

        **Output:**
            - `success`: true if script was deleted successfully
            - `error`: Error object if deletion failed (e.g., script not found)

Input parameters:

- `path` (string, required): The script or resource path (<script-uuid>/source, <script-uuid>/storage or <script-uuid>/<external-resource-url>)

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/tampermonkey-tampermonkey-mcp/tampermonkey-mcp#diagnostics

## Score history

- 2026-08-03: 67
- 2026-08-02: 20
- 2026-08-01: 19
- 2026-07-31: 19
- 2026-07-30: 24
- 2026-07-28: 44
- 2026-07-27: 44

## Links

- npm package: https://www.npmjs.com/package/tampermonkey-mcp
- Socket report: https://socket.dev/npm/package/tampermonkey-mcp
- Repository: https://github.com/Tampermonkey/tampermonkey-mcp
- Changelog RSS feed: https://verifymcp.io/servers/tampermonkey-tampermonkey-mcp/tampermonkey-mcp/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/tampermonkey-tampermonkey-mcp/tampermonkey-mcp/changelog.json
- HTML version of this page: https://verifymcp.io/servers/tampermonkey-tampermonkey-mcp/tampermonkey-mcp
