Runs agent tool calls asynchronously with schema checks, retries, circuit breakers, idempotency keys, approval gates, replay and signed webhooks.
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add klanex --env KLANEX_API_KEY='<KLANEX_API_KEY>' -- npx -y klanex-mcp~/.codex/config.toml
[mcp_servers.klanex]
command = "npx"
args = ["-y", "klanex-mcp"]
env = { KLANEX_API_KEY = "<KLANEX_API_KEY>" }
# codex mcp add klanex --env KLANEX_API_KEY='<KLANEX_API_KEY>' -- npx -y klanex-mcp~/.cursor/mcp.json
{
"mcpServers": {
"klanex": {
"command": "npx",
"args": [
"-y",
"klanex-mcp"
],
"env": {
"KLANEX_API_KEY": "<KLANEX_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"klanex": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"klanex-mcp"
],
"env": {
"KLANEX_API_KEY": "<KLANEX_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"klanex": {
"command": "npx",
"args": [
"-y",
"klanex-mcp"
],
"env": {
"KLANEX_API_KEY": "<KLANEX_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"klanex": {
"command": "npx",
"args": [
"-y",
"klanex-mcp"
],
"env": {
"KLANEX_API_KEY": "<KLANEX_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"klanex": {
"command": "npx",
"args": [
"-y",
"klanex-mcp"
],
"env": {
"KLANEX_API_KEY": "<KLANEX_API_KEY>"
}
}
}
}Remote
claude mcp add --transport http klanex https://api.klanexai.com/mcp --header 'X-API-Key: <X_API_KEY>'~/.codex/config.toml
[mcp_servers.klanex]
url = "https://api.klanexai.com/mcp"
http_headers = { X-API-Key = "<X_API_KEY>" }
# codex mcp add klanex --url https://api.klanexai.com/mcp~/.cursor/mcp.json
{
"mcpServers": {
"klanex": {
"url": "https://api.klanexai.com/mcp",
"headers": {
"X-API-Key": "<X_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"klanex": {
"type": "http",
"url": "https://api.klanexai.com/mcp",
"headers": {
"X-API-Key": "<X_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"klanex": {
"httpUrl": "https://api.klanexai.com/mcp",
"headers": {
"X-API-Key": "<X_API_KEY>"
}
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"klanex": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.klanexai.com/mcp",
"--header",
"X-API-Key:<X_API_KEY>"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"klanex": {
"url": "https://api.klanexai.com/mcp",
"headers": {
"X-API-Key": "<X_API_KEY>"
}
}
}
}Environment variables
KLANEX_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.