Skip to main content
Glama

ax-mcp

MCP server for ax — the AI-era curl.

Prerequisites

Install ax CLI:

curl -fsSL https://ax.yusuke.run/install | sh

Related MCP server: MCP Web Fetch Server

Usage

Run directly

npx -y github:pyoif/ax-mcp
bunx ax-mcp

Add to MCP client config

Example for ~/.config/claude/claude_desktop_config.json:

{
  "mcpServers": {
    "ax": {
      "command": "npx",
      "args": ["-y", "github:pyoif/ax-mcp"]
    }
  }
}

Or with bun:

{
  "mcpServers": {
    "ax": {
      "command": "bunx",
      "args": ["ax-mcp"]
    }
  }
}

Tools

fetch

Fetch a URL — HTTP requests with curl-like flexibility.

Param

Type

Description

url

string

URL, file path, or - for stdin

method

string

HTTP method (GET, POST, PUT, PATCH, DELETE, HEAD)

headers

object

Request headers

body

string

Request body

bodyFile

string

Read body from file

insecure

boolean

Allow insecure TLS (-k)

followRedirects

boolean

Follow redirects (-L)

bodyOnly

boolean

Body only, uncapped (--body)

maxBytes

number

Max response bytes

timeout

number

Timeout in seconds

discover

Discover page structure.

Param

Type

Description

url

string

URL to discover

mode

string

outline, locate, or count

selector

string

CSS selector (count mode)

text

string

Text to find (locate mode)

fresh

boolean

Force refetch

noCache

boolean

Skip disk cache

extract

Extract data using CSS selectors.

Param

Type

Description

url

string

URL to extract from

selector

string

CSS selector

mode

string

rows, table, attr, text, html, markdown

row

string

Row mapping (rows mode): field=sel, field2=sel2@attr

attr

string

Attribute name (attr mode)

where

string

Filter expression (rows mode)

json

boolean

Output JSON instead of TSV

limit

number

Max results

all

boolean

Return all results

budget

number

Token budget

License

GPL-3.0

F
license - not found
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

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/pyoif/ax-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server