Axiom
БесплатноДавно не обновлялся (554д)An MCP server implementation for Axiom that enables AI agents to query data using Axiom Processing Language (APL)
Описание
An MCP server implementation for Axiom that enables AI agents to query data using Axiom Processing Language (APL)
README
A JavaScript port of the official Axiom MCP server that enables AI agents to query data using Axiom Processing Language (APL).
This implementation provides the same functionality as the original Go version but packaged as an npm module for easier integration with Node.js environments.
Installation & Usage
MCP Configuration
You can run this MCP server directly using npx. Add the following configuration to your MCP configuration file:
{
"axiom": {
"command": "npx",
"args": ["-y", "mcp-server-axiom"],
"env": {
"AXIOM_TOKEN": "<AXIOM_TOKEN_HERE>",
"AXIOM_URL": "https://api.axiom.co",
"AXIOM_ORG_ID": "<AXIOM_ORG_ID_HERE>"
}
}
}
Local Development & Testing
Installation
npm install -g mcp-server-axiom
Environment Variables
The server can be configured using environment variables:
AXIOM_TOKEN(required): Your Axiom API tokenAXIOM_ORG_ID(required): Your Axiom organization IDAXIOM_URL(optional): Custom Axiom API URL (defaults to https://api.axiom.co)AXIOM_QUERY_RATE(optional): Queries per second limit (default: 1)AXIOM_QUERY_BURST(optional): Query burst capacity (default: 1)AXIOM_DATASETS_RATE(optional): Dataset list operations per second (default: 1)AXIOM_DATASETS_BURST(optional): Dataset list burst capacity (default: 1)PORT(optional): Server port (default: 3000)
Running the Server Locally
- Using environment variables:
export AXIOM_TOKEN=your_token
mcp-server-axiom
- Using a config file:
mcp-server-axiom config.json
Example config.json:
{
"token": "your_token",
"url": "https://custom.axiom.co",
"orgId": "your_org_id",
"queryRate": 2,
"queryBurst": 5,
"datasetsRate": 1,
"datasetsBurst": 2
}
API Endpoints
GET /: Get server implementation infoGET /tools: List available toolsPOST /tools/:name/call: Call a specific tool- Available tools:
queryApl: Execute APL querieslistDatasets: List available datasets
- Available tools:
Example Tool Calls
- Query APL:
curl -X POST http://localhost:3000/tools/queryApl/call \
-H "Content-Type: application/json" \
-d '{
"arguments": {
"query": "['logs'] | where ['severity'] == \"error\" | limit 10"
}
}'
- List Datasets:
curl -X POST http://localhost:3000/tools/listDatasets/call \
-H "Content-Type: application/json" \
-d '{
"arguments": {}
}'
License
MIT
Установить Axiom в Claude Desktop, Claude Code, Cursor
unyly install axiomСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add axiom --env AXIOM_ORG_ID="" --env AXIOM_TOKEN="" --env AXIOM_URL="" -- npx -y mcp-server-axiomПошаговые гайды: как установить Axiom
FAQ
Axiom MCP бесплатный?
Да, Axiom MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Axiom?
Да, требуются переменные окружения: AXIOM_ORG_ID, AXIOM_TOKEN, AXIOM_URL. Unyly подставит их в конфиг при установке.
Axiom — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Axiom в Claude Desktop, Claude Code или Cursor?
Открой Axiom на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Axiom with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
