-
Notifications
You must be signed in to change notification settings - Fork 173
Question: How to correctly add mcp server #123
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
Comments
@jokemanfire @alexiokay As they mentioned in #95, we can add some extra lib like |
@jokemanfire Thanks for the example, I'll try it at daytime. @4t145 Idk, I'm new to rust btw. But it's just what I realized. When can the feature be expected? |
@alexiokay |
I agree, After all, most projects now support. We should move it to milestone |
I tried to connect the client to different servers via websockets, from my code and also tried from testing apps for websockets connection, the result is always -> websocket connected -> disconnected.. without any response. I tried typing the urls from documentation, looked at other repos to find how they convert the urls, but I ended up using stdio npx command. Only that works. And I had to add env to the server config to find npx system path, otherwise "npx is not a command" , bla bla bla.. it kind of sucks, should be global and path should be detected automatically or mentioned in the example readme. Also the simple-client-example didn't work for me, I used open AI models, and I had API response errors, then problems with reading response, it didn't want to call any tool, so I had to change the code to make it actually work. |
I think use rust-sdk to interact with
If there are some bugs or some confusions, you can share with me , let's to fix it. . All discussion will be welcome. Just support more info. :) |
Uh oh!
There was an error while loading. Please reload this page.
He, I'm trying to work with simple client chat implementation and add mcp server for example: https://smithery.ai/server/@turkyden/weather
this is my config:
how to correctly connect to this server and correctly pass api key?
from server docs:
but i dont really understand how to structure the url., when i init chat i get
diffrent servers has diffrent configuration schemas, so the case will be diffrent right? then how the configuration.rs should be written to work universally for diffrent servers? I want to simply allow my app users to add mcp servers
The text was updated successfully, but these errors were encountered: