BILLZ MCP Bridge Server

BILLZ MCP Bridge Server

Enables Claude to read and interact with BILLZ 2.0 data such as products, sales, customers, and categories via the BILLZ REST API.

Category
Visit Server

README

BILLZ MCP ko'prik serveri

Bu loyiha BILLZ 2.0 REST API (https://api-admin.billz.ai) bilan Claude o'rtasida "ko'prik" vazifasini bajaradi. Claude bu server orqali BILLZ'dagi mahsulotlar, savdolar, mijozlar va boshqa ma'lumotlarni o'qiy oladi.

1. Nima kerak bo'ladi

  • Node.js 18+ (loyihani ishga tushirish uchun)
  • BILLZ 2.0 dan olingan Client ID (login) va API kalit (secret) (rasmda ko'rgan "Advanced settings" ichidagi ikkita maydon)
  • Serverni internetga chiqarish uchun bepul hosting hisobi (masalan Render.com yoki Railway.app)

2. Endpoint yo'llari haqida

Autentifikatsiya (login) qismi tasdiqlangan va to'g'ri ishlaydi — rasmiy BILLZ hujjatidagi "Аутентификация" bo'limiga asosan yozilgan: POST /v1/auth/login + {"secret_token": "..."}.

⚠️ Mahsulotlar/savdolar/mijozlar uchun ishlatilgan yo'llar (/v1/products, /v1/orders, /v1/clients, /v1/categories) hali taxminiy — chunki BILLZ hujjatidagi "Методы" bo'limi hali tasdiqlanmagan. Bu bo'limni ochib, aniq yo'llarni tekshiring: https://billzuz.notion.site/API-c2f91aa254f94f8eb7c1b26415dcb25b

Shuning uchun avvaliga faqat billz_request (umumiy so'rov) vositasini ishlating — u har qanday to'g'ri yo'l bilan ishlaydi, chunki faqat to'g'ri autentifikatsiyaga bog'liq. Masalan Claude'ga: "billz_request orqali GET /v1/products yo'liga so'rov yubor" deb aytishingiz mumkin — agar yo'l noto'g'ri bo'lsa, xatolik xabari chiqadi va tuzatib beraman.

3. Kompyuteringizda sinab ko'rish (ixtiyoriy)

cd billz-mcp-server
npm install
cp .env.example .env
# .env faylini ochib, BILLZ_LOGIN, BILLZ_SECRET va MCP_BRIDGE_SECRET
# qiymatlarini to'ldiring
npm start

Brauzerda http://localhost:3000/health ochilsa, server ishlayapti degani.

4. Internetga chiqarish (Render.com misolida)

  1. Bu loyihani GitHub'ga yuklang (yangi repository yarating, fayllarni push qiling).
  2. https://render.com saytida ro'yxatdan o'ting.
  3. New +Web Service → GitHub repositoryingizni tanlang.
  4. Sozlamalar:
    • Build Command: npm install
    • Start Command: npm start
  5. Environment bo'limida quyidagilarni qo'shing:
    • BILLZ_BASE_URL = https://api-admin.billz.ai
    • BILLZ_LOGIN = (sizning Client ID'ingiz, masalan 200400493)
    • BILLZ_SECRET = (sizning API kalitingiz)
    • MCP_BRIDGE_SECRET = (o'zingiz o'ylab topgan uzun tasodifiy matn)
  6. Create Web Service tugmasini bosing va deploy tugashini kuting.
  7. Render sizga shunga o'xshash manzil beradi: https://billz-mcp-server-xxxx.onrender.com

5. Claude'ga ulash

  1. Claude'da Customize → Connectors → "+" → Add custom connector oynasini oching (yoki tashkilot Owner'i Organization Settings orqali).
  2. Name: BILLZ
  3. Remote MCP server URL: https://billz-mcp-server-xxxx.onrender.com/mcp (albatta oxirida /mcp bilan tugashi kerak — bu Notion yoki dashboard havolasi emas, endi bu sizning o'z serveringiz manzili)
  4. Advanced settings ichidagi maydonlarga (agar OAuth emas, oddiy token so'ralsa) MCP_BRIDGE_SECRET qiymatini kiriting.
  5. Add tugmasini bosing.

Shundan keyin Claude'ga: "BILLZ'dagi mahsulotlar ro'yxatini ko'rsat" yoki "BILLZ'dan oxirgi 30 kunlik savdolarni ol" deb yozsangiz, u avtomatik ravishda billz_get_products yoki billz_get_orders vositalarini chaqiradi.

6. Xavfsizlik eslatmalari

  • .env faylini hech qachon GitHub'ga (ochiq repositoryga) yuklamang — .gitignore fayliga .env qatorini albatta qo'shing.
  • MCP_BRIDGE_SECRET — bu serveringizni begonalardan himoya qiladi. Uni ham hech kimga bermang.
  • Agar BILLZ_SECRET biror joyda oshkor bo'lsa (masalan chatga yozib yuborilsa), BILLZ panelida darhol uni bekor qilib, yangisini yarating.

7. Fayllar tuzilishi

billz-mcp-server/
├── package.json          # bog'liqliklar ro'yxati
├── .env.example           # sozlamalar namunasi
├── README.md               # ushbu qo'llanma
└── src/
    ├── billzClient.js     # BILLZ API bilan gaplashish (autentifikatsiya + so'rov)
    └── server.js          # MCP server (Claude bilan gaplashadigan qism)

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured