AIMarket MCP Gateway

v0.7.0
io.github.alexar76/aimarket-mcp Checked 14 hours ago Published 5 days ago

Stdio + HTTP MCP gateway: SSRF-hardened web_fetch, web_search, metis_verify, market_search.

Values you need

VariableWhat it is
AIMARKET_METIS_URLoptional Metis verify API base URL
AIMARKET_METIS_KEYoptional secret Optional bearer token for Metis verify
AIMARKET_SEARCH_URLoptional DuckDuckGo HTML search endpoint override
AIMARKET_API_KEYoptional secret Optional key from https://modelmarket.dev/start: pays priced market_invoke calls from a prepaid USDC balance once the free trial is spent

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add aimarket-mcp -- uvx aimarket-mcp==0.7.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "aimarket-mcp": {
      "args": [
        "aimarket-mcp==0.7.0"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "aimarket-mcp": {
      "args": [
        "aimarket-mcp==0.7.0"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "aimarket-mcp": {
      "args": [
        "aimarket-mcp==0.7.0"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.aimarket-mcp]
command = "uvx"
args = ["aimarket-mcp==0.7.0"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http aimarket-mcp https://{aimarket_host}/mcp --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "aimarket-mcp": {
      "args": [
        "-y",
        "mcp-remote",
        "https://{aimarket_host}/mcp",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "aimarket-mcp": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://{aimarket_host}/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "aimarket-mcp": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://{aimarket_host}/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.aimarket-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://{aimarket_host}/mcp", "--header", "Authorization: <Authorization>"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: web_fetch, web_search, metis_verify, market_search, market_invoke, market_status.
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json