Xaq CLI
MCP server by wynn-dev Verified · npm:xaq-cli
Xaq is a self-hosted MCP broker that holds credentials for services such as Notion and Gmail. It gives each AI agent one endpoint with only the tools it is allowed, and every call is audited. It is for people who want to run their own broker for agents.
Install Xaq CLI
Built from the published package, never by AI.
claude mcp add xaq-cli -- npx -y xaq-cliRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"xaq-cli": {
"args": [
"-y",
"xaq-cli"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"xaq-cli": {
"args": [
"-y",
"xaq-cli"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"xaq-cli": {
"args": [
"-y",
"xaq-cli"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add xaq-cli -- npx -y xaq-cli{
"mcpServers": {
"xaq-cli": {
"args": [
"-y",
"xaq-cli"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add xaq-cli npx -y xaq-cliGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the xaq-cli block.
About
Xaq is a self-hosted MCP broker for AI agents. It holds your credentials for services such as Notion, WHOOP, T3 Code, any MCP server, Gmail and Google Calendar. Each agent gets one MCP endpoint and sees only the tools it has been granted. Every call is audited.
Access can be set to read only or full access per mailbox and connection, and sends can be limited to the recipients you allow. Agents can receive new mail and calendar changes through wait_for_events, or be woken on a laptop with xaq listen. A web console covers settings, connections, extensions, agents, live events and the audit trail. It is for people who want one self-hosted place for agent credentials and access rules.
Written from the project's README and checked against it.
Tools it gives your assistant
wait_for_eventsLets agents receive new mail and calendar changes as events.Gmail toolsSearch, read, draft, send and organize mail.Google Calendar toolsRead calendars, find free time and schedule events.Document readingReturns PDFs and Office files as text and tables.Connection proxyRoutes agent calls to added MCP servers such as Notion or WHOOP.Per-agent accessGrants each agent read only or full access per mailbox and connection.
What you need
- Node.js 22.13 or newer
- Your own Google Cloud project for Gmail and Google Calendar
Try asking
- Search my Gmail for unread invoices from this month and summarize them.
- Find a free hour on my calendar next week and schedule a call.
- Notify me when new mail arrives so you can reply to it.
Good to know
- Gmail and Google Calendar need your own Google Cloud project.
- Sends are limited to the recipients you allow.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Xaq CLI
All alternatives →Oh My Posh Validator is listed as an MCP server, but the source is the README for oh-my-posh, a cross platform prompt theme engine. It does not describe an MCP server, tools, or schema validation.
Sim is a workspace for building, deploying and managing AI agents and workflows. Its MCP server lets Claude, Claude Code, Codex or another MCP client manage workspaces, workflows, tables, knowledge bases, files and logs.
Omnara deploys durable AI agents on any model and any machine. It is an open-source, self-hostable managed agent platform under Apache 2.0, with a REST API, TypeScript SDK, CLI, and MCP server.
Strata is an MCP server from Klavis AI for progressive tool usage, described as a way to optimize the AI agent's context window. The repository is deprecated, but it remains public for reference and for local or hosted use.
VoiceMode is an MCP server that adds voice conversations to Claude Code and other MCP capable agents. It uses speech-to-text and text-to-speech. It suits people whose hands or eyes are busy.
Gives an AI agent access to the skills, plugins, MCP connections, and Google Workspace and Microsoft 365 capabilities assigned to you by your OpenWork organization, through one OAuth MCP URL. Intended for people and teams who want to reuse the same setup across agents, tools, and machines.
Compare with Oh My Posh Validator, Sim or Omnara
Xaq CLI: common questions
How does xaq handle credentials for agents?
xaq holds your credentials in one server and gives each agent a single MCP endpoint. Agents only see the tools and access you have granted them.
How do agents get notified of new mail?
New mail and calendar changes reach agents through wait_for_events. You can also wake an agent on a laptop with xaq listen.
How are new agents approved?
You pair an agent from its own machine with npx xaq-cli connect <url>. You then approve it in the web console.
How do I install Xaq CLI?
In Claude Code run claude mcp add xaq-cli -- npx -y xaq-cli. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Xaq CLI the official server?
Xaq CLI is published by npm:xaq-cli from its verified domain in the official MCP Registry.
Is Xaq CLI free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Xaq CLI safe to use?
It scores 75 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Xaq CLI?
Similar MCP servers: Oh My Posh Validator, Sim, Omnara, strata.
Does Xaq CLI work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
