Skip to content
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

Cannot pass an object correctly #110

Open
JoshuaRileyDev opened this issue Dec 11, 2024 · 0 comments · May be fixed by #112
Open

Cannot pass an object correctly #110

JoshuaRileyDev opened this issue Dec 11, 2024 · 0 comments · May be fixed by #112
Labels
bug Something isn't working

Comments

@JoshuaRileyDev
Copy link

Describe the bug
I have one of the parameters in my MCP server as an object but when using the inspector it shows a text field and then JSON stringifies the JSON as well as adding in the slashes so when it's sent to the tool it's as a text string and not object.

To Reproduce
Create a tool that takes in an object parameter and run the inspector.

Expected behavior
Should be able to send a JSON object that's not stringified

Logs
N/A

Additional context
N/A

@JoshuaRileyDev JoshuaRileyDev added the bug Something isn't working label Dec 11, 2024
devin-ai-integration bot added a commit that referenced this issue Dec 13, 2024
- Add special handling for object type parameters
- Parse JSON input for object parameters
- Maintain raw input if JSON parsing fails
- Fixes #110

Co-Authored-By: ashwin@anthropic.com <ashwin@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant