mcpField
V
vk-mcp

vk-mcp

Local
github.com/theYahiaSocial Media1Updated 8w ago

About vk-mcp

vk-mcp is an MCP server for AI assistants that work with the VK API. It provides tools for wall posts, search, user and group details, messaging, and group statistics, over stdio or Streamable HTTP.

Key features

  1. 01Read and publish wall posts
  2. 02Search posts by keyword
  3. 03Retrieve user, group, and friend details
  4. 04Send messages and view group statistics

Use cases

  1. 01Check recent posts on a user or group wall
  2. 02Find VK posts about a topic
  3. 03Send a message to a VK user
  4. 04Review a group's statistics

MCP support

The server exposes eight VK API tools to MCP clients for posts, search, users, groups, friends, messaging, and statistics. It supports stdio and Streamable HTTP.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"theyahia-vk": {
"command": "npx",
"args": [
"-y",
"@theyahia/vk-mcp"
],
"env": {
"VK_ACCESS_TOKEN": "<VK_ACCESS_TOKEN>"
}
}
}
}
Run commandnpx -y @theyahia/vk-mcp
Environment variables to set
VK_ACCESS_TOKENSecretAPI key for the service

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@theyahia/vk-mcp1.0.1

Tools

4

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
countintegerNoNumber of records
offsetintegerNoOffset
owner_idnumberYesWall owner's ID (user or group; negative for groups)

Details

From the project README

VK MCP — публикация во ВКонтакте и работа со стеной из нейросети

Если вы искали, как постить во ВКонтакте прямо из диалога с ИИ, читать стену сообщества, разбирать личные сообщения или снимать статистику группы без ручных выгрузок — это оно. 8 инструментов поверх VK API: записи со стены, публикация, сообщения, друзья, пользователи, группы и статистика.

npm License: MIT

Часть серии WWmcp (46 серверов) by @theYahia.

Установка

Claude Desktop
{
  "mcpServers": {
    "vk": {
      "command": "npx",
      "args": ["-y", "@theyahia/vk-mcp"],
      "env": { "VK_ACCESS_TOKEN": "your-token" }
    }
  }
}
Claude Code
claude mcp add vk -e VK_ACCESS_TOKEN=your-token -- npx -y @theyahia/vk-mcp
VS Code / Cursor
{
  "servers": {
    "vk": {
      "command": "npx",
      "args": ["-y", "@theyahia/vk-mcp"],
      "env": { "VK_ACCESS_TOKEN": "your-token" }
    }
  }
}
Smithery
npx @smithery/cli install @theyahia/vk-mcp --client claude

Требуется VK_ACCESS_TOKEN. Получите на vk.com/dev.

Транспорт

РежимЗапуск
stdio (по умолчанию)npx @theyahia/vk-mcp
Streamable HTTPnpx @theyahia/vk-mcp --http (порт 3000 или PORT=8080)

Инструменты (8)

ИнструментМетод VK APIОписание
get_wallwall.getЗаписи со стены пользователя или сообщества
post_wallwall.postПубликация записи на стене
search_postsnewsfeed.searchПоиск постов по ключевым словам
get_userusers.getИнформация о пользователях
get_groupsgroups.getByIdИнформация о сообществах
get_friendsfriends.getСписок друзей пользователя
send_messagemessages.sendОтправка сообщения
get_statsstats.getСтатистика сообщества

Skills (Prompts)

SkillОписание
post-wallОпубликуй пост в группу VK
group-statsСтатистика группы VK за N дней

Примеры

Покажи последние посты со стены Дурова
Опубликуй пост "Привет мир!" в группу 123456
Найди посты про AI в VK
Информация о группе team
Покажи моих друзей
Статистика группы 123456 за 30 дней

Разработка

npm install
npm test          # Vitest
npm run build     # TypeScript
npm run dev       # tsx watch

API

  • Base URL: https://api.vk.com/method/
  • API version: v=5.199
  • Auth: VK_ACCESS_TOKEN (env)
  • Retry: 3 попытки с exponential backoff (429, 5xx)
  • Timeout: 10 секунд

Часть серии WWmcp

46 серверов: github.com/theYahia/WWmcp

Лицензия

MIT


Часть WWmcp · Telegram: @vhodvai

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.