# AccountHub MCP MCP Server

> **AccountHub MCP MCP Server** is a hosted, multitenant Model Context Protocol (MCP) server run by **MewCP** (https://mewcp.com), giving AI agents managed access to AccountHub MCP.
>
> MewCP takes care of all MCP infrastructure for you — credential storage, OAuth flows,
> token refresh, and production-grade auto-scaling — so your AI agents can connect to
> third-party services and run freely without you managing any MCP server yourself.
>
> Server page:  https://mewcp.com/mcp/accounthub-mcp
> MewCP docs:   https://docs.mewcp.com
> Full catalog: https://mewcp.com/llms.txt

---

## About

AccountHub unifies Gmail, Google Calendar, Google Drive, Google Contacts, Slack, and Notion in one MCP connection. Search emails and messages across accounts, manage calendar events, send emails, post to Slack, retrieve documents, and share persistent memory across AI assistants.

---

## Details

- Server ID: `accounthub-mcp`
- Version: 1.0.0
- Tools: 78
- Authentication: OAuth, managed by MewCP
- Transport: http

---

## Access

The gateway URL below serves your **entire MewCP toolset**, not this server on its
own. Pasting a config snippet is not enough — AccountHub MCP has to be in the toolset
first. In order:

1. Add AccountHub MCP to your toolset at https://mewcp.com/mcp/accounthub-mcp
2. Connect your AccountHub MCP account (OAuth); MewCP stores the credential and attaches it to each call
3. Copy your MewCP API key from the dashboard (Developer)
4. Configure your client with the snippet for it below

Once connected, an agent does **not** see this server's tools as top-level tools.
It sees four meta-tools and reaches everything through them:

- `search(query)` — find tools by keyword across the toolset
- `get_schema(tools)` — full description and arguments for the tools you picked
- `list_accounts(provider)` — only when one app has several connected accounts
- `call_tool(server_maskedId, tool_name, args)` — execute

So the list below is what `search` can return for this server, not a set of
callable tool names on their own.

---

## Tools (78)

Descriptions are truncated to 160 characters; call `get_schema`
for the full text and the argument schema. Where a tool is annotated, its type
is shown — treat `destructive` as irreversible.

- `list_accounts` _(read)_ — Inventory of the user's connected accounts and workspaces: Google (Gmail) accounts, Slack workspaces, and Facebook Messenger. Call this to find out WHICH…
- `search_messages` _(read)_ — Smart search of the user's connected message sources (Gmail, Slack, and Facebook Messenger today; more later). Give a natural-language intent; we compile the…
- `search_messages_raw` _(read)_ — Run an exact Gmail, Slack or Messenger query, in that connector's own syntax, across ALL of the user's accounts for that connector (or a subset via `accounts`)…
- `send_message` _(destructive)_ — Send an email (Gmail) or a Slack message from one of the user's connected accounts. Gmail: to reply into a thread pass reply_to_external_id (external_id from a…
- `list_calendar_events` _(read)_ — List/search the user's Google Calendar events across ALL calendar-capable connected accounts, merged and sorted by start time. Default window: today + 7 days.…
- `create_calendar_event` _(write)_ — Create a Google Calendar event — standalone, or FROM a task by passing task_id (title/notes are used as defaults and the task↔event link is recorded; a task…
- `get_event` _(read)_ — Fetch one Google Calendar event by id (from list_calendar_events or search results, its `event_id` + `account` fields). Pass `account` when more than one…
- `update_event` _(destructive)_ — Patch a Google Calendar event: only the fields you pass are changed, everything else is left as-is. Same start/end format rules as create_calendar_event (timed…
- `delete_event` _(destructive)_ — Delete a Google Calendar event permanently. This actually removes it from the user's calendar — confirm with the user before calling. Pass `account` when more…
- `respond_to_event` _(destructive)_ — RSVP to a Google Calendar event on behalf of the connected account (accepted / declined / tentative) and notify the organizer. Pass `account` when more than…
- `list_calendars` _(read)_ — List the user's Google Calendars (not events) across calendar-capable connected accounts — id, name, primary flag, access role, timezone. Use this to discover…
- `list_event_attendees` _(read)_ — List one Google Calendar event's attendees — email, display name, RSVP status (accepted/declined/tentative/needsAction), whether they're the organizer, and…
- `get_free_busy` _(read)_ — Query busy periods across the user's Google Calendar accounts in a time window (Calendar's freebusy.query — the same primitive the official connector's…
- `search_drive_files` _(read)_ — Search the user's Google Drive (read-only, metadata only) across all connected Google accounts and return reference links — file name, type, modified time, and…
- `get_file_metadata` _(read)_ — Fetch one Drive file's metadata by id (from search_drive_files, its `id` field): name, mimeType, modified/created time, webViewLink, owners, size, description,…
- `get_file_permissions` _(read)_ — List one Drive file's sharing permissions (who it's shared with and their role). Same scope as search. Pass `account` when more than one Drive-capable account…
- `read_file_content` _(read)_ — Read one Drive file's TEXT content by id. Google-native docs (Docs/Sheets/Slides) are exported as text (default text/plain, spreadsheets text/csv — override…
- `download_file_content` _(read)_ — Download one Drive file's raw bytes as base64 (binary-safe — images, PDFs, etc.). NOT for Google-native Docs/Sheets/Slides (no raw binary exists — use…
- `search_contacts` _(read)_ — Search the user's Google Contacts (saved contacts + Google's auto-collected "other contacts") across all connected Google accounts, by name (or partial…
- `list_contacts` _(read)_ — Browse ALL of the user's SAVED Google Contacts for one account, one page at a time — unlike search_contacts, no query is needed, so this is how to see the…
- `list_other_contacts` _(read)_ — Browse ALL of Google's auto-collected "other contacts" for one account (people the user has emailed/interacted with but never explicitly saved) — the…
- `list_contact_groups` _(read)_ — List all of the user's Google Contacts groups/labels for one account (what the Google Contacts UI calls "labels" — e.g. Family, Colleagues, plus the system…
- `get_contact_groups` _(read)_ — Fetch one or more specific Google Contacts groups/labels by resource name (from list_contact_groups, e.g. "contactGroups/myContacts" or…
- `search_notion_pages` _(read)_ — Search every connected Notion workspace for pages/databases the integration can see (reach = whatever was explicitly shared with it inside Notion — there is no…
- `read_notion_page` _(read)_ — Read one Notion page's content as plain text (paragraphs, headings, lists, to-dos, quotes, …), walking its block tree up to a depth/size cap — large pages are…
- `get_thread` _(read)_ — Fetch one Gmail thread with the FULL body of every message (a search result only has one message's snippet/body — the newest matching one). Pass thread_id (a…
- `download_attachment` _(read)_ — Download one Gmail attachment's raw bytes as base64 (binary-safe — images, PDFs, etc.). Pass message_id and attachment_id from get_thread's…
- `list_labels` _(read)_ — List every Gmail label (system + user-created) across ALL connected Gmail accounts (or a subset via `accounts`). Needs only gmail.readonly (no reconnect). Use…
- `create_label` _(write)_ — Create a new Gmail label. Needs gmail.modify — accounts connected before this feature get a reconnect hint. Pass `account` when more than one Gmail account is…
- `delete_label` _(destructive)_ — Delete a Gmail label DEFINITION by name. The messages that carried it are NOT deleted — they only lose the label; the count of affected messages is returned.…
- `update_label` _(destructive)_ — Rename a Gmail label and/or change its display settings (sidebar/message-list visibility). The current name is matched case-insensitively but EXACTLY (never…
- `modify_message_labels` _(destructive)_ — Add and/or remove labels on one Gmail message in a single call (e.g. add STARRED, remove UNREAD). Pass label ids from list_labels (system labels like…
- `modify_thread_labels` _(destructive)_ — Add and/or remove labels on EVERY message of a Gmail thread in a single call. Same label id rules as modify_message_labels. Pass `account` when more than one…
- `create_draft` _(write)_ — Create a Gmail DRAFT (saved, not sent) — new mail, or a reply when thread_id is set (from a search result / get_thread). A thread reply is drafted in the…
- `get_draft` _(read)_ — Fetch one Gmail draft's full editable content (to/subject/cc/body/thread_id) — pass draft_id (from list_drafts). Needs gmail.compose — accounts connected…
- `update_draft` _(destructive)_ — Replace an existing Gmail draft's content — same required fields as create_draft (Gmail replaces the whole draft message; there is no partial edit). Still just…
- `send_draft` _(destructive)_ — Send an existing Gmail draft AS-IS, unedited — pass draft_id (from list_drafts or get_draft). This actually delivers mail: confirm with the user first, or edit…
- `list_drafts` _(read)_ — List draft ids across draft-capable Gmail accounts (or a subset via `accounts`) — id, message id, thread id (no body; call get_draft or get_thread with the…
- `organize_messages` _(destructive)_ — Organize Gmail threads in bulk: archive (remove from Inbox), trash (move to Trash — RECOVERABLE, this is not a permanent delete), mark_read, mark_unread, star,…
- `trash_message` _(destructive)_ — Move ONE Gmail MESSAGE to Trash (as opposed to organize_messages' `trash` action, which moves a whole thread). RECOVERABLE — not a permanent delete; use…
- `untrash_message` _(write)_ — Restore ONE Gmail message from Trash back to its prior labels. Pass `account` when more than one Gmail account is connected. Needs gmail.modify — accounts…
- `forward_message` _(destructive)_ — Forward a Gmail thread to someone else. Quotes the message(s) under a standard `---------- Forwarded message ----------` header and sends from the account the…
- `search_channels` _(read)_ — List/search the channels the bot can see (public + private it's a member of) across ALL connected Slack workspaces (or a subset via `accounts`). `query`…
- `list_channel_members` _(read)_ — List one Slack channel's member user ids. Needs channels:read/groups:read (granted since the first Slack connect — no reconnect). Pass `account` when more than…
- `schedule_message` _(destructive)_ — Schedule a Slack message to post later (chat.scheduleMessage). `to` is a channel ('#name' or id), user id, or 'me' (DM to self); `post_at` is a Unix timestamp…
- `read_channel` _(read)_ — Read one Slack channel's recent message history (conversations.history) — `channel` accepts a channel/group id (C…/G…), a DM conversation id (D…), or '#name'.…
- `read_thread` _(read)_ — Read one Slack thread's replies (conversations.replies), oldest first (the first item is the parent message). `thread_ts` is the parent message's ts (from…
- `add_reaction` _(write)_ — React to a Slack message with an emoji. Posts the reaction AS THE CONNECTING PERSON when the workspace has the user-token reactions:write (a bot-added emoji…
- `get_reactions` _(read)_ — List the emoji reactions on one Slack message — each name, its count, and the Slack user ids who reacted. Needs reactions:read (reconnect hint on a workspace…
- `create_conversation` _(write)_ — Create a Slack channel, or open a DM / group DM. Pass `channel_name` for a CHANNEL (add is_private for a private one; user_ids then invites those people) — the…
- `read_slack_file` _(read)_ — Read a file posted in Slack by its file id (e.g. 'F0ABC12345'). Text files and JSON come back as `text`; everything else as base64 in `base64` with its…
- `update_slack_message` _(destructive)_ — Rewrite a Slack message's text (chat.update). Only whoever posted it (bot or the connecting person, whichever identity a new send would use today) can edit it…
- `delete_slack_message` _(destructive)_ — Permanently delete a Slack message (chat.delete). Only whoever posted it can delete it. This is irreversible — confirm with the user before calling.
- `list_scheduled_messages` _(read)_ — List a Slack workspace's pending scheduled messages (chat.scheduledMessages.list) — filter by `channel`, or omit it for every channel. Use the returned `id`…
- `cancel_scheduled_message` _(destructive)_ — Cancel a pending scheduled Slack message before it posts (chat.deleteScheduledMessage). Get `scheduled_message_id` from list_scheduled_messages. Irreversible…
- `send_ephemeral_message` _(destructive)_ — Post a Slack message visible ONLY to one specific user in a channel (chat.postEphemeral) — nobody else sees it, and it disappears when they navigate away. This…
- `manage_slack_channel` _(destructive)_ — Run one channel-management operation: archive, unarchive, rename, set_topic, set_purpose, or kick (remove a member). Needs `name` for rename, `topic` for…
- `remove_reaction` _(destructive)_ — Remove an emoji reaction from a Slack message (reactions.remove) — the reverse of add_reaction. Removes AS THE CONNECTING PERSON when the workspace has the…
- `list_my_reactions` _(read)_ — List the Slack messages/files YOU have reacted to (reactions.list) — each item names what it is (message/file/file_comment), where, and its full reaction set.…
- `list_slack_files` _(read)_ — List files shared in this Slack workspace (files.list) — filter by channel, uploading user, type, or a creation-time window. Use the returned file ids with…
- `manage_slack_files` _(destructive)_ — Delete files (files.delete) or issue a public share link for them (files.sharedPublicURL) — up to 20 at once. Only the original uploader can do either; a…
- `get_slack_message_with_files` _(read)_ — Read ONE Slack message (its text) and get a download link for EVERY file attached to it — no file ids needed. Each attachment comes back with name, mime type,…
- `revoke_slack_file_links` _(destructive)_ — Stop download links from get_slack_message_with_files before they expire: pass exactly one of `download_url` (one link), `message` (every link of that message)…
- `list_message_alerts` _(read)_ — List the user's message-alert rules (name, targets per connector, enabled).
- `create_message_alert` _(write)_ — Create a 定期依頼 (scheduled request): a cron periodically checks it and reports into a dedicated chat thread. Two modes: (1) watch-only — omit…
- `update_message_alert` _(destructive)_ — Update a 定期依頼 (name, Gmail query, watched accounts, AI instruction, run_hour, enabled). Get the id from list_message_alerts. instruction and run_hour must be…
- `delete_message_alert` _(destructive)_ — Delete a message-alert rule permanently. Confirm with the user before calling.
- `add_memory` _(write)_ — Record what was done / learned / DECIDED so the user's OTHER AI assistants (terminal Claude Code, claude.ai, ChatGPT) can see it — a shared cross-assistant…
- `get_memory_digest` _(read)_ — Read the user's cross-assistant journal (what every AI surface — terminal Claude Code, claude.ai, ChatGPT — did, learned and decided). Returns the CURRENT…
- `search_memory` _(read)_ — Search the cross-assistant journal by keyword (case-insensitive substring over entry content) across ALL dates. Use it when the user asks about a specific past…
- `list_shared_projects` _(read)_ — List the AccountHub shared projects (shared project) you belong to, with each project's members (name, email, role, status) and `you` (your user id, to tell…
- `list_shared_items` _(read)_ — List the items in your AccountHub shared projects (shared project) — to-dos, decisions, open questions and notes that every active member can see, whoever…
- `place_shared_item` _(write)_ — Put a to-do, decision, open question or note into an AccountHub shared project (shared project) so every member and their AI can see it — NOT a Slack…
- `update_shared_item` _(destructive)_ — Edit the title, body or due date of an item you placed in an AccountHub shared project (shared project) — NOT a Slack workspace. Only the person who placed an…
- `complete_shared_item` _(destructive)_ — Mark an item in an AccountHub shared project (shared project) done, or reopen it with reopen: true — NOT a Slack workspace. You may do this on items you…
- `reassign_shared_item` _(destructive)_ — Change who is responsible for an item in an AccountHub shared project (shared project) — NOT a Slack workspace. The person who placed it can give it to any…
- `invite_to_shared_project` _(write)_ — Invite a person (by email) into an AccountHub shared project (shared project), creating a new two-person project when project_id is omitted — NOT a Slack…
- `leave_shared_project` _(destructive)_ — Leave an AccountHub shared project (shared project) — NOT a Slack workspace. You lose access at once; items you were assigned that are still open become…

---

## Connect

Gateway URL: https://gateway.mewcp.com/personal/mcp

Every request carries one header:

    Authorization: Bearer <API_KEY>

Replace `API_KEY` with your own key from the dashboard (Developer).

## Apps

### Claude Desktop

Mac & Windows app

- macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
- Windows: `%APPDATA%\Claude\claude_desktop_config.json`

```json
{
  "mcpServers": {
    "mewcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote@latest",
        "https://gateway.mewcp.com/personal/mcp",
        "--header",
        "Authorization: Bearer API_KEY"
      ]
    }
  }
}
```

Already have an "mcpServers" section in your config? Just add the server entry inside it.

1. Open Claude Desktop → Settings → Developer → "Edit Config"
2. Paste the snippet inside the outer { } of the config file (merge with your existing "mcpServers" section if you have one)
3. Save the file and restart Claude Desktop
4. Start a new conversation — your tool will be available

### VS Code

Copilot / Cline

- Command Palette → "MCP: Open User Configuration" (opens mcp.json). For one project only, use .vscode/mcp.json instead.

```json
{
  "mcp.servers": {
    "mewcp": {
      "type": "http",
      "url": "https://gateway.mewcp.com/personal/mcp",
      "headers": {
        "Authorization": "Bearer API_KEY"
      }
    }
  }
}
```

Already have a "servers" section in your mcp.json? Just add the server entry inside it.

1. Open VS Code → Command Palette (Cmd+Shift+P / Ctrl+Shift+P)
2. Run "MCP: Open User Configuration" to open your mcp.json
3. Paste the snippet and save
4. Start the server when prompted (or from the MCP servers view) and use it in Copilot Chat

### Cursor

AI-first editor

- macOS: `~/.cursor/mcp.json`
- Windows: `%USERPROFILE%\.cursor\mcp.json`

```json
{
  "mcpServers": {
    "mewcp": {
      "url": "https://gateway.mewcp.com/personal/mcp",
      "headers": {
        "Authorization": "Bearer API_KEY"
      }
    }
  }
}
```

Already have an "mcpServers" section in your mcp.json? Just add the server entry inside it.

1. Open Cursor → Settings → Cursor Settings → MCP
2. Click "Add new global MCP server"
3. Paste the snippet and save
4. Restart Cursor

### Codex

OpenAI's CLI agent

- Add the snippet to your Codex MCP config or your standard MCP config file for the CLI tool you use.

```json
{
  "mcpServers": {
    "mewcp": {
      "type": "http",
      "url": "https://gateway.mewcp.com/personal/mcp",
      "headers": {
        "Authorization": "Bearer API_KEY"
      }
    }
  }
}
```

Codex generally reads a standard MCP server block, so you can add this alongside your other configured servers.

1. Open your Codex MCP config or project-level config file
2. Paste the MewCP server block inside the config JSON/TOML structure your tool expects
3. Save the file and restart Codex
4. Verify the tool is available inside a fresh session

### Claude Code

Anthropic's CLI agent

- ~/.claude.json (user scope) or .mcp.json in your project root — create it if it doesn't exist. Or skip the file and use the CLI command below.

```json
{
  "mcpServers": {
    "mewcp": {
      "type": "http",
      "url": "https://gateway.mewcp.com/personal/mcp",
      "headers": {
        "Authorization": "Bearer API_KEY"
      }
    }
  }
}
```

Already have an "mcpServers" section in your config? Just add the server entry inside it.

1. Open ~/.claude.json (or .mcp.json in your project root) in a text editor
2. Paste the snippet inside the outer { } (merge with your existing "mcpServers" section if you have one)
3. Save the file and start (or restart) Claude Code
4. Or skip the file entirely and run the CLI command below instead

### OpenCode

Open-source terminal agent

- ~/.config/opencode/opencode.json (global) or opencode.json in your project root — create it if it doesn't exist.

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "mewcp": {
      "type": "remote",
      "url": "https://gateway.mewcp.com/personal/mcp",
      "enabled": true,
      "headers": {
        "Authorization": "Bearer API_KEY"
      }
    }
  }
}
```

Already have an "mcp" section in your opencode.json? Just add the server entry inside it.

1. Open ~/.config/opencode/opencode.json (or opencode.json in your project root) in a text editor
2. Paste the snippet inside the outer { } (merge with your existing "mcp" section if you have one)
3. Save the file and start (or restart) OpenCode

### OpenClaw

Self-hosted agent gateway

- ~/.openclaw/openclaw.json — create it if it doesn't exist.

```json
{
  "mcp": {
    "servers": {
      "mewcp": {
        "transport": "streamable-http",
        "url": "https://gateway.mewcp.com/personal/mcp",
        "enabled": true,
        "headers": {
          "Authorization": "Bearer API_KEY"
        }
      }
    }
  }
}
```

Already have an "mcp" section in your openclaw.json? Just add the server entry inside "servers".

1. Open ~/.openclaw/openclaw.json in a text editor
2. Paste the snippet inside the outer { } (merge with your existing "mcp" section if you have one)
3. Save the file and restart OpenClaw

### Antigravity

Google's agentic IDE

- ~/.gemini/config/mcp_config.json (global) or .agents/mcp_config.json (workspace-local) — create it if it doesn't exist.

```json
{
  "mcpServers": {
    "mewcp": {
      "serverUrl": "https://gateway.mewcp.com/personal/mcp",
      "headers": {
        "Authorization": "Bearer API_KEY"
      }
    }
  }
}
```

Already have an "mcpServers" section in your config? Just add the server entry inside it. Remote servers must use the "serverUrl" field — the legacy "url"/"httpUrl" fields aren't supported.

1. In the editor's agent side panel, click "…" → "MCP Servers" → "Manage MCP Servers" → "View raw config" (Antigravity CLI: type /mcp instead to open the Interactive MCP Manager)
2. Paste the snippet inside the outer { } (merge with your existing "mcpServers" section if you have one)
3. Save the file — the server connects automatically

### Hermes

Nous Research's CLI agent

- config.yaml in your Hermes config directory (~/.hermes) — add this under a top-level "mcp_servers:" key.

```yaml
mcp_servers:
  mewcp:
    url: "https://gateway.mewcp.com/personal/mcp"
    headers:
      Authorization: "Bearer API_KEY"
```

Already have an "mcp_servers" section in your config.yaml? Just add the server entry inside it.

1. Open config.yaml in your Hermes config directory
2. Paste the snippet under the top-level "mcp_servers:" key (merge with existing entries if you have any)
3. Save the file, then run /reload-mcp in Hermes (or start a fresh session)
4. Ask Hermes "Tell me which MCP-backed tools are available right now" to confirm it connected

### DeepSeek Harness

DeepSeek's agent harness

- cordis.yml in your DSH project — or the patch file you mount plugins from.

```yaml
- id: mcp-mewcp
  name: '@deepseek-ai/dsh-mcp-client'
  config:
    serverName: mewcp
    transport: streamable-http
    url: https://gateway.mewcp.com/personal/mcp
    headers:
      Authorization: "Bearer API_KEY"
```

One plugin instance = one MCP server. Add this entry to your plugin list; don't nest it inside another entry.

1. Open cordis.yml (or your patch file) in your DSH project
2. Paste the entry into your plugin list, keeping the leading dash and indentation
3. Restart DSH (or let HMR reload) — tools register as mcp__mewcp__<tool_name>
4. Verify with: dsh web --dump-config | grep -A3 mcp

## SDKs

### Python

fastmcp client

```python
import asyncio
from fastmcp import Client
from fastmcp.client.transports import StreamableHttpTransport

SERVER_URL = "https://gateway.mewcp.com/personal/mcp"
API_KEY = "API_KEY"

transport = StreamableHttpTransport(
    url=SERVER_URL,
    headers={
        "Authorization": f"Bearer {API_KEY}",
    }
)

async def main():
    client = Client(transport)
    async with client:
        tools = await client.list_tools()
        print(tools)

asyncio.run(main())
```

1. Install fastmcp: pip install fastmcp
2. Copy the snippet into your project
3. Replace API_KEY with your key from the dashboard
4. Run your script

### TypeScript

MCP SDK

```typescript
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";

const SERVER_URL = "https://gateway.mewcp.com/personal/mcp";
const API_KEY = "API_KEY";

const transport = new StreamableHTTPClientTransport(new URL(SERVER_URL), {
  requestInit: {
    headers: {
      Authorization: `Bearer ${API_KEY}`,
    },
  },
});

const client = new Client({ name: "mewcp-client", version: "1.0.0" });
await client.connect(transport);

const tools = await client.listTools();
console.log(tools.tools.map((t) => t.name));
```

1. Install: npm install @modelcontextprotocol/sdk
2. Copy the snippet into your project
3. Replace API_KEY with your key from the dashboard
4. Run with Node 18+ as an ES module (e.g. npx tsx script.ts)