VK bot with a product MCP server

Product MCP + VK Бот

A learning project: a natural-language VK bot searches and edits products in SQLite through its own REST tool server and OpenAI

MCP server

Medium risk

We rate an entry medium when the tool runs code, makes network calls or reads project files. Check what exactly it does before installing.

Why this level

  • The bot replies to VK community customers automatically without moderation
  • Product edit and delete tools are reachable through the LLM's interpretation of a request
All reasons and checks
Russian stack

gvoronin7-star/vk-bot-with-mcp-server

Install

Manual install

Text for your agent

Clone the repository, install dependencies separately in mcp_server and VK_bot with pip install -r requirements.txt, create a .env with VK_API_TOKEN, PROXY_OPENAI_API_KEY, MCP_SERVER_URL and OPENAI_BASE_URL, and run mcp_server/server.py and VK_bot/bot.py in two terminals.

This is third-party code. Review the repository files before installing.

What it does

The project builds a demo shop: a SQLite database of 102 products across 6 categories, a FastAPI tool server with GET /tools and POST /call endpoints for search, add, edit, delete and a safe calculator with pagination, and a VK bot that receives messages via VK Long Poll, resolves intent through OpenAI (gpt-4o-mini via the proxyapi.ru proxy) and calls the matching server tool. The author labels the server side an MCP server, but it is the project's own REST protocol with tools and call endpoints, not a standard JSON-RPC MCP implementation, so it cannot be wired directly into Claude Code, Cursor or another MCP client without extra work.

Who it is for. For people studying LLM tool-calling bot architecture through a VK example and looking for a ready-made learning scaffold.

Good fit when

  • You want a learning example of a VK bot, an LLM and a tool server tied to a SQLite database
  • You want a scaffold you can rework for your own catalog and messenger
  • You are interested in the specific implementation: Long Poll, a 10-message dialog memory, a safe calculator

Not a fit when

  • You are looking for a standard MCP server to plug into Claude Code or Cursor: this protocol is custom, not JSON-RPC MCP
  • You need a production-ready shop rather than a learning project with 102 sample products

Example request

In a message to the bot: find a smartphone between 5000 and 10000 rubles in the electronics category

Limitations

Despite the name, the tool server does not implement the MCP protocol: it is a custom REST API with GET /tools and POST /call, built for this project's own VK bot. It needs a VK community token and an OpenAI key routed through the proxyapi.ru proxy, whose availability is not guaranteed. The database is a sample one, and no license is stated in the repository.

How to disable. Stop the server.py and bot.py processes and delete the .env file with tokens.

MCP

Transport
http
Authentication
not required
Environment variables
Environment variables
VK_API_TOKEN
required, secret
A VK community token for receiving messages via Long Poll.
PROXY_OPENAI_API_KEY
required, secret
An OpenAI key used through the proxyapi.ru proxy service.
MCP_SERVER_URL
required
The address of the running tool server, defaults to http://127.0.0.1:8000.

Security check

  • The bot replies to VK community customers automatically without moderation
  • Product edit and delete tools are reachable through the LLM's interpretation of a request

README in short

The README frames the project as solving manual catalog management and repetitive customer questions in a VK community: the bot answers instantly, and an admin edits the assortment without database access. It lists the stack (Python, FastAPI, SQLite, vk_api, OpenAI via proxyapi.ru), a four-block architecture, demo screenshots, setup instructions across two virtual environments, and a table of example bot commands.

FAQ

Can this MCP server be plugged into Claude Code as a normal MCP?

Not directly: the server uses its own /tools and /call endpoints rather than the JSON-RPC MCP protocol standard MCP clients expect.

Do I need a separate OpenAI key?

Yes, the project uses OpenAI gpt-4o-mini through the proxyapi.ru proxy service, with the key set in .env.

Official

Salesforce's official DX MCP server: work with orgs, metadata, data, users and Apex tests from your agent

MCP serverHigh risk483Repository stars
Official

Yandex's official skill set: catalog, prices, stock, orders, storefront and a weekly checkup for a Yandex Kit store, through Claude Code or Codex

PluginHigh riskRussian stackNo VPN needed28Repository stars
Editors’ pick

Full 65-operation YouGile API coverage with configurable permissions, write confirmation and a shared company rate limit

MCP serverHigh riskRussian stackNo VPN needed

Bitrix24 portal MCP server

MCP-сервер портала Битрикс24

Official

Bitrix24's official per-portal MCP: an external agent uses OAuth or a token to read and change tasks, deals, meetings and mail

MCP serverHigh riskRussian stackNo VPN needed
Foxx AIVK bot with a product MCP server

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.