monday-graphql-mcp
monday-graphql-mcp
一个 MCP 服务器,帮助开发者基于 monday.com GraphQL API 进行构建——包括查询验证、列值格式、错误解释、实时 schema 内省和代码脚手架,全部可通过你的 AI 助手使用。
工具
Tool | 需要 API Key | 说明 |
| 不需要 | 任何列类型的精确读/写 JSON 格式 |
| 不需要 | 解析 API 错误并获取修复建议 |
| 不需要 | 用于集成、Webhook、OAuth 和应用的样板代码 |
| 可选 | 语法检查、复杂度估算和 lint 警告 |
| 需要 | 实时 Schema 内省,可按关键字过滤 |
| 需要 | 针对 API 执行查询或变更 |
Related MCP server: mcp-graphql-tools
设置
1. 安装并构建
git clone <repo-url> monday-graphql-mcp
cd monday-graphql-mcp
npm install
npm run build2. 添加到 Claude Code
将以下内容添加到你的 ~/.claude/settings.json 中的 mcpServers 下:
{
"mcpServers": {
"monday-graphql-mcp": {
"command": "node",
"args": ["/path/to/monday-graphql-mcp/dist/index.js"],
"env": {
"MONDAY_API_KEY": "your_api_key_here"
}
}
}
}获取你的 API 密钥:monday.com → 头像 → 管理 → API。
更新配置后,重启 Claude Code。
3. 无需密钥即可使用
column_value_format、explain_error 和 scaffold 无需 API 密钥即可立即使用。
使用示例
获取列类型的精确格式
How do I write a people column value?
→ uses column_value_format({ column_type: "people" }){
"personsAndTeams": [{ "id": 12345678, "kind": "person" }]
}解析 API 错误
I'm getting "ColumnValueException: invalid value" — what's wrong?
→ uses explain_error({ error: "...", query: "..." })在运行前验证查询
query {
boards(ids: [123]) {
items_page(limit: 500) {
items {
id
name
column_values { id text value }
subitems { id name }
}
}
}
}→ validate_query flags:
- Estimated complexity: ~4200 (HIGH — likely to hit limits)
- limit: 500 is the hard cap, but combined with subitems + all column_values this is expensive
- Fetching all column_values without ids filter — add ids: ["col1"] to reduce complexity
- Fetching subitems + column_values together — consider two separate queries生成样板代码
Scaffold a TypeScript webhook listener for monday.com
→ uses scaffold({ type: "webhook-listener", language: "typescript" })Scaffold 类型:api-client、webhook-listener、oauth-flow、integration、board-view、dashboard-widget
语言:typescript、javascript、python
获取实时 Schema
Show me the monday.com schema for item-related types
→ uses get_schema({ filter: "item" })运行查询
query {
me {
id
name
email
}
}→ uses run_query({ query: "..." })支持的列类型
text · long_text · numbers · status · people · date · timeline · checkbox · dropdown · link · email · phone · rating · country · board_relation · dependency · tags · hour · week · world_clock · color_picker · location · formula · mirror · auto_number · creation_log · last_updated · item_id · vote · files · subtasks
开发
npm run dev # run with tsx (no build step)
npm run build # compile TypeScript to dist/
npm start # run compiled output服务器通过 stdin/stdout 使用 MCP 协议进行通信——它设计为由 MCP 宿主(Claude Code、Claude Desktop 等)启动,而不是直接在终端中运行。
Available Tools
6 toolscolumn_value_formatA
Returns the exact read and write JSON format for any monday.com column type. No API key required. Use this whenever you need to know how to read or write a column value.
Inputs: column_type (required).
explain_errorA
Explains a monday.com API error response in plain language and suggests a fix. Paste the error JSON or message. No API key required.
Inputs: error (required), query.
get_schemaA
Fetches the live monday.com GraphQL schema and returns type definitions, available queries, and mutations. Requires a monday.com API key.
Inputs: filter, api_key.
run_queryB
Executes a GraphQL query or mutation against the monday.com API and returns the result. Requires a monday.com API key.
Inputs: query (required), api_key, variables.
scaffoldA
Generates ready-to-use boilerplate code for monday.com integrations and apps. No API key required.
Inputs: type (required), language (required), description.
validate_queryA
Validates a monday.com GraphQL query: checks syntax, estimates complexity, and flags common pitfalls. Optionally validates against the live schema when an API key is provided.
Inputs: query (required), api_key.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a distinct use case: schema retrieval, query execution, query validation, column formatting, error explanation, and scaffolding. There is minimal conceptual overlap between them, and the descriptions make the boundaries clear.
Most tools use a clear verb_noun pattern (get_schema, validate_query, run_query, explain_error, scaffold), but column_value_format deviates by being a noun phrase rather than an action-oriented name. This is a minor inconsistency and does not prevent readability.
Six tools is a well-scoped set. Each tool addresses a distinct part of the monday.com GraphQL development workflow, and none feel redundant or unnecessary.
The set covers the full developer workflow: retrieving schema, validating queries, executing queries, understanding column value formats, troubleshooting errors, and generating boilerplate code. Since run_query handles arbitrary GraphQL operations, there are no obvious dead ends.
Maintenance
Related MCP Connectors
Monday.com MCP — wraps the Monday.com GraphQL API (BYO API key)
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Connect AI assistants to Stellary projects, boards, documents, and governed agent workflows.
Build, validate, deploy — HTTP APIs, cron jobs, webhooks and MCP tools — from your AI client.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to interact with Monday.com workspaces, allowing retrieval of board lists, board details, item content, and user information through the Monday.com API.4MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to execute GraphQL queries and retrieve schema information from any GraphQL endpoint.28MIT
- AlicenseBqualityCmaintenanceA lightweight MCP server that provides a focused set of tools for interacting with monday.com's GraphQL API, enabling users to manage boards, items, users, and updates from AI assistants.13MIT
- AlicenseNot gradedqualityDmaintenanceEnables LLM assistants to query Monday.com boards, groups, items, and columns via a cached SQLite-backed sync engine, minimizing API calls.MIT