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-learningserver): 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)
| Tool | Purpose | Auth |
|---|---|---|
quoth_search_index | Semantic search across project documentation using HNSW vector index | Yes |
quoth_read_doc | Read a full document by ID or path | Yes |
quoth_read_chunks | Read specific chunks of a document | Yes |
Memory Tools (4)
| Tool | Purpose | Auth |
|---|---|---|
quoth_memory_store | Store a memory entry with namespaces, tags, TTL, and metadata | Yes |
quoth_memory_search | Semantic search across agent memories | Yes |
quoth_memory_list | List agent memories with filtering and pagination | Yes |
quoth_memory_forget | Delete a specific memory or all memories in a namespace | Yes |
Agent Tools (7)
| Tool | Purpose | Auth |
|---|---|---|
quoth_agent_register | Register an agent with capabilities, model, and role | Yes |
quoth_agent_list | List all agents in the organization | Yes |
quoth_agent_assign | Assign an agent to a project with a specific role | Yes |
quoth_agent_send_message | Send a message to another agent via the async message bus | Yes |
quoth_agent_inbox | Read messages from the agent's inbox with delivery tracking | Yes |
quoth_agent_tasks | List, claim, or complete tasks from the structured task queue | Yes |
quoth_agent_task_reassign | Reassign a task to a different agent | Admin |
Project Tools (3)
| Tool | Purpose | Auth |
|---|---|---|
quoth_project_create | Create a new project within an organization | Admin |
quoth_project_invite | Invite a user or agent to a project | Admin |
quoth_token_generate | Generate an MCP access token for a project | Admin |
Genesis Tool (1)
| Tool | Purpose | Auth |
|---|---|---|
quoth_genesis | Bootstrap project documentation at minimal, standard, or comprehensive depth | Yes |
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
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Natural language search query (max 1000 chars) |
scope | "project" | "shared" | "org" | No | Search 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
doc_id | string | Yes | Document title or path |
scope | "project" | "org" | No | Default: project |
quoth_read_chunks
Read specific chunks of a document by chunk ID. Token-efficient for retrieving only the sections you need.
| Parameter | Type | Required | Description |
|---|---|---|---|
chunk_ids | string[] | Yes | Array 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
key | string | Yes | Unique memory key |
value | string | Yes | Memory content |
namespace | string | No | Logical grouping namespace |
tags | string[] | No | Searchable tags |
ttl | number | No | Time-to-live in seconds |
metadata | object | No | Arbitrary key-value metadata |
quoth_memory_search
Semantic search across agent memories. Returns results with similarity scores. Access triggers fire-and-forget relevance boosting.
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Natural language search query |
namespace | string | No | Restrict search to a namespace |
limit | number | No | Max results to return (default: 10) |
threshold | number | No | Minimum similarity score (0–1) |
quoth_memory_list
List agent memories with filtering by namespace, tier, and pagination.
| Parameter | Type | Required | Description |
|---|---|---|---|
namespace | string | No | Filter by namespace |
tier | "working" | "persistent" | No | Filter by memory tier |
limit | number | No | Max results per page |
offset | number | No | Pagination offset |
quoth_memory_forget
Delete a specific memory by key, or delete all memories in a namespace.
| Parameter | Type | Required | Description |
|---|---|---|---|
key | string | No | Memory key to delete |
namespace | string | No | Delete 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
agent_name | string | Yes | Unique name (lowercase, hyphens) |
display_name | string | No | Human-readable name |
instance | string | Yes | aws, montino, etc. |
model | string | No | AI model identifier |
role | string | No | orchestrator, specialist, curator, admin |
capabilities | string[] | No | List 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
status | "active" | "inactive" | "archived" | "all" | No | Default: active |
instance | string | No | Filter by instance |
project_id | string | No | Filter by project |
quoth_agent_assign
Assign an agent to a project with a specific role.
| Parameter | Type | Required | Description |
|---|---|---|---|
agent_id | string | Yes | Agent UUID or name |
project_id | string | Yes | Project UUID or slug |
role | "owner" | "contributor" | "readonly" | Yes | Agent'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.
| Parameter | Type | Required | Description |
|---|---|---|---|
from | string | No | Sender agent name/UUID (recommended) |
to | string | Yes | Target agent name/UUID |
message | string | Yes | Message content |
type | enum | No | message, task, result, alert, knowledge, curator |
priority | enum | No | low, normal, high, urgent |
channel | string | No | Channel/topic |
reply_to | string | No | Message ID to reply to |
quoth_agent_inbox
Read messages from the agent's inbox with delivery tracking.
| Parameter | Type | Required | Description |
|---|---|---|---|
agent_name | string | No | Agent name (uses calling agent if omitted) |
limit | number | No | Max messages (default: 10) |
status | enum | No | pending, delivered, read, failed, all |
mark_read | boolean | No | Mark fetched messages as read (default: false) |
quoth_agent_tasks
List, claim, or complete tasks from the structured task queue.
| Parameter | Type | Required | Description |
|---|---|---|---|
action | "list" | "claim" | "complete" | Yes | Task operation |
task_id | string | No | Required for claim/complete |
result | string | No | Result payload for complete |
agent_name | string | No | Filter by assignee |
quoth_agent_task_reassign
Reassign a task to a different agent. Requires admin role.
| Parameter | Type | Required | Description |
|---|---|---|---|
task_id | string | Yes | Task UUID |
to_agent | string | Yes | Target agent name/UUID |
reason | string | No | Reason for reassignment |
Project Tools
quoth_project_create
Create a new project within an organization.
| Parameter | Type | Required | Description |
|---|---|---|---|
slug | string | Yes | Project slug (lowercase, hyphens) |
github_repo | string | No | GitHub repo URL |
is_public | boolean | No | Default: false |
quoth_project_invite
Invite a user or agent to a project.
| Parameter | Type | Required | Description |
|---|---|---|---|
project_id | string | Yes | Project UUID or slug |
invitee | string | Yes | User email or agent name/UUID |
role | "owner" | "contributor" | "readonly" | Yes | Role to grant |
quoth_token_generate
Generate an MCP access token for a project. Enables programmatic token rotation without the dashboard.
| Parameter | Type | Required | Description |
|---|---|---|---|
project_id | string | No | Project UUID |
project_slug | string | No | Or use slug (one of the two required) |
label | string | Yes | Token label |
expires_days | number | No | Default: 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)
| Parameter | Type | Required | Description |
|---|---|---|---|
depth_level | "minimal" | "standard" | "comprehensive" | No | Default: standard |
focus | "full_scan" | "update_only" | No | Default: full_scan |
language_hint | string | No | Primary 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
| Priority | Use Case |
|---|---|
low | Background tasks |
normal | Regular messages |
high | Important notifications |
urgent | Critical 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
trajectory | object | Yes | Trajectory payload (tool calls, context, metadata) |
project_id | string | Yes | Project 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
project_id | string | Yes | Project UUID or slug |
docs | object[] | No | Specific 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
| Parameter | Type | Required | Description |
|---|---|---|---|
category | string | No | Filter by category |
min_confidence | number | No | Minimum confidence score (0-1) |
limit | number | No | Max results (default: 20) |
Share a Pattern
POST /api/v1/patterns/shared
| Parameter | Type | Required | Description |
|---|---|---|---|
pattern_id | string | Yes | Local pattern ID to share |
visibility | "public" | "org" | No | Default: 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
| Tier | Requests/min | Search/day |
|---|---|---|
| Free | 10 | 100 |
| Pro | 60 | 1,000 |
| Enterprise | Unlimited | Unlimited |