{"repo":"Tampermonkey/tampermonkey-mcp","free":true,"listed":false,"github":"https://github.com/Tampermonkey/tampermonkey-mcp","clone":"git clone https://github.com/Tampermonkey/tampermonkey-mcp.git","description":"Manage Tampermonkey userscripts via Model Context Protocol (MCP). List, read, write, patch, and delete userscripts directly from AI-powered development tools.","language":"TypeScript","stars":29,"topics":[],"license":null,"category":"mcp-servers","readme_excerpt":"How to use First install the following browser extensions: Tampermonkey Tampermonkey Editors for Firefox or Chrome Then install tampermonkey-mcp globally: Finally configure your AI assistant to use the tampermonkey tool: 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 Build Tampermonkey MCP Server Architecture Overview This project implements an MCP (Model Context Protocol) server that allows AI assistants to read and modify Tampermonkey userscripts via the Tampermonkey Editors browser extension. Architecture Components Connection Flow 1. MCP Server starts - Creates WebSocket server on a random available port 2. Connection code generated - Format: 3. User calls tampermonkey get connection code - Gets the connection code 4. User enters code in Tampermonkey Editors - Extension parses code to get port and auth 5. Extension connects to MCP server - WebSocket handshake with authentication 6. MCP tools become available - list, get, patch can now be called Authentication Protocol MCP Tools tampermonkey get connection code Purpose : Initialize connection by getting the WebSocket connection code. Required : Must be called first to start the WebSocket server. Output : Connection code to enter in Tampermonkey Editors. tampermonkey list Purpose : List all available userscripts. Input : Optional filter by name pattern or include URL pattern. Output : Array of ","default_branch":null,"files":null,"tree":[],"storefront":"/r/Tampermonkey","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Tampermonkey/tampermonkey-mcp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}