In the V1 CLI do we still want to use STDIO, SHTTP...
# proj-sdk
q
In the V1 CLI do we still want to use STDIO, SHTTP, SSE terminology when configuring mcp servers? Or should we use COMMANDS vs URL, which more closely reflects the keywords used in the actual configs (and fastmcp auto detects shttp vs sse so really we just need a URL)
c
Actually i was thinking if we can simplify stuff by simply instruct user to put a mcp_config.json?
we need that earlier because we used to use config.toml and it is kinda not standard
But now we use this standard format that cursor/claude all use https://gofastmcp.com/clients/client#configuration-format
q
Ah i see so just a path to the config then That makes my life much easier
c
so maybe it make sense to kick back to the user and ask them to put in a valid JSON?
q
Cool does the agent-sdk already have a validator for the json?
c
yep
🙌 1
Copy code
from fastmcp.mcp_config import MCPConfig
MCPConfig.model_validate
actually directly comes from fastmcp
q
also I think the advantage previously was that users could add / remove servers from directly within the CLI Does cursor allow for this or do they ask for a json as well?
cc @elegant-branch-54423 for supporting such a feature