Docs · LLMs and developers
Version3.14.0Connect Claude Code to persistent team memory, save a note in one session and check its source in another, or import resources from external MCP servers.
MCP
Claude Code can save a team note in Achiral and retrieve it in a fresh session through Achiral's hosted MCP server.
How do I give Claude Code persistent team memory?
Before you start:
- Choose a disposable project directory and an Achiral Test environment.
- Ask a workspace owner or admin for a Test key from Settings > API with
memory:writeto save the note,memory:readto recall it, andmemory:controlto inspect its source. - Set
ACHIRAL_API_KEYin the shell that will launch Claude Code.
Register the server from the project directory (Claude Code 2.1.336, December 4, 2026):
claude mcp add --scope project --transport http achiral https://mcp.achiral.ai/mcp \
--header 'Authorization: Bearer ${ACHIRAL_API_KEY}'Keep the single quotes. The project configuration stores the variable name, and Claude Code reads its value when it starts. Launch claude, approve the project server if prompted, and open /mcp to check the connection.
- Save a note. Ask: “Use Achiral’s
remember_memoryto save this team note: The rehearsal room for Project Marigold is Cedar.” Keep the returned memory ID. If the response saysmemory.candidate, have a reviewer approve it in Memory > Core Memories before continuing. A candidate ID identifies the review item. - Start a fresh session. Exit Claude Code, then run
claudeagain from the same directory with the same key. Ask: “Use Achiral’srecall_memory. Which room is reserved for the Project Marigold rehearsal? Show the retrieved note, its ID, and its collection.” Look for the note naming Cedar in the tool result. - Check the source. Ask Claude to call
explain_memorywith the retrieved ID and collection. Match the response ID to the retrieved note and inspectsource. A manually entered note can have an emptysourceLinkslist. A note captured from a connected tool can carry a link to the original event.
Import resources from another MCP server
MCP sources let an organization remember durable resources exposed by connected Model Context Protocol servers.
An owner or admin registers the server first under Settings > Model > MCP servers (/settings/model/mcp-servers). Then create and manage MCP sources under Settings > Connectors > MCP (/settings/integrations/mcp).
Machine-readable resources
Agents and developer tools can discover Achiral's MCP surface from:
- MCP server
- MCP discovery endpoint
- Well-known MCP manifest
- MCP public tool schemas
- MCP protected resource metadata
- OpenAPI specification
- API catalog
- Auth.md agent authentication discovery
- LLM index
- Achiral CLI
- Achiral CLI source
- Achiral on Glama
When to use an MCP source
Use an MCP source when an MCP server exposes a resource that should be snapshotted into Achiral memory on a schedule.
MCP sources are best for durable context such as project documents, repositories, knowledge resources, changelogs, runbooks, datasets, or other server-provided resources.
Create a source
Select New MCP source, then provide:
- Resource: a discovered MCP resource, when available.
- Snapshot schedule: how often Achiral should refresh the resource.
- Memory event type: the event label assigned to snapshots from this source.
If the resource is not discovered automatically, open Manual resource settings and provide the MCP server ID and resource URI.
Operations
MCP sources can be paused, resumed, or archived from the MCP tab.
- Active sources are available for scheduled snapshots.
- Paused sources remain configured but do not run scheduled snapshot work.
- Archived sources are retired and should not be used for new ingestion.
Troubleshooting
If an MCP source cannot be created or refreshed:
- Confirm the MCP server is connected to the organization.
- Confirm the selected resource still exists on the server.
- Confirm the manual MCP server ID and resource URI are correct.
- Check whether the server exposes the resource as selectable.
Related pages
- Connectors — authorize popular apps and tools.
- API sources — read records from APIs that are not available as connectors.
- Database — ingest durable records through read-only database sources.
- Organization — manage organization settings and access.