[{"data":1,"prerenderedAt":582},["ShallowReactive",2],{"navigation_docs":3,"-agents-claude-code":211,"-agents-claude-code-surround":577},[4,36,160,186],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":35},"Start here","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,15,20,25,30],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Quickstart","\u002Fgetting-started\u002Fquickstart","1.getting-started\u002F2.quickstart","i-lucide-arrow-right",{"title":21,"path":22,"stem":23,"icon":24},"Install the plugin","\u002Fgetting-started\u002Finstall-plugin","1.getting-started\u002F3.install-plugin","i-lucide-download",{"title":26,"path":27,"stem":28,"icon":29},"Connect a website","\u002Fgetting-started\u002Fconnect-website","1.getting-started\u002F4.connect-website","i-lucide-link",{"title":31,"path":32,"stem":33,"icon":34},"Connect an Agent","\u002Fgetting-started\u002Fconnect-agent","1.getting-started\u002F5.connect-agent","i-lucide-plug",false,{"title":31,"icon":34,"path":37,"stem":38,"children":39,"page":35},"\u002Fagents","2.agents",[40,45,50,55,60,65,70,75,80,85,90,95,100,105,110,115,120,125,130,135,140,145,150,155],{"title":41,"path":42,"stem":43,"icon":44},"ChatGPT","\u002Fagents\u002Fchatgpt","2.agents\u002F01.chatgpt","MorawpAgentChatgpt",{"title":46,"path":47,"stem":48,"icon":49},"Claude","\u002Fagents\u002Fclaude","2.agents\u002F02.claude","MorawpAgentClaude",{"title":51,"path":52,"stem":53,"icon":54},"Codex","\u002Fagents\u002Fcodex","2.agents\u002F03.codex","MorawpAgentCodex",{"title":56,"path":57,"stem":58,"icon":59},"Claude Code","\u002Fagents\u002Fclaude-code","2.agents\u002F04.claude-code","MorawpAgentClaudeCode",{"title":61,"path":62,"stem":63,"icon":64},"Cursor","\u002Fagents\u002Fcursor","2.agents\u002F05.cursor","MorawpAgentCursor",{"title":66,"path":67,"stem":68,"icon":69},"Grok","\u002Fagents\u002Fgrok","2.agents\u002F06.grok","MorawpAgentGrok",{"title":71,"path":72,"stem":73,"icon":74},"Perplexity","\u002Fagents\u002Fperplexity","2.agents\u002F07.perplexity","MorawpAgentPerplexity",{"title":76,"path":77,"stem":78,"icon":79},"Windsurf","\u002Fagents\u002Fwindsurf","2.agents\u002F08.windsurf","MorawpAgentWindsurf",{"title":81,"path":82,"stem":83,"icon":84},"Cline","\u002Fagents\u002Fcline","2.agents\u002F09.cline","MorawpAgentCline",{"title":86,"path":87,"stem":88,"icon":89},"Google Antigravity","\u002Fagents\u002Fantigravity","2.agents\u002F10.antigravity","MorawpAgentAntigravity",{"title":91,"path":92,"stem":93,"icon":94},"OpenCode","\u002Fagents\u002Fopencode","2.agents\u002F11.opencode","MorawpAgentOpencode",{"title":96,"path":97,"stem":98,"icon":99},"Zed","\u002Fagents\u002Fzed","2.agents\u002F12.zed","MorawpAgentZed",{"title":101,"path":102,"stem":103,"icon":104},"Warp","\u002Fagents\u002Fwarp","2.agents\u002F13.warp","MorawpAgentWarp",{"title":106,"path":107,"stem":108,"icon":109},"Kiro","\u002Fagents\u002Fkiro","2.agents\u002F14.kiro","MorawpAgentKiro",{"title":111,"path":112,"stem":113,"icon":114},"Continue","\u002Fagents\u002Fcontinue","2.agents\u002F15.continue","MorawpAgentContinue",{"title":116,"path":117,"stem":118,"icon":119},"JetBrains Junie","\u002Fagents\u002Fjunie","2.agents\u002F16.junie","MorawpAgentJunie",{"title":121,"path":122,"stem":123,"icon":124},"Goose","\u002Fagents\u002Fgoose","2.agents\u002F17.goose","MorawpAgentGoose",{"title":126,"path":127,"stem":128,"icon":129},"Qwen Code","\u002Fagents\u002Fqwen","2.agents\u002F18.qwen","MorawpAgentQwen",{"title":131,"path":132,"stem":133,"icon":134},"Kimi Code","\u002Fagents\u002Fkimi","2.agents\u002F19.kimi","MorawpAgentKimi",{"title":136,"path":137,"stem":138,"icon":139},"Grok Build","\u002Fagents\u002Fgrok-build","2.agents\u002F20.grok-build","MorawpAgentGrokBuild",{"title":141,"path":142,"stem":143,"icon":144},"Trae","\u002Fagents\u002Ftrae","2.agents\u002F21.trae","MorawpAgentTrae",{"title":146,"path":147,"stem":148,"icon":149},"GitHub Copilot","\u002Fagents\u002Fgithub-copilot","2.agents\u002F22.github-copilot","MorawpAgentGithubCopilot",{"title":151,"path":152,"stem":153,"icon":154},"Roo Code","\u002Fagents\u002Froo-code","2.agents\u002F23.roo-code","MorawpAgentRooCode",{"title":156,"path":157,"stem":158,"icon":159},"Other AI apps","\u002Fagents\u002Fother-apps","2.agents\u002F24.other-apps","MorawpAgentCustomOauth",{"title":161,"icon":162,"path":163,"stem":164,"children":165,"page":35},"Use MoraWP","i-lucide-book-open","\u002Fguides","3.guides",[166,171,176,181],{"title":167,"path":168,"stem":169,"icon":170},"Websites","\u002Fguides\u002Fwebsites","3.guides\u002F1.websites","i-lucide-cloud",{"title":172,"path":173,"stem":174,"icon":175},"Agents","\u002Fguides\u002Fagents","3.guides\u002F2.agents","i-lucide-sparkles",{"title":177,"path":178,"stem":179,"icon":180},"Abilities","\u002Fguides\u002Fabilities","3.guides\u002F3.abilities","i-lucide-wrench",{"title":182,"path":183,"stem":184,"icon":185},"Activity","\u002Fguides\u002Factivity","3.guides\u002F4.activity","i-lucide-history",{"title":187,"icon":188,"path":189,"stem":190,"children":191,"page":35},"Troubleshooting","i-lucide-life-buoy","\u002Ftroubleshooting","4.troubleshooting",[192,197,201,206],{"title":193,"path":194,"stem":195,"icon":196},"WordPress tool failed","\u002Ftroubleshooting\u002Fwordpress-tool-failed","4.troubleshooting\u002F1.wordpress-tool-failed","i-lucide-alert-circle",{"title":198,"path":199,"stem":200,"icon":34},"Agent connection","\u002Ftroubleshooting\u002Fagent-connection","4.troubleshooting\u002F2.agent-connection",{"title":202,"path":203,"stem":204,"icon":205},"Missing Abilities","\u002Ftroubleshooting\u002Fmissing-abilities","4.troubleshooting\u002F3.missing-abilities","i-lucide-search",{"title":207,"path":208,"stem":209,"icon":210},"Access denied","\u002Ftroubleshooting\u002Faccess-denied","4.troubleshooting\u002F4.access-denied","i-lucide-shield",{"id":212,"title":56,"body":213,"description":570,"extension":571,"links":572,"meta":573,"navigation":574,"path":57,"seo":575,"stem":58,"__hash__":576},"docs\u002F2.agents\u002F04.claude-code.md",{"type":214,"value":215,"toc":561},"minimark",[216,237,242,257,264,274,277,287,291,298,320,333,337,340,367,374,401,408,425,429,439,448,451,459,466,470,527,530,546,557],[217,218,219,220,224,225,228,229,232,233,236],"p",{},"Use Claude Code in a ",[221,222,223],"strong",{},"terminal",", ",[221,226,227],{},"IDE extension",", or the ",[221,230,231],{},"Code tab in Claude Desktop",".\nFor ordinary Claude chat, use ",[234,235,46],"a",{"href":47},".",[238,239,241],"h2",{"id":240},"desktop-code-tab","Desktop Code tab",[217,243,244,245,248,249,252,253,256],{},"For local and SSH Code sessions, open ",[221,246,247],{},"+ → Connectors"," beside the prompt, or\n",[221,250,251],{},"Settings → Connectors"," to manage services. Add MoraWP with\n",[234,254,255],{"href":47},"Claude's custom remote setup",", then check that it is available\nin your Code conversation.",[217,258,259,260,263],{},"The Desktop reference also supports MCP settings shared with Claude Code's CLI.\nIf you use the commands below, select the scope for the project or host running\nthat session. Cloud and WSL sessions do not expose the same ",[221,261,262],{},"+"," setup control;\ndo not assume a local connection transfers to them.",[217,265,266,267,273],{},"See ",[234,268,272],{"href":269,"rel":270},"https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fdesktop",[271],"nofollow","Claude Code Desktop's official guide","\nfor those environment differences.",[238,275,227],{"id":276},"ide-extension",[217,278,279,280,286],{},"Use the IDE's Claude Code session in the intended project. Add the HTTP server\nthrough the CLI below, then open ",[221,281,282],{},[283,284,285],"code",{},"\u002Fmcp"," in that session to inspect it and\nfinish authorization. A generic MCP server in the editor's own settings is not\nnecessarily configured for Claude Code.",[238,288,290],{"id":289},"before-you-begin","Before you begin",[217,292,293,294,297],{},"Connect a ",[234,295,296],{"href":27},"WordPress website",", then check your\nlocal Claude Code installation:",[299,300,305],"pre",{"className":301,"code":302,"language":303,"meta":304,"style":304},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","claude --version\n","bash","",[283,306,307],{"__ignoreMap":304},[308,309,312,316],"span",{"class":310,"line":311},"line",1,[308,313,315],{"class":314},"sBMFI","claude",[308,317,319],{"class":318},"sfazB"," --version\n",[217,321,322,323,326,327,332],{},"The command syntax below was checked with Claude Code ",[221,324,325],{},"2.1.260",". Use\n",[234,328,331],{"href":329,"rel":330},"https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fmcp",[271],"Anthropic's MCP instructions"," if your\nversion does not offer these commands.",[238,334,336],{"id":335},"add-morawp","Add MoraWP",[217,338,339],{},"From the project where you want to use MoraWP, run:",[299,341,343],{"className":301,"code":342,"language":303,"meta":304,"style":304},"claude mcp add --transport http morawp https:\u002F\u002Fapi.morawp.com\u002Fmcp\n",[283,344,345],{"__ignoreMap":304},[308,346,347,349,352,355,358,361,364],{"class":310,"line":311},[308,348,315],{"class":314},[308,350,351],{"class":318}," mcp",[308,353,354],{"class":318}," add",[308,356,357],{"class":318}," --transport",[308,359,360],{"class":318}," http",[308,362,363],{"class":318}," morawp",[308,365,366],{"class":318}," https:\u002F\u002Fapi.morawp.com\u002Fmcp\n",[217,368,369,370,373],{},"The default configuration scope is ",[221,371,372],{},"local",", so this entry applies to the\ncurrent project. To make it available across your projects instead, use:",[299,375,377],{"className":301,"code":376,"language":303,"meta":304,"style":304},"claude mcp add --transport http --scope user morawp https:\u002F\u002Fapi.morawp.com\u002Fmcp\n",[283,378,379],{"__ignoreMap":304},[308,380,381,383,385,387,389,391,394,397,399],{"class":310,"line":311},[308,382,315],{"class":314},[308,384,351],{"class":318},[308,386,354],{"class":318},[308,388,357],{"class":318},[308,390,360],{"class":318},[308,392,393],{"class":318}," --scope",[308,395,396],{"class":318}," user",[308,398,363],{"class":318},[308,400,366],{"class":318},[217,402,403,404,407],{},"Choose one scope. If ",[283,405,406],{},"morawp"," already exists, inspect it before adding another:",[299,409,411],{"className":301,"code":410,"language":303,"meta":304,"style":304},"claude mcp get morawp\n",[283,412,413],{"__ignoreMap":304},[308,414,415,417,419,422],{"class":310,"line":311},[308,416,315],{"class":314},[308,418,351],{"class":318},[308,420,421],{"class":318}," get",[308,423,424],{"class":318}," morawp\n",[238,426,428],{"id":427},"authorize","Authorize",[217,430,431,432,434,435,236],{},"Start Claude Code in that project. Run ",[283,433,285],{},", select MoraWP, and follow the\nauthentication flow. In the browser,\n",[234,436,438],{"href":437},"\u002Fgetting-started\u002Fconnect-agent#approve-access-in-morawp","approve the intended Workspace and access",[217,440,441,444,445,447],{},[221,442,443],{},"Check:"," ",[283,446,285],{}," shows MoraWP as connected. A saved configuration without\nsuccessful OAuth is not an authorized connection.",[217,449,450],{},"Ask Claude Code:",[299,452,457],{"className":453,"code":455,"language":456,"meta":304},[454],"language-text","Use MoraWP to list the websites this connection can access. Do not make changes.\n","text",[283,458,455],{"__ignoreMap":304},[217,460,461,462,236],{},"Then follow ",[234,463,465],{"href":464},"\u002Fgetting-started\u002Fquickstart#_3-read-one-page","Read one page",[238,467,469],{"id":468},"troubleshooting-and-removal","Troubleshooting and removal",[471,472,473,486],"table",{},[474,475,476],"thead",{},[477,478,479,483],"tr",{},[480,481,482],"th",{},"Problem",[480,484,485],{},"Next step",[487,488,489,498,509,517],"tbody",{},[477,490,491,495],{},[492,493,494],"td",{},"MoraWP is absent in another project",[492,496,497],{},"Check the scope you selected; local scope is project-specific.",[477,499,500,503],{},[492,501,502],{},"Authentication is required",[492,504,505,506,508],{},"Open ",[283,507,285],{}," and complete sign-in.",[477,510,511,514],{},[492,512,513],{},"The browser request expired",[492,515,516],{},"Restart authentication to obtain a new request.",[477,518,519,522],{},[492,520,521],{},"Connected but an action is unavailable",[492,523,524,525,236],{},"Check ",[234,526,207],{"href":208},[217,528,529],{},"To stop access, disconnect the Agent in MoraWP. For local cleanup, remove the\nentry at the scope where you added it:",[299,531,533],{"className":301,"code":532,"language":303,"meta":304,"style":304},"claude mcp remove morawp\n",[283,534,535],{"__ignoreMap":304},[308,536,537,539,541,544],{"class":310,"line":311},[308,538,315],{"class":314},[308,540,351],{"class":318},[308,542,543],{"class":318}," remove",[308,545,424],{"class":318},[217,547,548,549,552,553,556],{},"For a user-scoped entry, add ",[283,550,551],{},"--scope user"," to the remove command. Local cleanup\nand ",[234,554,555],{"href":173},"disconnecting the MoraWP Agent"," are separate operations.",[558,559,560],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":304,"searchDepth":562,"depth":562,"links":563},2,[564,565,566,567,568,569],{"id":240,"depth":562,"text":241},{"id":276,"depth":562,"text":227},{"id":289,"depth":562,"text":290},{"id":335,"depth":562,"text":336},{"id":427,"depth":562,"text":428},{"id":468,"depth":562,"text":469},"Add MoraWP over HTTP, authorize it in your browser, and check the connection in Claude Code.","md",null,{},{"icon":59},{"title":56,"description":570},"Jck5-o8_msmWyYw_YtzmapFOHEoBBF7m_Jphl_VijIc",[578,580],{"title":51,"path":52,"stem":53,"description":579,"icon":54,"children":-1},"Connect MoraWP in the Codex desktop app, IDE extension, or CLI.",{"title":61,"path":62,"stem":63,"description":581,"icon":64,"children":-1},"Connect MoraWP in Cursor's editor using remote MCP and OAuth.",1791572433236]