For CLI-based AI agents like Claude Code, or VS Code extensions like Cline and Roo Code, you need to manually add the MCP configuration to their respective JSON config files.
- Copy the "MoreLogin-mcp" configuration from the MoreLogin desktop client.
- Open the specific tool's configuration file:
- Claude Code: Edit
~/.claude.json(or the local project configuration file). - Cline (VS Code): Open VS Code Settings, search for "Cline: MCP", and edit the
cline_mcp_settings.jsonfile.
- Claude Code: Edit
- Paste the configuration under the
mcpServersobject:
{
"mcpServers": {
"morelogin-mcp": {
"command": "/path/to/executable",
"args": ["/path/to/mcp-server-script.js"],
"env": {}
}
}
}(Make sure to use the exact JSON generated by your MoreLogin client.)
- Save the file and restart your agent.