Skip to content

Connectors

A connector is a service you connect once for your account and then switch on for the agents that need it. Signing in to Notion once gives every agent you choose Notion's tools; signing out signs them all out. What each agent may do with a connector (which tools, whether changes wait for approval) stays on the agent.

Connectors are MCP servers underneath, so everything in MCP connectivity applies: tools named server__tool, approvals for changes, the audit log and encrypted credentials. Connectors replace the per-agent MCP connections page. To use MemoRizz memory from Claude, ChatGPT or Grok instead, see Connected apps.

Ready-made connectors

Service Signs in with Notes
Notion Sign-in only
Linear Sign-in only
Sentry Sign-in only
GitHub A personal access token GitHub's MCP server doesn't let apps register themselves.
Gmail, Google Calendar, Google Drive Your Google OAuth client One client serves all three. Google Developer Preview.
X (Twitter) Your X app X charges API credits for reads and posts.
LinkedIn Your LinkedIn app Built into MemoRizz; posts and your profile only.

Any other server from the MCP Registry, or one of your own, can be added as a custom connector.

In the UI

Open Connect → Connectors (memorizz ui).

  1. Under Add a connector, select Connect on a service. The form asks only for what that service needs: nothing, a token, or your app's client ID and secret (with the redirect URI to register, ready to copy). Tick the agents to switch it on for.
  2. Services that sign in open the provider's page and come back to Connectors, which lists the tools straight away.
  3. Select a connector to see its health, its tools and recent errors, and to switch it on or off for each agent. Sign out signs every agent out and keeps the connector; Remove takes it off every agent and deletes its sign-in.

Browse MCP servers searches the MCP Registry, and Add custom connector takes a URL or a local command. The playground's MCP Servers search adds connectors too, switched on for the agent you're talking to.

From the CLI

In a memorizz chat, /connect github connects GitHub for your account (it asks for the token once), switches it on for this agent and gives the agent the tools. On a second agent, /connect github only switches it on.

From a shell:

memorizz connectors presets                  # what's ready-made and what each needs
memorizz connectors add notion               # connect for the account, on for this terminal's agent
memorizz connectors login notion             # sign in once for every agent
memorizz connectors add github --token "$GITHUB_PAT"
memorizz connectors enable github --agent "Release bot"
memorizz connectors disable github --agent "Release bot"
memorizz connectors list                     # status, agents using each, what's next
memorizz connectors test notion
memorizz connectors logout notion            # signs every agent out
memorizz connectors remove notion            # off every agent, sign-in deleted
memorizz connectors adopt                    # move agents' own connections here

memorizz mcp add NAME --preset KEY still works and now creates (or reuses) the connector.

In code

Name the connectors when you build the agent; they must be connected first, in the UI or with memorizz connectors add:

from memorizz import MemAgent

agent = MemAgent(
    memory_provider=provider,
    connectors=["notion", {"connector": "github", "blocked_tools": ["delete_file"]}],
)
agent.with_connectors("linear")          # switch another on at runtime

builder.with_connectors("notion", "github")   # MemAgentBuilder

A dict carries the agent's own policy: allowed_tools, blocked_tools, read_only_tools, mutation_tools and require_approval. A name the account doesn't have raises MCPConfigurationError saying how to connect it.

In an agent's mcp_servers a connector is an entry with connector: {"name": "notion", "connector": "notion"}. The agent's server name sets its tool names (notion__notion-search), so two agents can call one connector by different names.

Where things are kept

  • ~/.memorizz/connectors.json lists the connectors, with no secrets.
  • Sign-ins, tokens, OAuth client secrets and header or environment values are in the encrypted credential store under connector:<name>, as an MCP server's are.
  • Tool listings are shared in ~/.memorizz/mcp_tools/_connectors.json, so an agent switched on later has the tools on its first turn.

Connections made before connectors

Opening Connectors (or memorizz connectors adopt) moves the connections agents set up on their own into connectors:

  • The first sign-in to a service becomes the account's connector for it.
  • An agent signed in separately to the same service (maybe another account) gets a connector of its own, such as notion-2 titled Notion (Beta). Connectors shows Merge into Notion on it; merging moves those agents to the first sign-in.
  • An agent that was never signed in uses the account's sign-in.
  • Agents keep their server names, so their tools keep their names.

Setting up the services that need your own app

GitHub

Create a fine-grained token at github.com/settings/personal-access-tokens with only the repositories and permissions the agents may use, and paste it when connecting. The connector uses GitHub's hosted server, https://api.githubcopilot.com/mcp/.

Google (Gmail, Calendar, Drive)

Enable each API and its MCP server in one Google Cloud project, create a Web OAuth client and register the redirect URI the form shows (normally http://127.0.0.1:8765/api/mcp/oauth/callback). One client serves all three; add its ID and secret to each. Gmail asks only for read and compose, so the agent can draft but not send. See the MCP connectivity page for the details of each.

X

  1. In the X Developer Console, create an app on Pay-per-use and Production. Otherwise X refuses the sign-in with client-not-enrolled.
  2. Turn on OAuth 2.0 user authentication as a Native App, which needs no secret, and add the redirect URI as a callback.
  3. Connect X with the app's client ID. A confidential (Web) app also needs its secret, which MemoRizz sends the way X requires (HTTP Basic).

The connector uses X's hosted server, https://api.x.com/mcp, and asks for tweet.read tweet.write users.read offline.access. X charges API credits for every read and post, so watch your usage in the console. Posting waits for your approval like any change.

LinkedIn

LinkedIn has no MCP server, so this connector is built into MemoRizz and calls LinkedIn's API itself. A self-serve LinkedIn app can only read your own profile and publish posts as you; the feed, messages, connections and other people's posts need LinkedIn's partner approval, so there are no tools for them. (Servers that read them by driving a browser with your cookies break LinkedIn's terms; MemoRizz doesn't use them.)

  1. Create an app at linkedin.com/developers/apps. LinkedIn asks for a LinkedIn Page to attach it to.
  2. On Products, add Sign In with LinkedIn using OpenID Connect and Share on LinkedIn.
  3. On Auth, add the redirect URI, then copy the client ID and secret into the connect form.

Tools:

Tool What it does Approval
get_profile Your name, email, photo and member URN No
create_post Publish a text post, PUBLIC or CONNECTIONS, up to 3,000 characters Yes
delete_post Delete one of your posts by its URN Yes

LinkedIn sign-ins last 60 days and come with no refresh token, so you sign in again every two months; until then the connector shows Needs sign-in. The connector sends LinkedIn API version 202611. When LinkedIn retires it, set MEMORIZZ_LINKEDIN_API_VERSION to a current month (YYYYMM).

LinkedIn's docs don't say whether it accepts an http://127.0.0.1 redirect URI. If it refuses yours, serve the UI behind an HTTPS address and register that address's /api/mcp/oauth/callback instead.