Hexclave MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Hexclave MCP or direct API to manage users, administer teams, check permissions, query project data, and review analytics through natural language.

Hexclave logoHexclave
Api Key

Hexclave is an authentication and backend platform for users, sessions, teams, permissions, and app data. It gives teams one secure place to manage application access and backend services.

42 Tools

Try Hexclave now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Hexclave
Try asking
TOOLS

Supported Tools

Every Hexclave action and event your agent gets out of the box.

Accept Team Invitation

IRREVERSIBLY MUTATES TEAM STATE: Use this action only when you have the 45-character invitation code, not an invitation ID.

Accept Team Invitation by ID

IRREVERSIBLY MUTATES TEAM STATE: Use this action only when you have an invitation ID and the accepting user ID, not an invitation code.

Add Team Member

MUTATES TEAM STATE: Create a membership that adds a specified user to a specified Hexclave team.

Check Contact Channel Verification Code

Check whether a Hexclave email verification code is valid without consuming it.

Check Team Invitation Code

Check whether a Hexclave team invitation code is valid without using it.

Create Contact Channel

MUTATES USER STATE: Create a persistent email contact channel for a Hexclave user using only its owner, value, and type.

Create Team

MUTATES PROJECT STATE: Create one persistent Hexclave team and return the created team.

Create User

MUTATES PROJECT STATE: Create one persistent Hexclave user and return the resulting user profile.

Get Contact Channel

Retrieve one Hexclave contact channel by user ID and contact-channel ID.

Get Current Project

Return the authenticated Hexclave project's identity, environment, authentication and API-key configuration, and capability warnings.

Get Data Vault Value

Retrieve an encrypted value from a Hexclave Data Vault store using its hashed lookup key.

Get Email Delivery Info

Return the Hexclave project's email delivery totals for the hour, day, week, and month, together with its current sending capacity and boost state.

Get Email Outbox Entry

Get one Hexclave email outbox entry by its ID.

Get Session Replay

Return metadata for one Hexclave session replay by its replay ID.

Get Session Replay Chunk Events

Return the raw rrweb events for one chunk of a Hexclave session replay.

Get Session Replay Events

Return Hexclave session replay chunks with their raw rrweb events.

Get Team

Return one Hexclave team by its team ID.

Get Team Invitation Details

Return the team ID and display name associated with a Hexclave invitation code without consuming the invitation.

Get Team Member Profile

Return one Hexclave team member profile by team ID and user ID.

Get User

Return one Hexclave user by a concrete user ID.

Grant Project Permission

MUTATES AUTHORIZATION: Grant an existing project-level permission to one user.

Grant Team Permission

MUTATES AUTHORIZATION: Grant an existing team-level permission to one user within one team.

List Connected Accounts

Return OAuth accounts connected to a specific Hexclave user.

List Contact Channels

Return Hexclave contact channels, optionally filtered by user or channel ID.

List Email Outbox

Return one page of Hexclave email outbox entries, optionally filtered by provider status, simplified status, or recipient user.

List Notification Preferences

Return Hexclave notification categories for a user and show whether each is enabled and can be disabled.

List Project Permissions

List project-level permissions, optionally filtered by user, permission ID, and whether indirect permissions are included.

List Session Replay Chunks

List a Hexclave session replay's recorded chunks in chronological order, without downloading their event payloads.

List Session Replays

List Hexclave session replays, most recently active first.

List Team Invitations

Return one page of Hexclave team invitations for exactly one team or one user, including recipient and expiration details.

List Team Member Profiles

Return one page of Hexclave team member profiles, optionally filtered by team ID and user ID.

List Team Permissions

List team-level permissions, optionally filtered by team, user, permission ID, and whether indirect permissions are included.

List Teams

Return Hexclave project teams.

List Users

Return one page of Hexclave project users.

Run Analytics Query

Run one read-only ClickHouse SQL query against the current Hexclave project's analytics dataset and return its rows and query ID.

Set Data Vault Value

MUTATES DATA VAULT STATE: Store a hashed lookup key and encrypted value in a Hexclave Data Vault store.

Update Email Outbox Entry

IRREVERSIBLY MUTATES EMAIL OUTBOX STATE: Edit an editable entry's content, recipients, variables, theme, schedule, pause state, or deliverability behavior.

Update Notification Preference

MUTATES NOTIFICATION STATE: Enable or disable one Hexclave notification category for a user.

Update Team

MUTATES TEAM STATE: Update the display name, profile image, or client/server metadata of an existing Hexclave team.

Update Team Member Profile

MUTATES TEAM STATE: Update a member's team-specific display name or profile image.

Update User

MUTATES USER STATE: Update selected identity, profile, metadata, team, email-authentication, or administrator-restriction fields for an existing Hexclave user.

Verify Contact Channel

IRREVERSIBLY MUTATES USER STATE: Consume a one-time Hexclave email verification code and mark its contact channel verified.

SETUP GUIDE

Connect Hexclave MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["hexclave"],
  mcp: true,
});
Create a session scoped to Hexclave and read its MCP URL and headers
3

Connect your agent to the MCP server

typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "List all users in my Hexclave project",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
Pass the session's MCP URL and headers to your agent and run a Hexclave request
SETUP GUIDE

Connect Hexclave API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["hexclave"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to Hexclave
3

Run Hexclave tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "List all users in my Hexclave project" }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
Send a request, execute the Hexclave tool calls through the session, and print the final answer

Why Use Composio?

AI Native Hexclave Integration

  • Supports both Hexclave MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for managing users, teams, permissions, project data, and analytics

Managed Auth

  • Securely stores and uses your Hexclave API key for tool calls
  • Central place to manage, scope, and revoke Hexclave access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Hexclave
  • Scoped, least privilege access to Hexclave resources
  • Full audit trail of agent actions to support review and compliance
FRAMEWORKS

Use Hexclave with any AI Agent Framework

Choose a Framework you want to connect Hexclave with

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Start with Hexclave.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Hexclave tool your agent needs.Free to start.

Start building