# vk

Bridges VK (VKontakte) into your AI coding setup: inspect walls, manage community inboxes, and post updates via standardized tools.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 16
- Author: bulatko
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/bulatko/vk-mcp-server
- Updated: 2026-10-10
- HTML: https://affpapa.org/en/nevibecode/mcp/vk

## What it does

The server equips assistants with 25 tools for interacting with VKontakte data. It handles public walls, profile lookups, community dialogs, and publishing posts or stories under a group name. Every query returns typed schemas with explicit pagination hints, which keeps the model moving past the initial batch of posts.

A standalone community token cannot read walls because VK blocks those calls with error 27. Pairing your group token in `VK_ACCESS_TOKEN` with an application service key in `VK_SERVICE_KEY` routes reads and writes properly. Running `npx vk-mcp-server --check` inspects your credentials and reports allowed actions before you run workflows.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `VK_ACCESS_TOKEN`, `VK_SERVICE_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add vk -e VK_ACCESS_TOKEN=<VK_ACCESS_TOKEN> -e VK_SERVICE_KEY=<VK_SERVICE_KEY> -- npx -y vk-mcp-server
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add vk --env VK_ACCESS_TOKEN=<VK_ACCESS_TOKEN> --env VK_SERVICE_KEY=<VK_SERVICE_KEY> -- npx -y vk-mcp-server
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "vk": {
            "command": "npx",
            "args": [
                "-y",
                "vk-mcp-server"
            ],
            "env": {
                "VK_ACCESS_TOKEN": "<VK_ACCESS_TOKEN>",
                "VK_SERVICE_KEY": "<VK_SERVICE_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "vk": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "vk-mcp-server"
            ],
            "env": {
                "VK_ACCESS_TOKEN": "<VK_ACCESS_TOKEN>",
                "VK_SERVICE_KEY": "<VK_SERVICE_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e VK_ACCESS_TOKEN=<VK_ACCESS_TOKEN> -e VK_SERVICE_KEY=<VK_SERVICE_KEY> vk npx -y vk-mcp-server
```
Replace <…> with your own values

## When to use it
- reply to unread community inbox messages
- publish posts and stories to a managed community wall
- inspect public VK profiles and community pages
- generate audience snapshots and engagement digests

## Example prompts
- Check unread messages in the community inbox and draft replies
- Publish this text as a new post to the community wall
- Summarize recent posts on the public community wall

## Similar
- [engagement-inbox-manager](https://affpapa.org/en/nevibecode/skills/engagement-inbox-manager.md) — skill · 1000 installs
- [engagement-routine](https://affpapa.org/en/nevibecode/skills/engagement-routine.md) — skill · 646 installs
- [social-media-manager](https://affpapa.org/en/nevibecode/skills/social-media-manager.md) — skill · 1249 installs
- [max-messenger](https://affpapa.org/en/nevibecode/mcp/max-messenger.md) — MCP server · ★ 11
- [twitter-automation](https://affpapa.org/en/nevibecode/skills/twitter-automation.md) — skill · 870600 installs
- [wonda-cli](https://affpapa.org/en/nevibecode/skills/wonda-cli.md) — skill · 74600 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
