An MCP server that exposes Connhex APIs as tools.
Add the server to your MCP client configuration.
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"connhex": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/compiuta-origin/connhex-mcp-server",
"connhex-mcp"
],
"env": {
"CONNHEX_INSTANCE_URL": "<connhex-instance-url>",
"CONNHEX_USERNAME": "[email protected]",
"CONNHEX_PASSWORD": "your-password"
}
}
}
}The server requires CONNHEX_INSTANCE_URL pointing to your Connhex instance.
Authentication is configured via CONNHEX_AUTH_TYPE (defaults to credentials):
| Auth type | Required env vars | Description |
|---|---|---|
credentials | CONNHEX_USERNAME, CONNHEX_PASSWORD | Logs in with username and password |
token | CONNHEX_BEARER_TOKEN | Uses a static bearer token |
session | (none — provided via transport headers) | Forwards session from the client |
By default the server uses stdio. You can select a different transport by appending --transport to the args array:
"args": [
"--from",
"git+https://github.com/compiuta-origin/connhex-mcp-server",
"connhex-mcp",
"--transport",
"streamable-http"
]Available transports: stdio, http, sse, streamable-http.
Once the MCP server is connected, you can ask your AI assistant things like:
<type>"<thing-id>"<channel-id> between yesterday and today"You can test the server locally using MCP Inspector (requires Node.js):
export CONNHEX_INSTANCE_URL=<connhex-instance-url>
export [email protected]
export CONNHEX_PASSWORD=your-password
./scripts/start-mcp-inspector.shFor token-based auth:
export CONNHEX_INSTANCE_URL=<connhex-instance-url>
export CONNHEX_AUTH_TYPE=token
export CONNHEX_BEARER_TOKEN=your-token
./scripts/start-mcp-inspector.shThis opens a browser UI where you can interactively call tools and inspect responses.
Clone the repo and install dependencies:
git clone https://github.com/compiuta-origin/connhex-mcp-server.git
cd connhex-mcp-server
uv sync --devRun the server locally:
uv run connhex-mcpRun tests and linting:
uv run pytest
uv run ruff check .compiuta-origin/connhex-mcp-server
April 13, 2026
April 13, 2026
Python