Skip to content

Commit 270fc3d

Browse files
committed
move docs to right place
1 parent f2c6a56 commit 270fc3d

1 file changed

Lines changed: 1 addition & 42 deletions

File tree

docs/src/content/docs/troubleshooting/common-issues.md

Lines changed: 1 addition & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ If tools you expect are not available after configuring toolsets:
170170

171171
Verify the MCP server package is installed and configuration syntax is valid. Ensure required environment variables are set:
172172

173-
```yaml wrap
173+
```yaml
174174
mcp-servers:
175175
my-server:
176176
command: "npx"
@@ -179,47 +179,6 @@ mcp-servers:
179179
API_KEY: "${{ secrets.MCP_API_KEY }}"
180180
```
181181

182-
### Deprecated `mode` Field in Custom MCP Servers
183-
184-
**Error Message:**
185-
186-
```text
187-
Additional property mode is not allowed
188-
```
189-
190-
**Cause:** The `mode` field was removed from custom MCP server configurations. This field was previously used to specify the MCP server transport type but has been deprecated.
191-
192-
**Solution:** Remove the `mode` field from your custom MCP server configurations. The transport type is now automatically detected based on the configuration:
193-
194-
```yaml wrap
195-
# Before (deprecated)
196-
mcp-servers:
197-
my-server:
198-
command: "npx"
199-
args: ["@myorg/mcp-server"]
200-
mode: "stdio" # Remove this line
201-
allowed: ["*"]
202-
203-
# After (correct)
204-
mcp-servers:
205-
my-server:
206-
command: "npx"
207-
args: ["@myorg/mcp-server"]
208-
allowed: ["*"]
209-
```
210-
211-
**Automatic Migration:** Run `gh aw fix --write` to automatically remove deprecated `mode` fields from all workflow files:
212-
213-
```bash wrap
214-
gh aw fix --write
215-
```
216-
217-
The `fix` command applies the `mcp-mode-to-type` codemod which removes the `mode` field while preserving all other configuration.
218-
219-
> [!NOTE]
220-
> GitHub MCP Server Configuration
221-
> The `mode` field is still valid for the GitHub MCP server (`tools.github.mode`) to choose between `local` (Docker-based) and `remote` (hosted) modes. This deprecation only affects custom MCP servers defined in the `mcp-servers:` section.
222-
223182
### Playwright Network Access Denied
224183

225184
Add blocked domains to the `allowed_domains` list:

0 commit comments

Comments
 (0)