# 简介

**Xashpay** 是运行在你电脑上的 **MCP（Model Context Protocol）代理与 Solana 支付网关**：默认只监听本机回环地址，把 Agent 的请求转发到上游 MCP；当上游返回 **HTTP 402** 与 **`xashpay-offer-v1`** 报价时，用 **本地密钥** 完成链上付款后继续会话——**私钥不离开你的磁盘**。

本目录是面向 **GitBook / 静态站点** 的文档源；对外可只同步本目录。极简安装说明页见仓库 [`web/`](https://github.com/hanhung38qr-max/ashpay/blob/main/web/README.md)。

***

## 从这里开始

| 文档                                                  | 内容                         |
| --------------------------------------------------- | -------------------------- |
| [**概览**](https://docs.xashpay.co/overview)          | 远景、定位、架构、能力与非目标            |
| [**快速开始**](https://docs.xashpay.co/getting-started) | 客户端（侧车）、服务端（商户）、Agent 三条路径 |
| [**常见问题**](https://docs.xashpay.co/faq)             | FAQ 与安全实践                  |
| [**法律与品牌**](https://docs.xashpay.co/legal)          | 许可证、版权、商标与开源边界             |

技术深挖仍保留在同一目录下的 [`reference/`](https://github.com/hanhung38qr-max/ashpay/blob/main/xashpay-docs/reference/README.md)（协议 SPEC、MCP 英文契约等）与 [`merchant/`](https://github.com/hanhung38qr-max/ashpay/blob/main/xashpay-docs/merchant/README.md)（商户接入），侧边栏不再逐层展开，需要时从 **概览 / 快速开始** 中链接进入即可。

GitHub：[**仓库**](https://github.com/hanhung38qr-max/ashpay) · [**Releases（仅三系统桌面打包）**](https://github.com/hanhung38qr-max/ashpay/releases) · [**npm：侧车 CLI `xashpay-cli`**](https://www.npmjs.com/package/xashpay-cli)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.xashpay.co/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
