MCP Tools Reference

Complete reference for all Quoth MCP tools and cloud API endpoints

Quoth exposes tools through the Model Context Protocol (MCP) in two contexts:

  • Local plugin (quoth-learning server): 22 tools for self-learning, pattern management, intelligence routing, and agent coordination — runs on the developer's machine via stdio
  • Cloud platform (quoth.triqual.dev/api/mcp): 18 tools for cross-team knowledge sharing, search, memory, messaging, and project management — runs on Vercel

This page documents the cloud MCP tools. For local plugin tools, see the plugin documentation.

Tools Overview

Search Tools (3)

ToolPurposeAuth
quoth_search_indexSemantic search across project documentation using HNSW vector indexYes
quoth_read_docRead a full document by ID or pathYes
quoth_read_chunksRead specific chunks of a documentYes

Memory Tools (4)

ToolPurposeAuth
quoth_memory_storeStore a memory entry with namespaces, tags, TTL, and metadataYes
quoth_memory_searchSemantic search across agent memoriesYes
quoth_memory_listList agent memories with filtering and paginationYes
quoth_memory_forgetDelete a specific memory or all memories in a namespaceYes

Agent Tools (7)

ToolPurposeAuth
quoth_agent_registerRegister an agent with capabilities, model, and roleYes
quoth_agent_listList all agents in the organizationYes
quoth_agent_assignAssign an agent to a project with a specific roleYes
quoth_agent_send_messageSend a message to another agent via the async message busYes
quoth_agent_inboxRead messages from the agent's inbox with delivery trackingYes
quoth_agent_tasksList, claim, or complete tasks from the structured task queueYes
quoth_agent_task_reassignReassign a task to a different agentAdmin

Project Tools (3)

ToolPurposeAuth
quoth_project_createCreate a new project within an organizationAdmin
quoth_project_inviteInvite a user or agent to a projectAdmin
quoth_token_generateGenerate an MCP access token for a projectAdmin

Genesis Tool (1)

ToolPurposeAuth
quoth_genesisBootstrap project documentation at minimal, standard, or comprehensive depthYes

Search Tools

quoth_search_index

Semantic search across project documentation using an HNSW vector index. Returns ranked results with similarity scores. Embeddings are generated via Vercel AI Gateway (text-embedding-3-large, 2000d).

Parameters

ParameterTypeRequiredDescription
querystringYesNatural language search query (max 1000 chars)
scope"project" | "shared" | "org"NoSearch scope (default: project)

Scopes:

  • project: Current project only
  • shared: Cross-project shared knowledge
  • org: All organization documents

quoth_read_doc

Read the full content of a document by ID or path. Returns complete content with metadata.

ParameterTypeRequiredDescription
doc_idstringYesDocument title or path
scope"project" | "org"NoDefault: project

quoth_read_chunks

Read specific chunks of a document by chunk ID. Token-efficient for retrieving only the sections you need.

ParameterTypeRequiredDescription
chunk_idsstring[]YesArray of chunk IDs (1-20)

Memory Tools

Agent memory is persisted with automatic embedding generation via Vercel AI Gateway (text-embedding-3-large, 2000d).

quoth_memory_store

Store a memory entry for the calling agent. Supports namespaces, tags, TTL, and arbitrary metadata.

ParameterTypeRequiredDescription
keystringYesUnique memory key
valuestringYesMemory content
namespacestringNoLogical grouping namespace
tagsstring[]NoSearchable tags
ttlnumberNoTime-to-live in seconds
metadataobjectNoArbitrary key-value metadata

Semantic search across agent memories. Returns results with similarity scores. Access triggers fire-and-forget relevance boosting.

ParameterTypeRequiredDescription
querystringYesNatural language search query
namespacestringNoRestrict search to a namespace
limitnumberNoMax results to return (default: 10)
thresholdnumberNoMinimum similarity score (0–1)

quoth_memory_list

List agent memories with filtering by namespace, tier, and pagination.

ParameterTypeRequiredDescription
namespacestringNoFilter by namespace
tier"working" | "persistent"NoFilter by memory tier
limitnumberNoMax results per page
offsetnumberNoPagination offset

quoth_memory_forget

Delete a specific memory by key, or delete all memories in a namespace.

ParameterTypeRequiredDescription
keystringNoMemory key to delete
namespacestringNoDelete all memories in this namespace

At least one of key or namespace is required.


Agent Tools

The async message bus enables communication between agents across different instances (AWS, Montino, WSL2, etc.) with HMAC-SHA256 signing for message verification.

quoth_agent_register

Register an agent in the registry with capabilities, model, and role. Generates an HMAC signing key on registration.

ParameterTypeRequiredDescription
agent_namestringYesUnique name (lowercase, hyphens)
display_namestringNoHuman-readable name
instancestringYesaws, montino, etc.
modelstringNoAI model identifier
rolestringNoorchestrator, specialist, curator, admin
capabilitiesstring[]NoList of agent capabilities
quoth_agent_register({
  agent_name: "deployer",
  display_name: "Deployer",
  instance: "montino",
  role: "specialist",
  model: "anthropic/claude-sonnet-4-6"
})

quoth_agent_list

List all agents in the organization.

ParameterTypeRequiredDescription
status"active" | "inactive" | "archived" | "all"NoDefault: active
instancestringNoFilter by instance
project_idstringNoFilter by project

quoth_agent_assign

Assign an agent to a project with a specific role.

ParameterTypeRequiredDescription
agent_idstringYesAgent UUID or name
project_idstringYesProject UUID or slug
role"owner" | "contributor" | "readonly"YesAgent's role in the project

quoth_agent_send_message

Send a message to another agent via the async communication bus. Messages are HMAC-SHA256 signed.

ParameterTypeRequiredDescription
fromstringNoSender agent name/UUID (recommended)
tostringYesTarget agent name/UUID
messagestringYesMessage content
typeenumNomessage, task, result, alert, knowledge, curator
priorityenumNolow, normal, high, urgent
channelstringNoChannel/topic
reply_tostringNoMessage ID to reply to

quoth_agent_inbox

Read messages from the agent's inbox with delivery tracking.

ParameterTypeRequiredDescription
agent_namestringNoAgent name (uses calling agent if omitted)
limitnumberNoMax messages (default: 10)
statusenumNopending, delivered, read, failed, all
mark_readbooleanNoMark fetched messages as read (default: false)

quoth_agent_tasks

List, claim, or complete tasks from the structured task queue.

ParameterTypeRequiredDescription
action"list" | "claim" | "complete"YesTask operation
task_idstringNoRequired for claim/complete
resultstringNoResult payload for complete
agent_namestringNoFilter by assignee

quoth_agent_task_reassign

Reassign a task to a different agent. Requires admin role.

ParameterTypeRequiredDescription
task_idstringYesTask UUID
to_agentstringYesTarget agent name/UUID
reasonstringNoReason for reassignment

Project Tools

quoth_project_create

Create a new project within an organization.

ParameterTypeRequiredDescription
slugstringYesProject slug (lowercase, hyphens)
github_repostringNoGitHub repo URL
is_publicbooleanNoDefault: false

quoth_project_invite

Invite a user or agent to a project.

ParameterTypeRequiredDescription
project_idstringYesProject UUID or slug
inviteestringYesUser email or agent name/UUID
role"owner" | "contributor" | "readonly"YesRole to grant

quoth_token_generate

Generate an MCP access token for a project. Enables programmatic token rotation without the dashboard.

ParameterTypeRequiredDescription
project_idstringNoProject UUID
project_slugstringNoOr use slug (one of the two required)
labelstringYesToken label
expires_daysnumberNoDefault: 90

Genesis Tool

quoth_genesis

Bootstrap project documentation by scanning the codebase. Supports three depth levels:

  • minimal: 3 core documents (architecture overview, API contracts, setup guide)
  • standard: 5 documents (adds patterns and decisions)
  • comprehensive: 11 documents (full knowledge base)
ParameterTypeRequiredDescription
depth_level"minimal" | "standard" | "comprehensive"NoDefault: standard
focus"full_scan" | "update_only"NoDefault: full_scan
language_hintstringNoPrimary language hint

Cross-Instance Architecture

┌─────────────┐     ┌─────────────┐     ┌─────────────┐
│ AWS Agents  │◄───►│  Quoth Bus  │◆───►│ Montino     │
│ (morfeo,    │     │  (async     │     │ Agents      │
│  life)      │     │  message    │     │ (deployer,  │
└─────────────┘     │  bus)       │     │  ads, echo) │
                    └─────────────┘     └─────────────┘

All agents authenticate with their own project-scoped MCP token. Messages are delivered via the async message bus with HMAC-SHA256 signing for verification.

Priority Levels

PriorityUse Case
lowBackground tasks
normalRegular messages
highImportant notifications
urgentCritical alerts + notification

Cloud API Endpoints

In addition to MCP tools, Quoth exposes REST endpoints for managed mode and cross-org integrations.

Pipeline Processing

POST /api/v1/pipeline/process

Cloud trajectory processing pipeline for managed mode users. Replaces local Haiku subagent processing.

ParameterTypeRequiredDescription
trajectoryobjectYesTrajectory payload (tool calls, context, metadata)
project_idstringYesProject UUID or slug
curl -X POST https://quoth.triqual.dev/api/v1/pipeline/process \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"trajectory": {...}, "project_id": "my-project"}'

Managed mode users don't call this directly — the daemon sends trajectories automatically when configured in managed mode via cli.js init.

Doc Update

POST /api/v1/docs/update

Cloud document updater for managed mode users. Triggers content-hash-based doc updates without requiring local git access.

ParameterTypeRequiredDescription
project_idstringYesProject UUID or slug
docsobject[]NoSpecific docs to update (omit for full scan)

Cross-Org Pattern Sharing

Share and discover patterns across organizations.

List Shared Patterns

GET /api/v1/patterns/shared

ParameterTypeRequiredDescription
categorystringNoFilter by category
min_confidencenumberNoMinimum confidence score (0-1)
limitnumberNoMax results (default: 20)

Share a Pattern

POST /api/v1/patterns/shared

ParameterTypeRequiredDescription
pattern_idstringYesLocal pattern ID to share
visibility"public" | "org"NoDefault: org

Only patterns with confidence >= 0.8 and >= 10 uses can be shared publicly. Organization-scoped sharing has no minimum threshold.


Routing

The local plugin includes task routing with 20+ categories (v3.3.0), including Spanish-language and accent-agnostic keyword matching. Routing uses the Unix socket (~/.quoth/daemon.sock) for ~20ms response times.

Categories include: code, test, debug, deploy, docs, design, security, database, api, frontend, backend, infra, git, review, refactor, performance, accessibility, i18n, marketing, sales, spanish, and more.


Embeddings

Cloud embeddings use Venice BGE-M3 (migrated from voyage-4-lite in v3.3.0). Local plugin supports batch embedding via generateEmbeddingBatch() for cost optimization when processing multiple trajectories.


Rate Limits

TierRequests/minSearch/day
Free10100
Pro601,000
EnterpriseUnlimitedUnlimited