Phase 11, part 2: module tools over MCP
Agents get each module's tools by their scopes: reading tools with read, the others with read and act. Content (drafts and items; writing, editing and discarding drafts), Prospects (signals, review, outreach, suppression; outreach drafts and edits), SEO (the morning check, What to write next, links, changes; editing a proposal), Sites and Metrics (reading) and the Market (list, get, save). They call what the pages call, and what an agent changes is in the audit log as the agent. Nothing that leaves Supermarket is offered yet: that waits for approvals. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -330,7 +330,7 @@ func run(log *slog.Logger) error {
|
||||
}
|
||||
// Agents reach /mcp with their keys. On the local edition, mcp-token is
|
||||
// the key of the built-in Hermes agent.
|
||||
srv.MCP = mcpserver.Handler(database, version, srv.AgentAuth)
|
||||
srv.MCP = mcpserver.Handler(database, version, srv.AgentAuth, srv.AgentTools)
|
||||
if local {
|
||||
if err := srv.EnsureHermes(token); err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user