Skip to main content
Glama
monday-graphql-mcp

monday-graphql-mcp

by ataliarf

monday-graphql-mcp

一个 MCP 服务器,帮助开发者基于 monday.com GraphQL API 进行构建——包括查询验证、列值格式、错误解释、实时 schema 内省和代码脚手架,全部可通过你的 AI 助手使用。

工具

Tool

需要 API Key

说明

column_value_format

不需要

任何列类型的精确读/写 JSON 格式

explain_error

不需要

解析 API 错误并获取修复建议

scaffold

不需要

用于集成、Webhook、OAuth 和应用的样板代码

validate_query

可选

语法检查、复杂度估算和 lint 警告

get_schema

需要

实时 Schema 内省,可按关键字过滤

run_query

需要

针对 API 执行查询或变更

Related MCP server: mcp-graphql-tools

设置

1. 安装并构建

git clone <repo-url> monday-graphql-mcp
cd monday-graphql-mcp
npm install
npm run build

2. 添加到 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 tools
column_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

    A3.9/5.0

    Scored across 6 tools

    Disambiguation5/5

    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.

    Naming Consistency4/5

    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.

    Tool Count5/5

    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.

    Completeness5/5

    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

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers