# Hexclave

```json
{
  "name": "Hexclave",
  "slug": "hexclave",
  "url": "https://composio.dev/toolkits/hexclave",
  "markdown_url": "https://composio.dev/toolkits/hexclave.md",
  "logo_url": "https://logos.composio.dev/api/hexclave",
  "categories": [
    "developer tools & devops"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-11-25T05:35:08.326Z"
}
```

![Hexclave logo](https://logos.composio.dev/api/hexclave)

## Description

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.

## Summary

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.

## Categories

- developer tools & devops

## Toolkit Details

- Tools: 42

## Images

- Logo: https://logos.composio.dev/api/hexclave

## Authentication

- **Api Key**
  - Type: `api_key`
  - Description: Api Key authentication for Hexclave.
  - Setup:
    - Configure Api Key credentials for Hexclave.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

- List all users in my Hexclave project
- Review team permissions in my Hexclave project
- Summarize Hexclave project analytics for this month

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `HEXCLAVE_ACCEPT_TEAM_INVITATION` | Accept Team Invitation | IRREVERSIBLY MUTATES TEAM STATE: Use this action only when you have the 45-character invitation code, not an invitation ID. A successful call consumes the one-time code, permanently marks the invitation as used, and adds its user to the invited team; this cannot be undone by this action. |
| `HEXCLAVE_ACCEPT_TEAM_INVITATION_BY_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. It permanently marks the invitation as used and adds the user to the team; the user's verified email must match the invitation recipient. |
| `HEXCLAVE_ADD_TEAM_MEMBER` | Add Team Member | MUTATES TEAM STATE: Create a membership that adds a specified user to a specified Hexclave team. The membership persists until separately removed. |
| `HEXCLAVE_CHECK_CONTACT_CHANNEL_VERIFICATION_CODE` | Check Contact Channel Verification Code | Check whether a Hexclave email verification code is valid without consuming it. |
| `HEXCLAVE_CHECK_TEAM_INVITATION_CODE` | Check Team Invitation Code | Check whether a Hexclave team invitation code is valid without using it. |
| `HEXCLAVE_CREATE_CONTACT_CHANNEL` | Create Contact Channel | MUTATES USER STATE: Create a persistent email contact channel for a Hexclave user using only its owner, value, and type. Verification, authentication, and primary-channel state are not configurable through this action. The channel remains attached until separately deleted. |
| `HEXCLAVE_CREATE_TEAM` | Create Team | MUTATES PROJECT STATE: Create one persistent Hexclave team and return the created team. The display name is not unique, so use a distinct name when the caller needs to identify this team later. The team remains in the project until separately deleted. |
| `HEXCLAVE_CREATE_USER` | Create User | MUTATES PROJECT STATE: Create one persistent Hexclave user and return the resulting user profile. The display name is not unique, and this action does not expose password, password-hash, or TOTP-secret seeding. The user remains in the project until separately deleted. |
| `HEXCLAVE_GET_CONTACT_CHANNEL` | Get Contact Channel | Retrieve one Hexclave contact channel by user ID and contact-channel ID. |
| `HEXCLAVE_GET_CURRENT_PROJECT` | Get Current Project | Return the authenticated Hexclave project's identity, environment, authentication and API-key configuration, and capability warnings. |
| `HEXCLAVE_GET_DATA_VAULT_VALUE` | Get Data Vault Value | Retrieve an encrypted value from a Hexclave Data Vault store using its hashed lookup key. This is a read operation even though the API uses POST. |
| `HEXCLAVE_GET_EMAIL_DELIVERY_INFO` | 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. |
| `HEXCLAVE_GET_EMAIL_OUTBOX_ENTRY` | Get Email Outbox Entry | Get one Hexclave email outbox entry by its ID. |
| `HEXCLAVE_GET_SESSION_REPLAY` | Get Session Replay | Return metadata for one Hexclave session replay by its replay ID. |
| `HEXCLAVE_GET_SESSION_REPLAY_CHUNK_EVENTS` | Get Session Replay Chunk Events | Return the raw rrweb events for one chunk of a Hexclave session replay. |
| `HEXCLAVE_GET_SESSION_REPLAY_EVENTS` | Get Session Replay Events | Return Hexclave session replay chunks with their raw rrweb events. Use offset and limit to page through a long recording. |
| `HEXCLAVE_GET_TEAM` | Get Team | Return one Hexclave team by its team ID. |
| `HEXCLAVE_GET_TEAM_INVITATION_DETAILS` | Get Team Invitation Details | Return the team ID and display name associated with a Hexclave invitation code without consuming the invitation. |
| `HEXCLAVE_GET_TEAM_MEMBER_PROFILE` | Get Team Member Profile | Return one Hexclave team member profile by team ID and user ID. |
| `HEXCLAVE_GET_USER` | Get User | Return one Hexclave user by a concrete user ID. |
| `HEXCLAVE_GRANT_PROJECT_PERMISSION` | Grant Project Permission | MUTATES AUTHORIZATION: Grant an existing project-level permission to one user. This creates a persistent authorization grant that remains until it is separately revoked. |
| `HEXCLAVE_GRANT_TEAM_PERMISSION` | Grant Team Permission | MUTATES AUTHORIZATION: Grant an existing team-level permission to one user within one team. This creates a persistent authorization grant that remains until it is separately revoked. |
| `HEXCLAVE_LIST_CONNECTED_ACCOUNTS` | List Connected Accounts | Return OAuth accounts connected to a specific Hexclave user. The provider may return a partial result but documents no continuation input for this operation. |
| `HEXCLAVE_LIST_CONTACT_CHANNELS` | List Contact Channels | Return Hexclave contact channels, optionally filtered by user or channel ID. The provider may return a partial result with pagination metadata but documents no continuation input for this operation. |
| `HEXCLAVE_LIST_EMAIL_OUTBOX` | List Email Outbox | Return one page of Hexclave email outbox entries, optionally filtered by provider status, simplified status, or recipient user. |
| `HEXCLAVE_LIST_NOTIFICATION_PREFERENCES` | List Notification Preferences | Return Hexclave notification categories for a user and show whether each is enabled and can be disabled. The provider may return a partial result but documents no continuation input for this operation. |
| `HEXCLAVE_LIST_PROJECT_PERMISSIONS` | List Project Permissions | List project-level permissions, optionally filtered by user, permission ID, and whether indirect permissions are included. This action only reads authorization grants and does not change them. The provider may return a partial result but documents no continuation input for this operation. |
| `HEXCLAVE_LIST_SESSION_REPLAY_CHUNKS` | List Session Replay Chunks | List a Hexclave session replay's recorded chunks in chronological order, without downloading their event payloads. |
| `HEXCLAVE_LIST_SESSION_REPLAYS` | List Session Replays | List Hexclave session replays, most recently active first. Filter by users, teams, duration, last-event time, or minimum click count, and continue with the returned cursor. |
| `HEXCLAVE_LIST_TEAM_INVITATIONS` | List Team Invitations | Return one page of Hexclave team invitations for exactly one team or one user, including recipient and expiration details. |
| `HEXCLAVE_LIST_TEAM_MEMBER_PROFILES` | List Team Member Profiles | Return one page of Hexclave team member profiles, optionally filtered by team ID and user ID. |
| `HEXCLAVE_LIST_TEAM_PERMISSIONS` | List Team Permissions | List team-level permissions, optionally filtered by team, user, permission ID, and whether indirect permissions are included. This action only reads authorization grants and does not change them. The provider may return a partial result but documents no continuation input for this operation. |
| `HEXCLAVE_LIST_TEAMS` | List Teams | Return Hexclave project teams. Omit limit for the provider's unpaginated mode, or set a limit capped at 200 and continue with the returned cursor. Filter by member user ID or search text and sort by creation time. |
| `HEXCLAVE_LIST_USERS` | List Users | Return one page of Hexclave project users. Filter by team, exact user ID, display name, primary email, excluded email domains, or onboarding state; sort by sign-up or last-active time and continue with the returned cursor. |
| `HEXCLAVE_RUN_ANALYTICS_QUERY` | 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. |
| `HEXCLAVE_SET_DATA_VAULT_VALUE` | Set Data Vault Value | MUTATES DATA VAULT STATE: Store a hashed lookup key and encrypted value in a Hexclave Data Vault store. An existing entry for the key may be replaced. |
| `HEXCLAVE_UPDATE_EMAIL_OUTBOX_ENTRY` | Update Email Outbox Entry | IRREVERSIBLY MUTATES EMAIL OUTBOX STATE: Edit an editable entry's content, recipients, variables, theme, schedule, pause state, or deliverability behavior. Setting cancel=true permanently cancels delivery and cannot be undone; omit cancel for ordinary reversible edits. |
| `HEXCLAVE_UPDATE_NOTIFICATION_PREFERENCE` | Update Notification Preference | MUTATES NOTIFICATION STATE: Enable or disable one Hexclave notification category for a user. Categories that cannot be disabled may reject the change. |
| `HEXCLAVE_UPDATE_TEAM` | Update Team | MUTATES TEAM STATE: Update the display name, profile image, or client/server metadata of an existing Hexclave team. Changes apply immediately; read the team first and retain prior values if a compensating update may be needed. |
| `HEXCLAVE_UPDATE_TEAM_MEMBER_PROFILE` | Update Team Member Profile | MUTATES TEAM STATE: Update a member's team-specific display name or profile image. Changes apply immediately to that member profile. |
| `HEXCLAVE_UPDATE_USER` | Update User | MUTATES USER STATE: Update selected identity, profile, metadata, team, email-authentication, or administrator-restriction fields for an existing Hexclave user. Changes apply immediately; read the target user first and retain prior values if a compensating update may be needed. |
| `HEXCLAVE_VERIFY_CONTACT_CHANNEL` | Verify Contact Channel | IRREVERSIBLY MUTATES USER STATE: Consume a one-time Hexclave email verification code and mark its contact channel verified. A successful call permanently makes the code unusable; use CHECK_CONTACT_CHANNEL_VERIFICATION_CODE to validate a code without consuming it. |

## Supported Triggers

None listed.

## Installation and MCP Setup

### Path 1: SDK Installation

#### Path 1, Step 1: Install Composio

Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
```python
pip install composio composio_openai openai
```

```typescript
npm install @composio/core @composio/openai openai
```

#### Path 1, Step 2: Create a Composio session

Initialize Composio with the OpenAI Responses provider and create a session scoped to Hexclave
```python
import json
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
client = OpenAI()

session = composio.create(user_id="your-user-id", toolkits=["hexclave"])
tools = session.tools()
```

```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();
```

#### Path 1, Step 3: Run Hexclave tools with your agent

Send a request, execute the Hexclave tool calls through the session, and print the final answer
```python
response = client.responses.create(
    model="gpt-5.6-sol",
    tools=tools,
    input=[{"role": "user", "content": "List all users in my Hexclave project"}],
)

while True:
    tool_calls = [o for o in response.output if o.type == "function_call"]
    if not tool_calls:
        break
    results = composio.provider.handle_tool_calls(response=response, session=session)
    response = client.responses.create(
        model="gpt-5.6-sol",
        tools=tools,
        previous_response_id=response.id,
        input=[
            {"type": "function_call_output", "call_id": call.call_id, "output": json.dumps(results[i])}
            for i, call in enumerate(tool_calls)
        ],
    )

print(response.output_text)
```

```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);
```

### Path 2: MCP Server Setup

#### Path 2, Step 1: Install Composio

Install the Composio SDK and your agent framework
```python
pip install composio claude-agent-sdk
```

```typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
```

#### Path 2, Step 2: Create a session with MCP enabled

Create a session scoped to Hexclave and read its MCP URL and headers
```python
from composio import Composio

composio = Composio()
session = composio.create(user_id="your-user-id", toolkits=["hexclave"], mcp=True)
```

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

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["hexclave"],
  mcp: true,
});
```

#### Path 2, Step 3: Connect your agent to the MCP server

Pass the session's MCP URL and headers to your agent and run a Hexclave request
```python
import asyncio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions, AssistantMessage, TextBlock

options = ClaudeAgentOptions(
    mcp_servers={
        "composio": {
            "type": "http",
            "url": session.mcp.url,
            "headers": session.mcp.headers,
        }
    },
    system_prompt="You are a helpful assistant with access to Hexclave tools.",
    tools=[],
    allowed_tools=["mcp__composio__*"],
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query("List all users in my Hexclave project")
        async for message in client.receive_response():
            if isinstance(message, AssistantMessage):
                for block in message.content:
                    if isinstance(block, TextBlock):
                        print(block.text)

asyncio.run(main())
```

```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();
```

## Why Use Composio?

### 1. 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

### 2. 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

### 3. 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

### 4. 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

## Use Hexclave with any AI Agent Framework

Choose a framework you want to connect Hexclave with:

- [ChatGPT](https://composio.dev/toolkits/hexclave/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/hexclave/framework/claude-cowork)

## Related Toolkits

- [Supabase](https://composio.dev/toolkits/supabase) - Supabase is an open-source backend platform offering scalable Postgres databases, authentication, storage, and real-time APIs. It lets developers build modern apps without managing infrastructure.
- [Codeinterpreter](https://composio.dev/toolkits/codeinterpreter) - Codeinterpreter is a Python-based coding environment with built-in data analysis and visualization. It lets you instantly run scripts, plot results, and prototype solutions inside supported platforms.
- [GitHub](https://composio.dev/toolkits/github) - GitHub is a code hosting platform for version control and collaborative software development. It streamlines project management, code review, and team workflows in one place.
- [1password](https://composio.dev/toolkits/_1password) - 1Password is a password manager and digital vault for storing logins, secrets, notes, and secure documents. It helps individuals and teams protect credentials, share access safely, and reduce password risk.
- [Ably](https://composio.dev/toolkits/ably) - Ably is a real-time messaging platform for live chat and data sync in modern apps. It offers global scale and rock-solid reliability for seamless, instant experiences.
- [Abuselpdb](https://composio.dev/toolkits/abuselpdb) - Abuselpdb is a central database for reporting and checking IPs linked to malicious online activity. Use it to quickly identify and report suspicious or abusive IP addresses.
- [Agent37](https://composio.dev/toolkits/agent37) - Agent37 is a control API for managed agent sandboxes, templates, networking, and execution. It gives teams built-in scheduling, observability, budgets, and workspace administration.
- [Alchemy](https://composio.dev/toolkits/alchemy) - Alchemy is a blockchain development platform offering APIs and tools for Ethereum apps. It simplifies building and scaling Web3 projects with robust infrastructure.
- [Algolia](https://composio.dev/toolkits/algolia) - Algolia is a hosted search API that powers lightning-fast, relevant search experiences for web and mobile apps. It helps developers deliver instant, typo-tolerant, and scalable search without complex infrastructure.
- [Anakin](https://composio.dev/toolkits/anakin_io) - Anakin is a web automation platform offering scraping, crawling, search, and browser automation. Use it to extract structured data, automate site tasks, and monitor web changes reliably.
- [Anchor browser](https://composio.dev/toolkits/anchor_browser) - Anchor browser is a developer platform for AI-powered web automation. It transforms complex browser actions into easy API endpoints for streamlined web interaction.
- [AnyAPI](https://composio.dev/toolkits/anyapi) - AnyAPI is a marketplace of utility APIs for validation, currency conversion, holidays, documents, and web data. It brings common application workflows together through one practical API platform.
- [Apiflash](https://composio.dev/toolkits/apiflash) - Apiflash is a website screenshot API for programmatically capturing web pages. It delivers high-quality screenshots on demand for automation, monitoring, or reporting.
- [Apiverve](https://composio.dev/toolkits/apiverve) - Apiverve delivers a suite of powerful APIs that simplify integration for developers. It's designed for reliability and scalability so you can build faster, smarter applications without the integration headache.
- [Appcircle](https://composio.dev/toolkits/appcircle) - Appcircle is an enterprise-grade mobile CI/CD platform for building, testing, and publishing mobile apps. It streamlines mobile DevOps so teams ship faster and with more confidence.
- [Appdrag](https://composio.dev/toolkits/appdrag) - Appdrag is a cloud platform for building websites, APIs, and databases with drag-and-drop tools and code editing. It accelerates development and iteration by combining hosting, database management, and low-code features in one place.
- [Appveyor](https://composio.dev/toolkits/appveyor) - AppVeyor is a cloud-based continuous integration service for building, testing, and deploying applications. It helps developers automate and streamline their software delivery pipelines.
- [Authyo](https://composio.dev/toolkits/authyo) - Authyo is a REST API service for passwordless authentication, OTP verification, session management, and transactional notifications. Use it to add secure login flows and user verification without building auth infrastructure from scratch.
- [AWS Marketplace MCP](https://composio.dev/toolkits/aws_marketplace_mcp) - AWS Marketplace MCP provides MCP access to AWS Marketplace's cloud software, data, and services catalog. Use it to discover, compare, and evaluate 30K+ AWS Marketplace listings faster.
- [Azure DevOps](https://composio.dev/toolkits/azure_devops) - Azure DevOps is Microsoft's platform for planning work, managing code, and delivering software. It helps development teams collaborate and ship applications with connected tools.

## Frequently Asked Questions

### Do I need my own developer credentials to use Hexclave with Composio?

Yes, Hexclave requires you to configure your own API key. Once set up, Composio handles secure credential storage and API request handling for you.

### Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. [Learn more](https://docs.composio.dev/tool-router/overview).

### Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. [Learn more](https://trust.composio.dev).

### What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
