GoCanvas MCP Server (read-only)
Exposes read-only GoCanvas API v3 endpoints as MCP tools, enabling listing and retrieval of forms, submissions, reports, and reference data.
README
GoCanvas MCP Server (read-only)
A minimal Model Context Protocol server that exposes the read-only endpoints of the GoCanvas API v3 as MCP tools. Scope is limited to four areas: Forms, Submissions, Reports, and Reference Data. No create/update/delete operations are exposed.
Tools
Forms
| Tool | Endpoint |
|---|---|
list_forms |
GET /forms |
get_form |
GET /forms/{form_id} |
list_form_assigned_users |
GET /forms/{form_id}/assigned_users |
list_form_shared_departments |
GET /forms/{form_id}/shared_departments |
Submissions
| Tool | Endpoint |
|---|---|
list_submissions |
GET /submissions (requires form_id) |
get_submission |
GET /submissions/{submission_id} |
list_submission_revisions |
GET /submissions/{submission_id}/revisions |
get_submission_value |
GET /submissions/{submission_id}/values/{value_id} |
Reports
| Tool | Endpoint |
|---|---|
list_form_reports |
GET /forms/{form_id}/reports |
get_form_report |
GET /forms/{form_id}/reports/{report_id} |
get_submission_default_pdf |
GET /submissions/{submission_id}/pdf (PDF) |
get_submission_report_pdf |
GET /submissions/{submission_id}/reports/{report_id} (PDF) |
get_submission_standard_pdf |
GET /submissions/{submission_id}/standard_pdf (PDF) |
The three PDF tools download the binary response to GOCANVAS_PDF_DIR
(default ./pdf_output) and return the saved file path, content type, and size.
Reference Data
| Tool | Endpoint |
|---|---|
list_reference_data |
GET /reference_data |
get_reference_data |
GET /reference_data/{reference_data_id} |
Authentication
| Tool | Endpoint |
|---|---|
refresh_oauth_token |
POST /oauth/token (client-credentials) |
refresh_oauth_token forces a fresh bearer token to be fetched and cached. It is
normally unnecessary — the server fetches a token on startup and refreshes it
automatically before expiry and on a 401 — but it is exposed so the agent can
rotate the token explicitly. The returned access token is masked.
Setup
This project uses uv. With uv installed, no
manual environment setup is required — uv run resolves and installs
dependencies (from pyproject.toml) automatically on first launch.
# optional: pre-create the environment
uv sync
<details> <summary>Alternative: plain pip + venv</summary>
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
</details>
Configuration
Set credentials via environment variables (see .env.example). Authentication is
resolved in the following priority order:
| Variable | Description |
|---|---|
GOCANVAS_CLIENT_ID / GOCANVAS_CLIENT_SECRET |
OAuth 2.0 client credentials (preferred). A short-lived bearer token is fetched from /oauth/token, cached, and auto-refreshed on expiry or 401. |
GOCANVAS_OAUTH_SCOPE |
Optional OAuth scope to request. |
GOCANVAS_API_TOKEN |
Static bearer token. |
GOCANVAS_USERNAME / GOCANVAS_PASSWORD |
HTTP Basic auth (fallback). |
GOCANVAS_BASE_URL |
Optional. Defaults to https://api.gocanvas.com/api/v3. |
GOCANVAS_PDF_DIR |
Optional. Output directory for downloaded PDFs (default ./pdf_output). |
GOCANVAS_TIMEOUT |
Optional. HTTP timeout in seconds (default 30). |
Running
The server communicates over stdio. Run it with uv from the project directory:
GOCANVAS_CLIENT_ID=... GOCANVAS_CLIENT_SECRET=... uv run server.py
MCP client configuration
Use uv run as the command. --directory points uv at this project so it
uses the right dependencies regardless of the client's working directory:
{
"mcpServers": {
"gocanvas": {
"command": "uv",
"args": [
"run",
"--directory", "/absolute/path/to/GoCanvas",
"server.py"
],
"env": {
"GOCANVAS_CLIENT_ID": "your_client_id",
"GOCANVAS_CLIENT_SECRET": "your_client_secret"
}
}
}
}
If uv isn't on the client's PATH, use its absolute path (e.g.
~/.local/bin/uv) as the command.
<details> <summary>Alternative: point at a virtualenv interpreter (pip users)</summary>
{
"mcpServers": {
"gocanvas": {
"command": "/absolute/path/to/GoCanvas/.venv/bin/python",
"args": ["/absolute/path/to/GoCanvas/server.py"],
"env": {
"GOCANVAS_CLIENT_ID": "your_client_id",
"GOCANVAS_CLIENT_SECRET": "your_client_secret"
}
}
}
}
On Windows the interpreter is at .venv\Scripts\python.exe. Using a bare
python will fail with ModuleNotFoundError: httpx because the client does not
use your activated shell environment.
</details>
Notes
- Pagination: list tools accept a
pageargument. Response pagination headers (link,current-page,page-items,total-count,total-pages) are surfaced under apaginationkey in the tool result. - Rate limiting: the server honors
429 Too Many Requestsresponses, waiting according to theRateLimit-Reset/RateLimit-Remainingheaders (or a bounded exponential backoff) before retrying, per GoCanvas best practices.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。