Skip to content

fix broken agent.json MCP server example #171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

toffguy77
Copy link

Replaced non-functional snippet using nested config with npx @playwright/mcp@latest (ignored by tiny-agents because command was not at server root) with a working stdio server definition:

{
"type": "stdio",
"command": "npm",
"args": ["exec", "-y", "@playwright/[email protected]"]
}

Changes:

Flattened server fields (command / args at top level under servers[] item) Pin explicit version @playwright/[email protected] for reproducibility Restores server startup and tool discovery during agent initialization

Replaced non-functional snippet using nested config with npx @playwright/mcp@latest (ignored by tiny-agents because command was not at server root) with a working stdio server definition:

{
"type": "stdio",
"command": "npm",
"args": ["exec", "-y", "@playwright/[email protected]"]
}

Changes:

Flattened server fields (command / args at top level under servers[] item)
Pin explicit version @playwright/[email protected] for reproducibility
Restores server startup and tool discovery during agent initialization
confirmed with versions "0.0.33" and "latest"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant