Use this guide after Vivary creates or adopts a workspace.
The agent can read bounded project context. The connection does not grant write authority.
| Field | Value |
|---|---|
| Goal | Give one agent bounded local context. |
| Required input | Healthy workspace and approved runtime. |
| Default authority | Read public workspace context. |
| Optional authority | Start the local MCP adapter. |
| Prohibited action | Do not enable writes, providers, indexing, or network access. |
| Proof | The agent reads the context route and returns a bounded result. |
Run Doctor before the connection.
uvx create-vivary doctor C:/path/to/projectStop if Doctor reports an error.
Start the agent in the workspace root. Tell the agent to read these files in order:
AGENTS.md.vivary/context.mdSTATE.md, only when current state affects the task
Use this instruction:
Read AGENTS.md and .vivary/context.md before work.
Read STATE.md only when current state affects the task.
Retrieve only the evidence that the task needs.
State what is known, inferred, and unknown.
Stop at privacy, authority, destructive, credential, publication, and human gates.
This route works without MCP.
MCP is an optional local adapter. The normal Vivary installation does not include it.
From a source checkout, install the reviewed local packages together.
python -m pip install ./packages/core ./packages/tropo ./packages/mcpThis command changes the selected Python environment. Get approval before the installation.
Use an operator-selected alias and an absolute path.
vivary-mcp --workspace project C:/path/to/projectThe process uses local standard input and output. The process does not open a network service.
Use this generic client configuration:
{
"mcpServers": {
"vivary": {
"command": "python",
"args": ["C:/path/to/vivary/packages/mcp/vivary_mcp.py", "--workspace", "project", "C:/path/to/project"]
}
}
}Put the configuration in the client-owned MCP settings file. Do not add a client-specific file unless the operator selects that client.
The client must discover exactly four tools.
| Tool | Result |
|---|---|
vivary_find |
Bounded task context. |
vivary_query |
Filtered typed matches. |
vivary_check |
Validation findings without repair. |
vivary_capsule |
Public Task Capsule for later evidence binding. |
Every result has known, unknown, or refused status.
The result identifies the workspace by alias only.
Inspect the workspace tree. Call one read tool. Inspect the workspace tree again. The tool call must create no file. MCP cannot approve or apply a record. MCP cannot repair, index, publish, deploy, or call a provider.
Use Get bounded context for the first retrieval task. Use the MCP reference for schemas, limits, diagnostics, and conformance status.