veryfront__create_project_resource

Create a project resource, an MCP resource definition under resources/, in the project source or a preview branch; returns the project resource source document. Requires project.files.write.

Risk: mutating.

Arguments

NameTypeRequiredDescription
project_referencestringProject ID or slug
idstringYesResource ID, unique among the project resources.
patternstringYesURI pattern the resource answers, such as /users/:userId/profile.
descriptionstringYesWhat the resource returns.
titlestring,nullDisplay title. Omit it or send null for no title.
source_target_kindstringThe source to write: project (the default) or preview_branch.
target_branch_idThe preview branch to write. Required with preview_branch and not accepted with project.

Call it

JSON
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__create_project_resource",    "arguments": {      "id": "<id>",      "pattern": "<pattern>",      "description": "<description>"    }  }}