Skip to main content

Connectors

A connector lets any AI app you already use — ChatGPT, Claude, Cursor, Windsurf, VS Code, and anything else that speaks the Model Context Protocol — talk to your SharedMemory directly. You sign in once, click "Allow", and from that point on the app can remember things for you and recall them across sessions.

Under the hood, this is a remote MCP server with OAuth 2.1. No API keys to copy around, no JSON files to edit. Each app gets its own scoped token bound to your SharedMemory account, and you can revoke any of them with one click from the dashboard.

The connection URL​

There is exactly one URL you need:

https://api.sharedmemory.ai/mcp

Paste this into the connector picker of any MCP-aware app. The first time you use it, your browser will open a SharedMemory sign-in page. After you click Allow, the app is connected.

What the AI app can do​

Once connected, the app can use these tools on your behalf:

ToolPurpose
rememberSave a new fact, preference, or instruction
queryRecall relevant memories before answering
search_entitiesFind people, projects, or concepts you've mentioned
get_entityPull everything you know about one entity
get_graphGet a map of your knowledge graph
get_profileGet a comprehensive profile for context injection
get_contextAssemble a smart system-prompt context block
set_instructionSave a persistent rule (e.g. "Always use Tailwind")
decideAsk SharedMemory to make a decision from stored knowledge
feedbackMark a memory as helpful or irrelevant
delete_memoryRemove a memory by ID
update_memoryEdit the content of an existing memory
list_volumesList the projects this connection can access
list_documentsList uploaded documents in a project
batch_rememberSave many memories at once

Each tool runs through the same memory pipeline as your direct API calls — classification, conflict resolution, graph extraction, decay tuning — so the AI app benefits from everything you've already configured.

Identity and attribution​

Every memory created through a connector is tagged with the originating app. Open the Activity feed and you'll see badges like ChatGPT, Claude, Cursor, or VS Code next to each event — not a generic "api". You can filter the feed by source to see exactly what each AI app has been doing.

Scopes​

Connectors request a subset of these scopes:

ScopeWhat it allows
memory:readQuery, search, get_entity, get_graph, get_profile, get_context, list_volumes
memory:writeremember, batch_remember, update_memory, set_instruction
memory:deletedelete_memory and batch delete
feedbacksubmit_feedback
documents:readlist_documents
offline_accessissue a refresh token so the connection survives reboots

The consent screen shows you exactly which scopes the app is asking for before you allow it.

Revoking a connection​

Open Dashboard → Connectors. Each connected app appears in the "Connected apps" list with its last-used timestamp. Click Revoke to invalidate every token issued to that app immediately — the next request it makes will get a 401 with a WWW-Authenticate header pointing it back to OAuth.

How it works​

When you paste https://api.sharedmemory.ai/mcp into an AI app, the app:

  1. Hits the URL with no auth, gets a 401 with a WWW-Authenticate: Bearer resource_metadata=... header
  2. Fetches https://api.sharedmemory.ai/.well-known/oauth-protected-resource to discover the auth server
  3. Fetches https://api.sharedmemory.ai/.well-known/oauth-authorization-server for OAuth metadata
  4. Calls POST /oauth/register with Dynamic Client Registration (RFC 7591) to mint a client_id
  5. Redirects your browser to GET /oauth/authorize?... with a PKCE code challenge
  6. SharedMemory shows the consent screen, you click Allow, your browser is bounced back to the AI app with ?code=...
  7. The AI app exchanges the code via POST /oauth/token with the PKCE verifier to receive an access token + refresh token
  8. From now on, every MCP call carries Authorization: Bearer sm_oauth_... and resolves to your user, your default project, and your granted scopes

This is the standard MCP Authorization flow — exactly the same as connecting any other remote MCP server to ChatGPT or Claude. No proprietary handshake.

See the per-app setup pages for screenshots: