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

[Feature] Model Context Protocol #5909

Open
crazyyanchao opened this issue Dec 9, 2024 · 4 comments
Open

[Feature] Model Context Protocol #5909

crazyyanchao opened this issue Dec 9, 2024 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@crazyyanchao
Copy link

🥰 Feature Description

AS MCP Host replacing Claude desktop.

🧐 Proposed Solution

Check the community server progress @ https://github.com/punkpeye/awesome-mcp-servers

📝 Additional Information

No response

@crazyyanchao crazyyanchao added the enhancement New feature or request label Dec 9, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: [Feature] Model Context Protocol

@Dogtiti Dogtiti added the help wanted Extra attention is needed label Dec 10, 2024
@lloydzhou
Copy link
Contributor

大多数mcp server都使用StdioServerTransport
也就是说,只能在本地使用子进程的方式启动。
所以,添加mcp功能估计只能在客户端实现。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Most mcp servers use StdioServerTransport.
In other words, it can only be started locally as a child process.
Therefore, adding the mcp function is estimated to only be implemented on the client side.

@lloydzhou
Copy link
Contributor

lloydzhou commented Dec 12, 2024

sequenceDiagram
  nextchat->>tauri: connect mcp server
  activate tauri
  tauri-->>mcp server: popen and get stdin and stdout
  mcp server-->>tauri: session.initialize()
  tauri-->>nextchat: list_tools()
  deactivate tauri
  nextchat-->>tauri: call_tool(name, input)
  activate tauri
  tauri-->>mcp server: send request to stdin
  mcp server-->>tauri: get response from stdout
  tauri-->>nextchat: result
  deactivate tauri
 
Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants