MCP server/communication

VK MCP Server

Model Context Protocol (MCP) server for VK (VKontakte) social network API

★ 9bulatko/vk-mcp-server ↗by bulatkoupdated
1

Add it to Claude Code

claude mcp add -e "VK_ACCESS_TOKEN=${VK_ACCESS_TOKEN}" vk-mcp-server -- npx -y vk-mcp-server
Required:VK_ACCESS_TOKEN
2

Make your agent remember this setup

vk-mcp-server's config, env vars, and the gotchas you hit — recalled in every future Claude Code, Cursor, and Codex session.

npx conare@latest

Free · one command · indexes the sessions already on disk. Set up in the browser instead →

What it does

  • Read operations for users, wall posts, groups, friends, newsfeed, and photos
  • Write operations to create posts and add comments
  • Access to community statistics for administrators
  • Secure token-based authentication
  • Comprehensive test coverage

Tools 10

vk_users_getGet user profiles by IDs or screen names
vk_wall_getGet posts from user/community wall
vk_wall_postPublish a new post
vk_wall_create_commentAdd comment to a post
vk_groups_getGet user's communities list
vk_groups_get_by_idGet community info by ID
vk_friends_getGet user's friends list
vk_newsfeed_getGet user's newsfeed
vk_stats_getGet community statistics (admin only)
vk_photos_getGet photos from albums

Environment Variables

VK_ACCESS_TOKENrequiredAccess token obtained from VK Developers for API authentication

Try it

Get information about Pavel Durov's VK profile
Show me the latest 5 posts from the VK official community
Post 'Hello World!' on my wall
Get the list of communities I'm a member of
Show my newsfeed
Original README from bulatko/vk-mcp-server

VK MCP Server

<strong>Model Context Protocol (MCP) server for VK (VKontakte) social network API</strong>

Enables AI assistants like Claude to interact with VK through a standardized interface.

<a href="https://glama.ai/mcp/servers/bulatko/vk-mcp-server"> </a>

Features

  • Read Operations: Get users, wall posts, groups, friends, newsfeed, photos
  • Write Operations: Create posts, add comments
  • Analytics: Get community statistics
  • Secure: Token-based authentication via environment variable
  • Tested: Comprehensive test coverage
  • Easy Install: Available on npm and MCP Registry

Quick Start

Installation

npm install -g vk-mcp-server

Or run directly with npx:

npx vk-mcp-server

MCP Registry

Also available in the official MCP Registry:

io.github.bulatko/vk

Getting VK Access Token

  1. Go to VK Developers and create a Standalone app
  2. Get your app ID
  3. Open this URL (replace YOUR_APP_ID):
    https://oauth.vk.com/authorize?client_id=YOUR_APP_ID&display=page&redirect_uri=https://oauth.vk.com/blank.html&scope=friends,wall,groups,photos,stats,offline&response_type=token&v=5.199
    
  4. Authorize and copy the access_token from the URL

Configuration

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "vk": {
      "command": "npx",
      "args": ["-y", "vk-mcp-server"],
      "env": {
        "VK_ACCESS_TOKEN": "your_access_token_here"
      }
    }
  }
}

Claude Code

Add to your project's .mcp.json:

{
  "mcpServers": {
    "vk": {
      "command": "npx",
      "args": ["-y", "vk-mcp-server"],
      "env": {
        "VK_ACCESS_TOKEN": "your_access_token_here"
      }
    }
  }
}

Available Tools

Tool Description
vk_users_get Get user profiles by IDs or screen names
vk_wall_get Get posts from user/community wall
vk_wall_post Publish a new post
vk_wall_create_comment Add comment to a post
vk_groups_get Get user's communities list
vk_groups_get_by_id Get community info by ID
vk_friends_get Get user's friends list
vk_newsfeed_get Get user's newsfeed
vk_stats_get Get community statistics (admin only)
vk_photos_get Get photos from albums

Usage Examples

Once configured, you can ask Claude:

  • "Get information about Pavel Durov's VK profile"
  • "Show me the latest 5 posts from the VK official community"
  • "Post 'Hello World!' on my wall"
  • "Get the list of communities I'm a member of"
  • "Show my newsfeed"

Example Conversation

User: What's on Pavel Durov's wall?

Claude: I'll check Pavel Durov's VK wall for recent posts.
[Uses vk_wall_get with domain="durov"]

Here are the latest posts from Pavel Durov's wall:
1. [Post content...]
2. [Post content...]

Testing

Run the test suite:

npm test

Run tests with coverage:

npm run test:coverage

API Reference

This server wraps VK API v5.199. For detailed parameter documentation, see:

Security Notes

  • Never share your access token
  • The offline scope provides a non-expiring token
  • Review permissions before authorizing
  • For production, consider using a service token

Contributing

Contributions are welcome! Please read the Contributing Guidelines first.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

MIT © 2026 bulatko

Links

Frequently Asked Questions

What are the key features of VK MCP Server?

Read operations for users, wall posts, groups, friends, newsfeed, and photos. Write operations to create posts and add comments. Access to community statistics for administrators. Secure token-based authentication. Comprehensive test coverage.

What can I use VK MCP Server for?

Automating social media updates by posting directly to a VK wall via AI. Retrieving and summarizing recent newsfeed updates or community posts. Analyzing community engagement metrics using the statistics tool. Quickly looking up user profile information or community details.

How do I install VK MCP Server?

Install VK MCP Server by running: npm install -g vk-mcp-server

What MCP clients work with VK MCP Server?

VK MCP Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Conare · memory for coding agents

Turn this server into reusable context

Keep VK MCP Server docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Set up free$npx conare@latest