Skip to main content
Glama

Obsidian MCP Server

by bazylhorsey

add_canvas_node

Add nodes to Obsidian canvases including files, text, links, or groups with specified position and dimensions to organize visual knowledge structures.

Instructions

Add a node to canvas (file, text, link, or group)

Input Schema

NameRequiredDescriptionDefault
canvasPathYesPath to canvas file
colorNoNode color (1-6)
fileNoFile path (for file nodes)
heightYesNode height
labelNoLabel (for group nodes)
nodeTypeYesType of node
textNoText content (for text nodes)
urlNoURL (for link nodes)
vaultYesVault name
widthYesNode width
xYesX coordinate
yYesY coordinate

Input Schema (JSON Schema)

{ "properties": { "canvasPath": { "description": "Path to canvas file", "type": "string" }, "color": { "description": "Node color (1-6)", "type": "string" }, "file": { "description": "File path (for file nodes)", "type": "string" }, "height": { "description": "Node height", "type": "number" }, "label": { "description": "Label (for group nodes)", "type": "string" }, "nodeType": { "description": "Type of node", "enum": [ "file", "text", "link", "group" ], "type": "string" }, "text": { "description": "Text content (for text nodes)", "type": "string" }, "url": { "description": "URL (for link nodes)", "type": "string" }, "vault": { "description": "Vault name", "type": "string" }, "width": { "description": "Node width", "type": "number" }, "x": { "description": "X coordinate", "type": "number" }, "y": { "description": "Y coordinate", "type": "number" } }, "required": [ "vault", "canvasPath", "nodeType", "x", "y", "width", "height" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bazylhorsey/obsidian-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server