mcp-server-axiom-js
Axiom 的 MCP 服务器
官方 Axiom MCP 服务器的 JavaScript 端口,使 AI 代理能够使用 Axiom 处理语言 (APL) 查询数据。
此实现提供与原始 Go 版本相同的功能,但打包为 npm 模块,以便更轻松地与 Node.js 环境集成。
安装与使用
MCP 配置
您可以使用 npx 直接运行此 MCP 服务器。将以下配置添加到您的 MCP 配置文件中:
{
"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>"
}
}
}本地开发和测试
安装
npm install -g mcp-server-axiom环境变量
可以使用环境变量来配置服务器:
AXIOM_TOKEN(必需):您的 Axiom API 令牌AXIOM_ORG_ID(必需):您的 Axiom 组织 IDAXIOM_URL(可选):自定义 Axiom API URL(默认为https://api.axiom.co )AXIOM_QUERY_RATE(可选):每秒查询次数限制(默认值:1)AXIOM_QUERY_BURST(可选):查询突发容量(默认值:1)AXIOM_DATASETS_RATE(可选):每秒数据集列表操作数(默认值:1)AXIOM_DATASETS_BURST(可选):数据集列表突发容量(默认值:1)PORT(可选):服务器端口(默认值:3000)
本地运行服务器
使用环境变量:
export AXIOM_TOKEN=your_token
mcp-server-axiom使用配置文件:
mcp-server-axiom config.jsonconfig.json 示例:
{
"token": "your_token",
"url": "https://custom.axiom.co",
"orgId": "your_org_id",
"queryRate": 2,
"queryBurst": 5,
"datasetsRate": 1,
"datasetsBurst": 2
}Related MCP server: mcp-perplexity
API 端点
GET /:获取服务器实现信息GET /tools:列出可用工具POST /tools/:name/call:调用特定工具可用工具:
queryApl:执行 APL 查询listDatasets:列出可用的数据集
工具调用示例
查询APL:
curl -X POST http://localhost:3000/tools/queryApl/call \
-H "Content-Type: application/json" \
-d '{
"arguments": {
"query": "['logs'] | where ['severity'] == \"error\" | limit 10"
}
}'列出数据集:
curl -X POST http://localhost:3000/tools/listDatasets/call \
-H "Content-Type: application/json" \
-d '{
"arguments": {}
}'执照
麻省理工学院
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceThis server is a server that installs other MCP servers for you. Install it, and you can ask Claude to install MCP servers hosted in npm or PyPi for you. Requires npx and uv to be installed for node and Python servers respectively.23081,529MIT
- MIT
- AlicenseAqualityFmaintenanceadvance mcp server utilizing Perplexity, without the need for an API key64395GPL 3.0
- AGPL 3.0
Related MCP Connectors
MCP server for Flux AI image generation
MCP server for Grok Imagine AI video generation
MCP server for Hailuo (MiniMax) AI video generation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ThetaBird/mcp-server-axiom-js'
If you have feedback or need assistance with the MCP directory API, please join our Discord server