{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"CLI Agents (Claude Code, Cline) MCP Integration","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"cli-agents-claude-code-cline-mcp-integration","__idx":0},"children":["CLI Agents (Claude Code, Cline) MCP Integration"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"configuration-steps","__idx":1},"children":["Configuration Steps"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For CLI-based AI agents like ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Claude Code"]},", or VS Code extensions like ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Cline"]}," and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Roo Code"]},", you need to manually add the MCP configuration to their respective JSON config files."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Copy the \"MoreLogin-mcp\" configuration from the MoreLogin desktop client."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open the specific tool's configuration file:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Claude Code"]},": Edit ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["~/.claude.json"]}," (or the local project configuration file)."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Cline (VS Code)"]},": Open VS Code Settings, search for \"Cline: MCP\", and edit the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cline_mcp_settings.json"]}," file."]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Paste the configuration under the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["mcpServers"]}," object:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"mcpServers\": {\n    \"morelogin-mcp\": {\n      \"command\": \"/path/to/executable\",\n      \"args\": [\"/path/to/mcp-server-script.js\"],\n      \"env\": {}\n    }\n  }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["(Make sure to use the exact JSON generated by your MoreLogin client.)"]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":4},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Save the file and restart your agent."]}]}]},"headings":[{"value":"CLI Agents (Claude Code, Cline) MCP Integration","id":"cli-agents-claude-code-cline-mcp-integration","depth":1},{"value":"Configuration Steps","id":"configuration-steps","depth":2}],"frontmatter":{"seo":{"title":"CLI Agents (Claude Code, Cline) MCP Integration"}},"lastModified":"2026-05-13T03:54:13.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/mcp/cli-agents","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}