Closed (fixed)
Project:
AI Content Assistant
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
20 May 2026 at 18:11 UTC
Updated:
9 Jun 2026 at 10:10 UTC
Jump to comment: Most recent
create_node returns url/edit_url as relative paths (/node/12/edit). MCP
clients are external and can't resolve the site host, so the links aren't usable as-is.
Add setAbsolute() in CreateNodeTool::execute():
'url' => $node->toUrl()->setAbsolute()->toString(),
'edit_url' => $node->toUrl('edit-form')->setAbsolute()->toString(),
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
andrtroe commentedComment #6
andrtroe commented