You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/file-formats.md
+25-10Lines changed: 25 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -146,23 +146,33 @@ timeout: 10m
146
146
147
147
#### `mcp_servers` (optional, standard field)
148
148
149
-
**Type:**Array
150
-
**Purpose:** Specifies the list of MCP (Model Context Protocol) servers that the task should use; stored in frontmatter output but does not filter rules
149
+
**Type:**Map (from server name to server configuration)
150
+
**Purpose:** Specifies the MCP (Model Context Protocol) servers that the task should use; stored in frontmatter output but does not filter rules
151
151
152
-
The `mcp_servers` field is a **standard frontmatter field** following the industry standard for MCP server definition. It does not act as a selector.
152
+
The `mcp_servers` field is a **standard frontmatter field** following the industry standard for MCP server definition. It does not act as a selector. The field is a map where keys are server names and values are server configurations.
**Note:** The format follows the MCP specification for server identification.
175
+
**Note:** The format follows the MCP specification for server identification. Each server configuration includes a `type` field (e.g., "stdio", "http", "sse") and other fields specific to that transport type.
166
176
167
177
#### `agent` (optional, standard field)
168
178
@@ -436,13 +446,18 @@ agent: cursor
436
446
437
447
#### `mcp_servers` (rule metadata)
438
448
439
-
Specifies MCP servers that need to be running for this rule. Does not filter rules.
449
+
Specifies MCP servers that need to be running for this rule. Does not filter rules. The field is a map where keys are server names and values are server configurations.
0 commit comments