Skip to content

OpenCode

notes owns the standalone CLI, MCP server, and portable notes-mcp Agent Skill. OpenCode plugins, slash commands, guards, and integration-specific skills are maintained outside this repo because they are part of the agent configuration layer.

The dotfiles OpenCode plugin consumes structured context from:

Terminal window
notes context --command notes-list --json

The MCP server is configured with the notes key:

{
"mcp": {
"notes": {
"type": "local",
"command": ["notes", "mcp"],
"enabled": true
}
}
}

With that key, raw MCP tools such as note_read and note_write are exposed to OpenCode as notes_note_read and notes_note_write.

Import the portable skill into your global or project skill directory when agents should use the MCP tools directly. Plugin source and workflow prompts remain in dotfiles/OpenCode config.