Skip to content

Commit ed54818

Browse files
authored
Fixing configuration file for agent
The command and args are wrapped within a config structure which is generates an error when executing tiny-agents
1 parent 2ce8294 commit ed54818

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

units/en/unit1/mcp-clients.mdx

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -272,10 +272,8 @@ Now, let's create an agent configuration file `agent.json`.
272272
"servers": [
273273
{
274274
"type": "stdio",
275-
"config": {
276-
"command": "npx",
277-
"args": ["@playwright/mcp@latest"]
278-
}
275+
"command": "npx",
276+
"args": ["@playwright/mcp@latest"]
279277
}
280278
]
281279
}
@@ -315,10 +313,8 @@ Create an agent configuration file at `my-agent/agent.json`:
315313
"servers": [
316314
{
317315
"type": "stdio",
318-
"config": {
319-
"command": "npx",
320-
"args": ["@playwright/mcp@latest"]
321-
}
316+
"command": "npx",
317+
"args": ["@playwright/mcp@latest"]
322318
}
323319
]
324320
}

0 commit comments

Comments
 (0)