
Tampermonkey Mcp
Lets AI assistants list, read, create, update, and delete Tampermonkey userscripts in the browser.
- CCM score
- 83 of 100
- GitHub stars
- 69
- tools
- 6
- transport
- STDIO
- last updated
- May 13, 2026
Own this MCP server? Claim it
What it does
- Reads scripts with
tampermonkey_listandtampermonkey_get, filtered by name or include URL pattern - Writes changes with
tampermonkey_patchandtampermonkey_put; removal is limited totampermonkey_delete - Requires Tampermonkey and the Tampermonkey Editors extension, linked by a WebSocket connection code from
tampermonkey_get_connection_code - Designed for editing and maintaining userscripts from an AI assistant without opening the Tampermonkey dashboard
Tools
6 toolsPublic tool metadata for what this MCP can expose to an agent.
tampermonkey_get_connection_codeInitialize connection by getting the WebSocket connection code.
Initialize connection by getting the WebSocket connection code.
No parameter schema in public metadata yet.
tampermonkey_listList all available userscripts.
List all available userscripts.
No parameter schema in public metadata yet.
tampermonkey_getGet content of a specific userscript.
Get content of a specific userscript.
No parameter schema in public metadata yet.
tampermonkey_patchUpdate userscript content.
Update userscript content.
No parameter schema in public metadata yet.
tampermonkey_putCreate a new userscript with the given name and namespace.
Create a new userscript with the given name and namespace.
No parameter schema in public metadata yet.
tampermonkey_deleteDelete an existing userscript.
Delete an existing userscript.
No parameter schema in public metadata yet.
Readme
How to use
First install the following browser extensions:
- Tampermonkey
- Tampermonkey Editors for Firefox or Chrome
Then install tampermonkey-mcp globally:
npm install -g tampermonkey-mcp@latest
Finally configure your AI assistant to use the tampermonkey tool:
{
"mcpServers": {
"tampermonkey": {
"command": "npx",
"args": [
"-y",
"tampermonkey-mcp@latest"
]
}
}
}
Your assistant will call tampermonkey_get_connection_code and return a connection code that you can enter in the Tampermonkey Editors extension.
Claude Code configuration example
npm install -g @anthropic-ai/claude-code
// either use your local checkout
npm run watch
claude mcp add --transport http --scope project tampermonkey http://localhost:4001/mcp
// or the npm package
npm install -g tampermonkey-mcp@latest
claude mcp add --transport stdio --scope project tampermonkey -- npx -y tampermonkey-mcp
Details
- Repository
- github.com/tampermonkey/tampermonkey-mcp
- Categories
- Developer Tools, Browser Automation & Scraping
- Package
tampermonkey-mcp- Transport
- STDIO
- Registry
- MCP registry, active
Similar to Tampermonkey Mcp
More Developer Tools
Greadnitrorcr/gread65 starsAn MCP server that gives your AI access to the source code and docs of all public github repos
Mcp Codebase Indexmikerecognex/mcp-codebase-index63 starsStructural codebase indexer with 17 query tools. 87% token reduction. Zero dependencies.
pulsaryocontra/pulsar62 starsLet your AI agents talk to each other - cross-harness, cross-machine. Remote control from anywhere.
Astro Mcpmorinokami/astro-mcp61 starsMCP server to support Astro project development
Hmrpromplate/hmr60 starsDocs for hot-module-reload and reactive programming for Python (`hmr` on PyPI)
Just MCP Serverpromptexecution/just-mcp60 starsExpose curated Justfile recipes via MCP for safe deterministic automation.