Skip to content

Fix Tiny Agents setup on Windows and JSON schema errors #162

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 1 commit into
base: main
Choose a base branch
from

Conversation

WilliamRabuel
Copy link

Changes:

Remove invalid JSON comment (\) from agent.json to fix the JSONDecodeError in Python CLI.

Flatten servers schema by moving command and args out of the nested config object, matching the Tiny Agents spec (prevents “Required: command” validation errors in TS).

Windows-compatible command in agent.json: changed "command": "npx" to "command": "npx.cmd" so the Python CLI can spawn the correct executable on Win32.

Result:

Python runner no longer throws [WinError 193] or JSON parsing errors.

TypeScript runner passes schema validation and connects successfully to the live MCP endpoint.

Changes:

Remove invalid JSON comment (\\) from agent.json to fix the JSONDecodeError in Python CLI.

Flatten servers schema by moving command and args out of the nested config object, matching the Tiny Agents spec (prevents “Required: command” validation errors in TS).

Windows-compatible command in agent.json: changed "command": "npx" to "command": "npx.cmd" so the Python CLI can spawn the correct executable on Win32.



Result:

Python runner no longer throws [WinError 193] or JSON parsing errors.

TypeScript runner passes schema validation and connects successfully to the live MCP endpoint.
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