simple-qqdocs-mcp

simple-qqdocs-mcp

Operates Tencent Docs spreadsheet cells by reading boundaries, clicking, and inputting text via Playwright MCP, with caching options for efficiency.

Category
Visit Server

README

simple-qqdocs-mcp

配合 Playwright MCP 操作腾讯文档表格(.excel-container>canvas)的简易 MCP 服务。

前置条件

  1. 用 Playwright MCP 打开 docs.qq.com/sheet 表格页
  2. 浏览器开启 CDP,默认 http://127.0.0.1:9222
  3. 若遇代理报错,在 MCP 配置中设置 ALL_PROXY=""

安装与配置

pnpm install

在 Cursor / MCP 配置中注册(路径按实际修改):

{
  "mcpServers": {
    "simple-qqdocs": {
      "command": "node",
      "args": ["d:/1024/llm/simple-qqdocs-mcp/src/index.js"],
      "env": {
        "CDP_ENDPOINT": "http://127.0.0.1:9222",
        "ALL_PROXY": ""
      }
    }
  }
}

使用流程

  1. Playwright 打开腾讯文档表格
  2. 调用 refresh_grid_boundaries 或直接使用默认工具(会自动重新识别网格)
  3. 页面滚动/缩放后,优先用非 quick_* 工具,或先 refresh_grid_boundaries

工具选用

场景 推荐
常规操作 get_cell_bounds / click_cell / input_cell
用户明确要求 quick/快速/缓存 quick_get_cell_bounds / quick_click_cell / quick_input_cell

Tools

坐标与操作

Tool 说明
refresh_grid_boundaries 识别并刷新列标 ABCD、行标 1234 的边界缓存
get_cell_bounds 默认 获取单元格边界(每次重新识别)
quick_get_cell_bounds 用缓存快速获取边界
click_cell 默认 识别并点击单元格
quick_click_cell 用缓存快速点击
input_cell 默认 点击单元格并输入文本
quick_input_cell 用缓存快速输入

单元格引用:A1(单格)、A1:C2 或 A1C2(范围)

返回格式:

  • 单格 A1 → bounds: [[x1, x2], [y1, y2]]
  • 范围 A1:C2 → bounds: [[x1, x2, x3, x4], [y1, y2, y3]]

基础 / 调试

Tool 说明
get_canvas_snapshot 获取 canvas 截图(base64 PNG)
detect_grid 识别行标/列标区域与边界
recognize_cell_text 识别单元格文字,返回 { text, bcolor, fcolor }

环境变量

变量 默认 说明
CDP_ENDPOINT http://127.0.0.1:9222 浏览器 CDP 地址

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured