fix: supporting remote schema references#10
Conversation
The new example API for aeps have remote schemas available a HTTP urls - this allows those to be dereferenced.
rambleraptor
left a comment
There was a problem hiding this comment.
You've tested this with Claude and/or the Inspector right? Some forms of logging print to stdout and break the server protocol completely.
There's a special logging library in the MCP docs but I like the Winston interface more.
| tools: tools | ||
| })); | ||
| server.setRequestHandler(ListToolsRequestSchema, async () => { | ||
| // logger.info("Received list tools request"); |
There was a problem hiding this comment.
We should remove this if we don't want to comment it.
Yep! Yeah I figured out logging breaking the server the hard way 😓 Note the switch to logging to stderr in winston. But i'll add a comment - it's a good thing to clarify. |
|
verified the bookstore issue I was having was unrelated - fix incoming. |
The new example API for aeps have remote schemas
available a HTTP urls - this allows those to be
dereferenced.