simple-qqdocs-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@simple-qqdocs-mcp input cell B2 with 'Revenue 2025'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
simple-qqdocs-mcp
配合 Playwright MCP 操作腾讯文档表格(.excel-container>canvas)的简易 MCP 服务。
前置条件
用 Playwright MCP 打开
docs.qq.com/sheet表格页浏览器开启 CDP,默认
http://127.0.0.1:9222若遇代理报错,在 MCP 配置中设置
ALL_PROXY=""
Related MCP server: ExcelMCPAdvanced
安装与配置
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": ""
}
}
}
}使用流程
Playwright 打开腾讯文档表格
调用
refresh_grid_boundaries或直接使用默认工具(会自动重新识别网格)页面滚动/缩放后,优先用非
quick_*工具,或先refresh_grid_boundaries
工具选用
场景 | 推荐 |
常规操作 |
|
用户明确要求 quick/快速/缓存 |
|
Tools
坐标与操作
Tool | 说明 |
| 识别并刷新列标 ABCD、行标 1234 的边界缓存 |
| 默认 获取单元格边界(每次重新识别) |
| 用缓存快速获取边界 |
| 默认 识别并点击单元格 |
| 用缓存快速点击 |
| 默认 点击单元格并输入文本 |
| 用缓存快速输入 |
单元格引用:A1(单格)、A1:C2 或 A1C2(范围)
返回格式:
单格
A1→bounds: [[x1, x2], [y1, y2]]范围
A1:C2→bounds: [[x1, x2, x3, x4], [y1, y2, y3]]
基础 / 调试
Tool | 说明 |
| 获取 canvas 截图(base64 PNG) |
| 识别行标/列标区域与边界 |
| 识别单元格文字,返回 |
环境变量
变量 | 默认 | 说明 |
|
| 浏览器 CDP 地址 |
Available Tools
10 toolsclick_cellA
【默认】识别单元格位置并点击(每次重新识别网格)
Inputs: ref (required).
detect_gridB
基础:识别行标/列标区域与 ABCD、1234 边界
Inputs: no named parameters.
get_canvas_snapshotA
获取 .excel-container>canvas 截图(base64 PNG)
Inputs: no named parameters.
get_cell_boundsA
【默认】获取单元格边界(每次重新识别网格)。单格 A1 返回 [[x1,x2],[y1,y2]];范围 A1C2 或 A1:C2 返回 [[x1,x2,...],[y1,y2,...]]
Inputs: ref (required).
input_cellA
【默认】点击单元格并输入文本(每次重新识别网格)
Inputs: ref (required), text (required).
quick_click_cellA
【仅用户明确要求 quick/快速时】使用缓存坐标点击单元格,不重新识别网格
Inputs: ref (required).
quick_get_cell_boundsA
【仅用户明确要求 quick/快速时】使用缓存坐标获取单元格边界,不重新识别网格
Inputs: ref (required).
quick_input_cellA
【仅用户明确要求 quick/快速时】使用缓存坐标点击并输入,不重新识别网格
Inputs: ref (required), text (required).
recognize_cell_textB
基础:识别单元格文字,返回 {text,bcolor,fcolor}(背景/反色不敏感)
Inputs: ref (required).
refresh_grid_boundariesB
识别并刷新表格 canvas 坐标边界缓存(列标 ABCD、行标 1234)
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool has a clearly distinct purpose, with base tools and quick variants explicitly conditioned on user request. The descriptions precisely differentiate when to use each, eliminating ambiguity.
All tool names follow a consistent verb_noun pattern in snake_case, with a uniform 'quick_' prefix for cached variants. No mixing of conventions.
10 tools is well-scoped for interacting with a spreadsheet grid, covering detection, clicking, input, bounds, text recognition, and snapshot. Not too few nor too many.
Covers core cell operations (click, input, read text, grid detection) but lacks tools for range selection, formatting, or formula editing. Minor gap, but the set is functional for basic tasks.
Maintenance
Related MCP Connectors
Online office suite for AI agents: edit docs, sheets, slides and PDFs in browser or via MCP.
An agent-first office suite Claude & ChatGPT read and write over one MCP URL.
Playwright browser automation — navigate, click, fill forms, extract, screenshot — 17 agent tools.
Hosted Notion MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceEnables AI assistants to interact with Google Sheets for reading, writing, and managing spreadsheets through a set of MCP tools.MIT
- FlicenseNot gradedqualityDmaintenanceFast, multi-sheet Excel retrieval and writing via MCP, supporting efficient data access with patch-based navigation and formula support.-
- FlicenseNot gradedqualityDmaintenanceMCP server enabling AI agents to read, write, and manage Google Sheets, including sheet manipulation, row/column operations, dropdowns, checkboxes, and conditional formatting.-
- AlicenseNot gradedqualityCmaintenanceMCP server that enables AI assistants to read and write Tencent Docs (smart tables and online spreadsheets) directly, supporting CRUD operations on records and attachments.MIT