# Hexis

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/Bevel-Software/Hexis  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/hexis

## Description
Git-backed platform for skills, tools, and context for AI agents

## Claude Desktop Quick Installation
Heuristic fallback — verify the package name and runner against the repository README before running it. Uses `npx` (confidence: low):

```json
"mcpServers": {
  "hexis": {
    "command": "npx",
    "args": ["-y","hexis"]
  }
}
```

## Documentation & README

<p align="center">
  <img src="https://raw.githubusercontent.com/Bevel-Software/Hexis/HEAD/docs/hero-light.svg" alt="Hexis by Bevel: git-backed skills, tools and context for AI agents" width="100%">
</p>

<p align="center">
  <a href="https://github.com/Bevel-Software/Hexis/stargazers"><img src="https://img.shields.io/github/stars/Bevel-Software/Hexis?style=flat-square&logo=github" alt="GitHub stars"></a>
  <a href="https://demo.bevel.software/workspace/main/knowledge-base/KnowledgeBase/Start%20here.md"><img src="https://img.shields.io/badge/live%20demo-try%20it%20now-1b76d0?style=flat-square" alt="Live demo"></a>
  <a href="https://github.com/Bevel-Software/Hexis/blob/HEAD/LICENSE"><img src="https://img.shields.io/github/license/Bevel-Software/Hexis?style=flat-square" alt="Apache-2.0 license"></a>
  <a href="https://github.com/Bevel-Software/Hexis/commits"><img src="https://img.shields.io/github/last-commit/Bevel-Software/Hexis?style=flat-square" alt="Last commit"></a>
</p>

**Git-backed control plane for AI-agent skills, tools, context, permissions and
identity. Self-hosted and MCP-native.**

One place where your company's AI plugins, tools and knowledge live: centrally
managed, reviewed and access-controlled, and usable from **any AI agent**. The
open-source core of the Bevel platform.

## Why Hexis?

### For teams

One place where engineers and non-technical people alike can browse and load
plugins, propose suggestions, and manage access.

### For enterprises

Every skill, tool manual and permission is a file in a git repository you own,
so the audit trail is the storage layer: who changed what, when, who approved
it, and how to undo it. An agent can only do what the person running it can do,
resolved per file, and it never holds the credentials it uses. Runs on your
infrastructure, behind your own SSO.

### Why it's different from MCP gateways:

MCP gateways are uni-directional; users can consume plugins, skills or tools but there is no mechanism here for users to propose changes or share new skills and MCP servers. You can do this via GitHub in the back, but this is not accessible to non-technical users and there is no fine-grained access control for either viewing or the review process.

Hexis can do all of the above specified capabilities for distribution, and has this bidirectionality needed for management.

In Hexis, skills and tool manuals are reviewable files. Anyone can propose a
change; on protected branches it reaches the owners of the files it touches and
ships only once they approve. Agents propose too: one that hits a broken skill
mid-task can suggest the fix, and a person decides whether it lands.

## Contents

- [See Hexis in action](#see-hexis-in-action)
- [Connect Hexis to Cline](#connect-hexis-to-cline)
- [Try the live demo](#try-it-first-the-live-demo)
- [Managed hosting](#want-a-managed-instance)
- [Deploy with Docker](#deploy-it-in-5-minutes-docker)
- [Local development](#local-development-run-from-source)
- [Configuration reference](https://github.com/Bevel-Software/Hexis/blob/HEAD/docs/configuration.md)
- [Troubleshooting](https://github.com/Bevel-Software/Hexis/blob/HEAD/docs/troubleshooting.md)
- [Repository layout](#repository-layout)
- [FAQ](#faq)

[![Watch the full Hexis demo](https://github.com/Bevel-Software/Hexis/blob/HEAD/docs/demo-video-thumbnail.jpg)](https://youtu.be/RjOWRz4E0ZU?si=R7d8rT_P1YVxmQBO)

*Watch the full walkthrough: connect an agent, use company context, review
proposed changes, and manage team access.*

## See Hexis in action

### Propose and approve skill changes

Anyone can propose a new skill or improve an existing one. On protected
branches, owners review the exact change and approve it before it becomes
available to the team's agents.

![A teammate proposes a skill and its owner reviews and approves the change request](https://raw.githubusercontent.com/Bevel-Software/Hexis/HEAD/docs/demo-propose.gif)

### Use your team's skills in Claude

Connect Claude to Hexis over MCP, then ask normally. Claude can discover and
load the approved skill instructions and company context your role can access,
without copying prompts between tools.

![Claude uses approved team skills and company context through Hexis over MCP](https://raw.githubusercontent.com/Bevel-Software/Hexis/HEAD/docs/demo-claude-mcp.gif)

### Connect Hexis to Cline

Cline can connect directly to Hexis as a remote Streamable HTTP MCP server.
Install the public demo connection from the Cline CLI:

```sh
cline mcp install hexis --transport http https://demo.bevel.software/api/mcp --yes
```

Complete the OAuth sign-in in your browser when prompted. Cline then discovers
the skills, tools and context your Hexis role can access. For your own Hexis
deployment, replace `demo.bevel.software` with your deployment's host.

### Share skills with the right people

Add teammates to roles or grant access directly when needed. Everyone connects
to the same workspace, while each person and their agent only sees what they
are allowed to read.

![An owner adds teammates to roles and manages access to shared company content](https://raw.githubusercontent.com/Bevel-Software/Hexis/HEAD/docs/demo-access.gif)

## Try it first: the live demo

**[demo.bevel.software](https://demo.bevel.software/workspace/main/knowledge-base/KnowledgeBase/Start%20here.md)**
is a public instance you can sign into with your Google account, populated
with a fictional company's knowledge, skills and tools. The *Start here* page
walks you through the whole loop: connect your own agent over MCP, have it
build a sales deck from a skill, watch its proposed improvement arrive as a
change request. The demo is shared and read-mostly (visitors propose, owners
approve); everything below gets you the same thing with none of the limits.

## Want a managed instance?

We run it for you (hosting, upgrades, backups, SSO) and your team just signs
in. Write to **[ali.raza@bevel.software](mailto:ali.raza@bevel.software)**.

## Deploy it in 5 minutes (Docker)

You need: [Docker](https://docs.docker.com/get-docker/) with Compose on a
server (or your laptop; one extra line below), and an
**empty git repository** on any host (GitHub, GitLab, Bitbucket, Azure DevOps,
self-hosted) to hold your knowledge base. The app seeds it with a starter
template on first run.

Grab the two deployment files — no clone needed:

```sh
mkdir hexis && cd hexis
# v0.10.0 below = the release this page was written against; replace with the latest release tag
wget https://raw.githubusercontent.com/Bevel-Software/Hexis/v0.10.0/docker-compose.yml
wget -O .env https://raw.githubusercontent.com/Bevel-Software/Hexis/v0.10.0/.env.example
```

(Working from a git clone works identically — both files sit at the repo root;
`cp .env.example .env`.)

Open `.env` and fill in the **four required values** (everything else can wait):

```sh
ADMIN_EMAIL=you@example.com     # the deployment owner, always an admin
ADMIN_PASSWORD=pick-something   # sign-in password; only with password login (SSO-only deployments drop it)
JWT_SECRET=…                    # generate with the command below
SECRETS_ENC_KEY=…               # generate with the command below
```

Generate the two secrets (run twice, paste one result into each):

```sh
node -e "console.log(require('crypto').randomBytes(32).toString('base64'))"
# no Node installed? docker run --rm node:22-slim node -e "console.log(require('crypto').randomBytes(32).toString('base64'))"
```

For a public deployment served over HTTPS by the bundled proxy, also set the
domain — it derives everything else public (origins, proxy hop):

```sh
DOMAIN=bevel.your-domain.com
```

Then start everything. Deploying **pulls the image CI publishes on every
release** — nothing compiles on your server, so a small instance suffices.
Pin the version in `.env` (`HEXIS_VERSION=0.10.0`) so a later `pull` can't
become an unplanned upgrade — [UPGRADING.md](https://github.com/Bevel-Software/Hexis/blob/HEAD/UPGRADING.md) covers upgrades
and backups. Building from source instead (a staging server tracking a
branch, a fork) is
[deployment/docker-compose.build.yml](https://github.com/Bevel-Software/Hexis/blob/HEAD/deployment/docker-compose.build.yml)
(explained in [deployment/](https://github.com/Bevel-Software/Hexis/blob/HEAD/deployment/README.md)).

**Public HTTPS, no proxy of your own** (a bare EC2 instance, a plain VPS):
the `https` profile starts Caddy in front of the app, with automatic Let's
Encrypt certificates for `DOMAIN` and the HTTP→HTTPS redirect. First: a DNS
A (or AAAA) record for the domain pointing at the server, and ports 80 + 443
open to the internet (port 80 is not optional — the certificate challenge and
the redirect both use it).

```sh
docker compose -f docker-compose.yml --profile https up -d
```

**Behind your own reverse proxy** (Coolify, Traefik, nginx): skip the profile
— two things terminating TLS for one app is one too many. Instead of `DOMAIN`,
set the origin values and the proxy hop count in `.env`, so OAuth redirects
are built right and rate limits see real client IPs instead of the proxy's:

```sh
PUBLIC_BACKEND_URL=https://bevel.your-domain.com   # public origin; OAuth redirects are built from it
PUBLIC_FRONTEND_URL=https://bevel.your-domain.com  # same origin: the backend serves the SPA
TRUST_PROXY=1                                      # your proxy hop count
```

```sh
docker compose -f docker-compose.yml up -d
```

The explicit `-f` matters in a clone: it skips `docker-compose.override.yml`,
so the app publishes **no host port** — your proxy reaches it on port `3001`
over the compose network. This is deliberate: a fixed published port makes
every redeploy fail with `port is already allocated`, because the replacement
container starts while the outgoing one still holds it.

Open your domain and sign in with `ADMIN_EMAIL` / `ADMIN_PASSWORD`.

**Just trying it on your laptop?** Same steps, minus `DOMAIN` and the origin
values — plus one extra file: `docker-compose.yml` alone publishes no host
port (see above), and `docker-compose.override.yml` is the piece that puts
the app on localhost. A clone already has it; next to the wget'd files, fetch
it too:

```sh
wget https://raw.githubusercontent.com/Bevel-Software/Hexis/v0.10.0/docker-compose.override.yml
docker compose up -d
```

Then open **http://localhost:3001** (a different port:
`APP_PORT=8080 docker compose up -d`). Leave `TRUST_PROXY` unset here — with
no proxy in front, trusting forwarded headers would let clients spoof their
own address.

### First sign-in: the setup screen

The app asks for the things it could not guess, and **tests them against the
real host before saving**:

1. **Knowledge-base repo**: the https clone URL of that empty repository.
2. **Git credential**: a token with read/write access to it (for GitHub: a
   fine-grained personal access token with *Contents: read & write* on that one
   repo is enough).
3. **Branch model**: which branch is the default and which are protected
   (changes to protected branches only land through approved change requests).
   The repository's real branches are offered as suggestions; for an empty repo
   the default (`main`) is fine.

Since the repo is empty, the app initialises it from the bundled template and
writes a `roles.yaml` whose first Admin is you. That's it: you're in the
workspace. Head to **Skills & Tools** to make your first plugin and skill, and to
**Connect** (in the app menu) to hook up an agent over MCP.

Going to production? [Configuration reference](https://github.com/Bevel-Software/Hexis/blob/HEAD/docs/configuration.md) covers
single sign-on, the state you need to back up, health checks, and configuring
by environment instead of the setup screen.

## Local development (run from source)

You need: **Node 22.13 or newer** (`.nvmrc`; the engine range is `>=22.13 <23`),
**pnpm 10**, **git ≥ 2.41**, and a Postgres 17 (the bundled one is fine):

```sh
docker compose up -d db        # just the database
pnpm install
pnpm build                     # builds the packages the apps import
cp .env.example .env           # fill the same four required values;
                               # the default DATABASE_URL already points at the bundled db
pnpm dev                       # backend on :3001, Vite dev server on :5173
```

Open **http://localhost:5173** (the dev server proxies to the backend). Useful
commands: `pnpm test`, `pnpm typecheck`, `pnpm lint`.

Migrations run automatically on boot; there is no separate migrate step, in
dev or in production.

## Reference

- **[Configuration](https://github.com/Bevel-Software/Hexis/blob/HEAD/docs/configuration.md)**: every environment variable, SSO
  setup, secret generation, backups and health.
- **[Troubleshooting](https://github.com/Bevel-Software/Hexis/blob/HEAD/docs/troubleshooting.md)**: the failures you are most
  likely to hit, and what causes them.

## Repository layout

| Path | What it is |
| --- | --- |
| `packages/shared` | `@bevel-software/platform-shared`: shared types + pure domain utilities |
| `packages/core-backend` | `@bevel-software/platform-core-backend`: the core backend (ships `migrations/` + `kb-template/`) |
| `packages/core-frontend` | `@bevel-software/platform-core-frontend`: the core UI, published as raw TS/TSX source |
| `apps/server` | standalone core backend shell |
| `apps/web` | standalone core SPA shell (Vite) |

## FAQ

Questions that come up when teams evaluate Hexis as a central, versioned
catalogue for agent skills and tools.

<details>
<summary><b>How do agents find skills without flooding the context window?</b></summary>

They look them up rather than loading them all: `list_skills` and `search`
narrow the field, `get_skill` returns one skill at call time.
</details>

<details>
<summary><b>Which agents can connect?</b></summary>

Any MCP-capable client, including Claude Code, Codex, Cursor, Cline and ChatGPT,
each seeing only what its user's role allows.
</details>

<details>
<summary><b>How is the catalogue versioned?</b></summary>

By git: every save is a commit, so history, blame and revert work as they do for
code, and changes to protected branches ship as reviewable change requests.
</details>

<details>
<summary><b>What governance do we get?</b></summary>

Per-file access control, review-gated change requests, and a git audit trail of
who changed what and who approved it.
</details>

License: [Apache-2.0](https://github.com/Bevel-Software/Hexis/blob/HEAD/LICENSE)

