# Autonix MCP server (optional local stdio)

Prefer the **hosted** endpoint: `https://app.autonix.io/mcp` with
`Authorization: Bearer YOUR_TOKEN`.

This folder is an optional offline/dev fallback (Node 18+ stdio).

Install guide: https://www.autonix.io/developers/guides/mcp-and-skill

```bash
mkdir -p ~/autonix-mcp/src && cd ~/autonix-mcp
curl -fsSL https://www.autonix.io/developers/mcp/package.json -o package.json
curl -fsSL https://www.autonix.io/developers/mcp/src/index.js -o src/index.js
npm install
export AUTONIX_API_TOKEN=your_token
npm start
```
