Documentation
¶
Overview ¶
Package cmdmcp serves the account's notes to an agent over MCP, a client of the API like the rest of the CLI: the rules (titles, tags, links, trash, encryption) are those of the server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTools ¶
func AddTools(server *mcp.Server, client *apiclient.ClientWithResponses, readOnly bool)
AddTools gives the server the tools acting through client, for the account of its session, and the skills; the reading ones only when readOnly.
func Instructions ¶
Instructions tells an agent the cheap way through a big account, which its client puts in its system prompt: in the benchmark of #198, reading whole notes and rewriting them to tag them made most of the cost. It keeps the essentials and points to the skills for each task (#300), so it stays short at every request and the tool descriptions one sentence (#225). The writing tip is left out when readOnly, whose tools cannot write.
func Options ¶
func Options(readOnly bool) *mcp.ServerOptions
Options are the server's: the instructions, and the Skills over MCP extension that addSkills serves.
Types ¶
This section is empty.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package skills holds the skills shipped with Tide, one SKILL.md per folder in the Agent Skills format: how to use the tools for a task, served to agents by the Skills over MCP extension (#300).
|
Package skills holds the skills shipped with Tide, one SKILL.md per folder in the Agent Skills format: how to use the tools for a task, served to agents by the Skills over MCP extension (#300). |