Docs
One MCP endpoint, many host clients. AIS exposes
https://ais.agentsandswarms.ai/mcp as a remote MCP
server. Every tool-using agent that speaks MCP can read and write
memory with no API key — OAuth Device Flow on first connect.
Skip directly to your IDE / agent host. If yours isn't listed, jump to stdio fallback — it works with any MCP-compatible client.
One command in your terminal. Claude Code registers the remote server and handles the OAuth Device Flow on first run.
claude mcp add --transport http ais-memory https://ais.agentsandswarms.ai/mcp
Add to ~/.cursor/mcp.json for global use, or
.cursor/mcp.json in a project root for workspace-only.
Cursor infers the HTTP transport from the url field
— there is no separate transport key.
{
"mcpServers": {
"ais-memory": {
"url": "https://ais.agentsandswarms.ai/mcp"
}
}
}
Cursor ≥ 0.39 also supports a one-click
cursor://anysphere.cursor-deeplink/mcp/install
deeplink — see the
Get Connected
buttons on the homepage.
Add to ~/.config/zed/settings.json. Zed calls these
context servers rather than MCP servers, but they are
the same MCP protocol underneath.
{
"context_servers": {
"ais-memory": {
"url": "https://ais.agentsandswarms.ai/mcp"
}
}
}
Claude Desktop's claude_desktop_config.json only
speaks stdio — it can't talk to remote HTTP MCP servers
directly. Use the published
aismemory
npm package; it authenticates via OAuth Device Flow on first
run and surfaces 7 agent-native tools.
{
"mcpServers": {
"ais-memory": {
"command": "npx",
"args": ["-y", "aismemory"]
}
}
}
File location:
~/Library/Application Support/Claude/claude_desktop_config.json on macOS,
%APPDATA%\Claude\claude_desktop_config.json on Windows.
Want the full 87-tool HTTP surface? Use
Claude.ai Custom Connector
(web — no local config), or wait on
CORBOT-85716A29
which adds OAuth Authorization Server Metadata to AIS so
mcp-remote bridging will work.
Add to ~/.codex/config.toml. The Codex CLI uses
TOML for MCP server entries. We use the
aismemory npm package directly (stdio + OAuth
Device Flow) — same 7-tool surface as Claude Desktop.
[mcp_servers.ais-memory]
command = "npx"
args = ["-y", "aismemory"]
If your Codex version supports remote HTTP MCP servers natively
and you don't want to go through the npm bridge, you can use
url = "https://ais.agentsandswarms.ai/mcp" directly — but auth handling is
up to your client.
Add to ~/.opencode/mcp.json (or the project-local
.opencode/mcp.json). OpenCode uses the same shape
as Cursor's mcp.json.
{
"mcpServers": {
"ais-memory": {
"url": "https://ais.agentsandswarms.ai/mcp"
}
}
}
Add to ~/.continue/config.json (or your workspace
.continue/config.json). Continue currently routes
MCP through its experimental section and prefers stdio
transport, so we use the aismemory npm package
directly (same as Claude Desktop and Codex).
{
"experimental": {
"modelContextProtocolServers": [
{
"transport": {
"type": "stdio",
"command": "npx",
"args": ["-y", "aismemory"]
}
}
]
}
} Verify against the current Continue docs — MCP support has moved location across Continue versions.
No local config required. Add AIS as a Custom Connector in your Claude.ai account — Claude.ai handles auth and tool surfacing across web, mobile, and desktop sessions tied to that account.
https://ais.agentsandswarms.ai/mcp remember / recall / whoami.
Custom Connectors in Claude.ai require a Pro / Team / Enterprise plan. Free Claude.ai accounts can still use AIS via Claude Desktop or Claude Code (above).
For MCP clients that only speak stdio and don't support remote
HTTP servers, install the published
aismemory
package. It authenticates via OAuth Device Flow on first run
and proxies every tool call to the HTTP endpoint.
{
"mcpServers": {
"ais-memory": {
"command": "npx",
"args": ["-y", "aismemory"]
}
}
} Works with any MCP client: Anthropic clients, third-party editors, custom agent frameworks. The stdio package surfaces 7 agent-native tools; the HTTP endpoint above surfaces all 87.
"Server not found" or 404 on https://ais.agentsandswarms.ai/mcp
Make sure your client supports remote HTTP MCP servers. If it doesn't, use the stdio fallback — that path works everywhere.
OAuth flow opens but never returns
Some hosts intercept the browser callback. After approving in the browser tab, return to your IDE — the server polls for approval and finishes connection within 5 seconds.
Tools work but recall returns nothing
You're probably querying a different agent than the one your
memories are bound to. Run whoami to confirm
identity, or set AIS_AGENT_NAME in your MCP
config env block to pin the session.
The canonical reference for tool surfaces, counts, and version drift lives alongside the AIS source code. If something here ever diverges from what the API actually exposes, the source file wins.
packages/agent-identity-service/src/mcp/tools/*.ts
in the AIS repo. 87 tools across 13 categories.
packages/agentmemory/src/index.ts. 7 tools.
https://ais.agentsandswarms.ai/mcp — call tools/list to enumerate.