-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
bugSomething isn't workingSomething isn't workingtoolsIssues related to testing toolsIssues related to testing tools
Description
Describe the bug
Currently, fields that are specified as type integer will result in a text field being displayed and a string being passed to the MCP server, which is not compliant to the JSON schema spec. The number type seems to be supported.
To Reproduce
Steps to reproduce the behavior:
- Create an MCP server that has a field of type
integersomewhere in the inputSchema - Try to pass an integer in the inspector
- Observe that a string has been passed
Expected behavior
Only integers that are valid according to the JSON schema spec can and will be passed to integer fields.
Logs
N/A
Additional context
https://json-schema.org/understanding-json-schema/reference/numeric#integer
gerrywastaken and cliffhallgerrywastakengerrywastaken
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtoolsIssues related to testing toolsIssues related to testing tools