# Vk Mcp

> MCP server for VKontakte — wall posts, news, users, groups (Russia)

- **Type:** MCP server
- **Install:** `agentstack add mcp-theyahia-vk-mcp`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [theYahia](https://agentstack.voostack.com/s/theyahia)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [theYahia](https://github.com/theYahia)
- **Source:** https://github.com/theYahia/vk-mcp

## Install

```sh
agentstack add mcp-theyahia-vk-mcp
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# @theyahia/vk-mcp

MCP-сервер для VK API — записи со стены, публикация, сообщения, друзья, пользователи, группы, статистика. **8 инструментов.**

[](https://www.npmjs.com/package/@theyahia/vk-mcp)
[](https://opensource.org/licenses/MIT)

Часть серии [Russian API MCP](https://github.com/theYahia/russian-mcp) (50 серверов) by [@theYahia](https://github.com/theYahia).

## Установка

### Claude Desktop

```json
{
  "mcpServers": {
    "vk": {
      "command": "npx",
      "args": ["-y", "@theyahia/vk-mcp"],
      "env": { "VK_ACCESS_TOKEN": "your-token" }
    }
  }
}
```

### Claude Code

```bash
claude mcp add vk -e VK_ACCESS_TOKEN=your-token -- npx -y @theyahia/vk-mcp
```

### VS Code / Cursor

```json
{
  "servers": {
    "vk": {
      "command": "npx",
      "args": ["-y", "@theyahia/vk-mcp"],
      "env": { "VK_ACCESS_TOKEN": "your-token" }
    }
  }
}
```

### Smithery

```bash
npx @smithery/cli install @theyahia/vk-mcp --client claude
```

> Требуется `VK_ACCESS_TOKEN`. Получите на [vk.com/dev](https://vk.com/dev).

## Транспорт

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

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

| Инструмент | Метод VK API | Описание |
|------------|-------------|----------|
| `get_wall` | `wall.get` | Записи со стены пользователя или сообщества |
| `post_wall` | `wall.post` | Публикация записи на стене |
| `search_posts` | `newsfeed.search` | Поиск постов по ключевым словам |
| `get_user` | `users.get` | Информация о пользователях |
| `get_groups` | `groups.getById` | Информация о сообществах |
| `get_friends` | `friends.get` | Список друзей пользователя |
| `send_message` | `messages.send` | Отправка сообщения |
| `get_stats` | `stats.get` | Статистика сообщества |

## Skills (Prompts)

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

## Примеры

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

## Разработка

```bash
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 секунд

## Часть серии Russian API MCP

**50 серверов:** [github.com/theYahia/russian-mcp](https://github.com/theYahia/russian-mcp)

## Лицензия

MIT

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [theYahia](https://github.com/theYahia)
- **Source:** [theYahia/vk-mcp](https://github.com/theYahia/vk-mcp)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-theyahia-vk-mcp
- Seller: https://agentstack.voostack.com/s/theyahia
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
