# FabTally Guard [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/zvmzaretsky/fabtally-guard-mcp  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/fabtally-guard

## Description
Verify before you act: deps-check, x402-preflight, json-repair & url-read for agents.

## Tools
Capabilities this server exposes over MCP:

- **deps_check** — Vet a package before installing — OSV.dev CVEs, typosquat similarity, deprecation/yank, SPDX license, age/download signals + a plain-English risk verdict. Args: `ecosystem` (npm\
- **x402_preflight** — Verify another x402 endpoint before paying it — valid x402 v2 402 challenge? price/asset/network/payTo consistent with its `/.well-known/x402`? TLS/reachability/openapi? + the parsed price. Args: `url`.
- **json_repair** — Coerce near-miss LLM JSON to a JSON-Schema-conformant object (fences/commas/quotes/keys/literals/brackets, then type-coerce, defaults, drop extras) — or precise per-field errors. Args: `json` (string), `schema`.
- **url_read** — Fetch a public url → clean Markdown + token estimate for RAG. Respects robots.txt, public pages only, nothing stored. Args: `url`.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "fabtally-guard": {
    "command": "npx",
    "args": ["-y","fabtally-guard-mcp"],
    "env": {
      "FABTALLY_GUARD_BASE": ""
    }
  }
}
```

**Requires environment variables:** `FABTALLY_GUARD_BASE` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What FabTally Guard MCP server does

The FabTally Guard MCP server provides four pre-action verification tools through the Guard HTTP API at `https://guard.fabtally.com`. Its purpose is to give an agent additional information before it installs a package, pays another service, accepts imperfect JSON, or retrieves content for retrieval-augmented generation.

The service is read-only, stateless, and descriptive. It does not hold a private key. All four tools are paid, and the listed prices are small per-call charges: `deps_check` costs $0.003, `x402_preflight` $0.002, `json_repair` $0.002, and `url_read` $0.004.

## How it works

The FabTally Guard MCP server can run locally over stdio or be reached through its hosted streamable-HTTP endpoint. A tool call without payment returns the decoded x402 402 challenge. Calls can include an optional `x_payment` value containing a base64 x402 payload; the server forwards it in the `X-PAYMENT` header to settle the request and return the result.

For the HTTP API, a human can also prepay by card and send an `X-FabTally-Key` credit key. The MCP server itself does not manage private keys.

## Setup and configuration

Use the portable stdio transport with:

```text
npx fabtally-guard-mcp
```

The package exposes the `fabtally-guard-mcp` binary. For a hosted connection, configure an MCP client to use:

```text
https://guard.fabtally.com/mcp
```

`FABTALLY_GUARD_BASE` changes the Guard API base URL and defaults to `https://guard.fabtally.com`. No API key or private key is required by the server configuration described in the repository.

## Tools and capabilities

- `deps_check` accepts an ecosystem of `npm`, `pypi`, or `crates`, a package name, and an optional version. It checks OSV.dev vulnerabilities, typosquat similarity, deprecation or yank status, SPDX licensing, age and download signals, then returns a plain-English risk verdict.
- `x402_preflight` accepts a URL and examines another x402 endpoint before payment. It checks the x402 v2 402 challenge, compares price, asset, network, and `payTo` values with the endpoint’s `/.well-known/x402` document, and checks TLS, reachability, and OpenAPI information. It also returns the parsed price.
- `json_repair` accepts a JSON string and a JSON Schema. It repairs common near-misses such as code fences, commas, quotes, keys, literals, and brackets, then applies type coercion and defaults and removes extra fields. Invalid fields produce precise errors.
- `url_read` accepts a public URL and returns cleaned Markdown with a token estimate for RAG.

## Limitations and notes

The FabTally Guard MCP server is not described as a security guarantee. Its output is informational and should be evaluated alongside an agent’s own policy and approval steps. `url_read` cannot be used for private pages, and its retrieval scope is limited to public URLs. Every tool requires payment for a real result, while an unpaid call only exposes the decoded x402 challenge. The repository identifies Sunstone Soft as the operator and fabtally.com as the associated site.

_Full upstream README: https://allmcps.com/mcp/fabtally-guard/readme_

