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

epic: Jan as a MCP Host #4861

Open
louis-menlo opened this issue Mar 30, 2025 · 0 comments
Open

epic: Jan as a MCP Host #4861

louis-menlo opened this issue Mar 30, 2025 · 0 comments
Assignees
Milestone

Comments

@louis-menlo
Copy link
Contributor

louis-menlo commented Mar 30, 2025

Problem Statement

Jan integrates the MCP Client SDK and play as a MCP Host, which can run MCP Servers.

This enhancement allows Jan to function as a flexible MCP Host, making it interoperable with existing MCP-compatible servers, providing users with more options for AI model hosting and inference.

Feature Idea

MCP Client SDK allows application to spawn MCP Servers as child processes then it can communicate with them via stdio transport, or connec to externals MCP Servers using sse/websocket transports

ACs

  • Implement MCP Host support in Jan.
  • Ensure compatibility with mcp_config.json to allow seamless integration with various MCP Servers.
  • Adde connection handling for multiple MCP Servers.
  • Improve request routing between Jan (as an MCP Host) and configured MCP Servers.

Architecture draft

CleanShot 2025-03-30 at 17 41 35@2x

graph TD;
    Jan[Jan MCP Host] <-->|MCP Protocol| ServerA[MCP Server A];
    Jan <-->|MCP Protocol| ServerB[MCP Server B];
    ServerA <-->|Data Flow| DataResourceA[Data Resource A];
    ServerB <-->|Data Flow| DataResourceB[Data Resource B];
Loading

Out of scope

Currently, the most popular standard stdio protocol is added only, but it will soon support SSE and WebSocket protocols (When these protocols are stable and supported by numerous servers)

@louis-menlo louis-menlo added the type: feature request A new feature label Mar 30, 2025
@github-project-automation github-project-automation bot moved this to Investigating in Menlo Mar 30, 2025
@louis-menlo louis-menlo self-assigned this Mar 30, 2025
@louis-menlo louis-menlo moved this to In Progress in Jan & Cortex Mar 30, 2025
@louis-menlo louis-menlo moved this from Investigating to In Progress in Menlo Mar 30, 2025
@louis-menlo louis-menlo removed the status in Jan & Cortex Mar 30, 2025
@louis-menlo louis-menlo moved this from In Progress to Eng Review in Menlo Mar 30, 2025
@david-menloai david-menloai added this to the v0.5.17 milestone Apr 1, 2025
@louis-menlo louis-menlo changed the title idea: Jan as a MCP Host epic: Jan as a MCP Host Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Status: Eng Review
Development

No branches or pull requests

3 participants