
通过与你的AI助手对话,直接从 yerevan-city.am 订购杂货
概览
通过与你的AI助手对话,直接从 yerevan-city.am 订购杂货。只需说出你需要什么——客服会帮你找到产品并搭建购物车。 只需设置一次(只需通过短信确认您的电话号码),之后就能继续使用——无需手动打开网站查找产品。 :代理从不付款或下单——它只是建立购物车。结账和付款总是留在你自己的浏览器或应用中。 - 按名称搜索产品 - 显示您保存的配送地址 - 添加和移除购物车中的商品 - 显示购物车内容和总价 服务器发布在 npm 上,称为 yerevan-city-mcp,并通过 npx 运行——无需下载或构建步骤。 在你的AI助手设置里连接它。 —— 打开 MCP 服务器配置文件(开发者设置→ →编辑配置)并添加: 或者直接添加到 ~/.codex/config.toml:
概述(AI 翻译)
直接从 yerevan-city.am 订购杂货 与你的AI助手对话。只需说出你需要的话——客服会找到 产品并为你搭建购物车。
设置一次(只需通过短信确认你的电话号码),它就会保持 之后还能继续工作——不需要打开网站搜索产品 手。
设计上安全:经纪人从不付款或下单——只负责建造 购物车。结账和付款总是随你,在你自己的浏览器里,或者 应用程序。
代理人能做什么
- 按名称搜索产品
- 显示您保存的送货地址
- 从购物车中添加和取出产品
- 显示购物车内容和总价
安装
该服务器在 npm 上发布为
yerevan-city-mcp 并运行
通过 npx ——无需下载或构建步骤。
在你的AI助手设置里连接它。
Claude 代码 — 在终端中运行:
Claude Desktop — 打开MCP服务器配置文件 (→开发者→编辑配置)并添加:
保存后重启应用。
Codex CLI — 在终端中运行:
或者直接添加到~/.codex/config.toml:
opencode — 将其添加到opencode.json:
反重力——从编辑代理面板打开MCP商店,
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
yerevan-city-mcp
Order groceries from yerevan-city.am right from a conversation with your AI assistant. Just say what you need — the agent finds the products and builds the cart for you.
Set up once (you only need to confirm your phone number by SMS) and it keeps working after that — no need to open the site and search for products by hand.
Safe by design: the agent never pays or places an order — it only builds the cart. Checkout and payment always stay with you, in your own browser or app.
What the agent can do
- Search products by name
- Show your saved delivery addresses
- Add and remove products from the cart
- Show the cart contents and total price
Installation
The server is published on npm as
yerevan-city-mcp and runs
via npx — no download or build step needed.
Connect it in your AI assistant’s settings.
Claude Code — run in a terminal:
claude mcp add yerevan-city -- npx -y yerevan-city-mcp
Claude Desktop — open the MCP server config file (Settings → Developer → Edit Config) and add:
{
"mcpServers": {
"yerevan-city": {
"command": "npx",
"args": ["-y", "yerevan-city-mcp"]
}
}
}
Restart the app after saving.
Codex CLI — run in a terminal:
codex mcp add yerevan-city -- npx -y yerevan-city-mcp
Or add it directly to ~/.codex/config.toml:
[mcp_servers.yerevan-city]
command = "npx"
args = ["-y", "yerevan-city-mcp"]
opencode — add it to opencode.json:
{
"mcp": {
"yerevan-city": {
"type": "local",
"command": ["npx", "-y", "yerevan-city-mcp"],
"enabled": true
}
}
}
Antigravity — open the MCP store from the editor’s agent panel,
select “Manage MCP Servers” → “View raw config”, and add to
~/.gemini/config/mcp_config.json:
{
"mcpServers": {
"yerevan-city": {
"command": "npx",
"args": ["-y", "yerevan-city-mcp"]
}
}
}
Done. Tell the assistant something like “order milk and bread” — the first time it touches the cart it will ask you to confirm your phone number by SMS, and it stays logged in after that.
Technical details
Login is a one-time phone + SMS step; the session is then cached locally so it keeps working across restarts.
Tools
request_login_code/confirm_login_code— one-time phone + SMS loginsearch_products— free-text product searchlist_addresses— the account’s saved delivery addressesadd_to_cart/remove_from_cart— build the cart, by piece count or by weightget_cart— current cart contents and total price
Development
npm install
npm run typecheck
npm test
npm run build
npm start
To point an AI assistant at a local build instead of the published package,
use node /full/path/to/dist/index.js as the command in place of
npx -y yerevan-city-mcp.
License
安装
npx -y yerevan-city-mcp配置
{
"mcpServers": {
"yerevan-city": {
"command": "npx",
"args": ["-y", "yerevan-city-mcp"]
}
}
}