MCP server for VKontakte — wall posts, news, users, groups (Russia)
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add vk --env VK_ACCESS_TOKEN='<VK_ACCESS_TOKEN>' -- npx -y @theyahia/vk-mcp~/.codex/config.toml
[mcp_servers.vk]
command = "npx"
args = ["-y", "@theyahia/vk-mcp"]
env = { VK_ACCESS_TOKEN = "<VK_ACCESS_TOKEN>" }
# codex mcp add vk --env VK_ACCESS_TOKEN='<VK_ACCESS_TOKEN>' -- npx -y @theyahia/vk-mcp~/.cursor/mcp.json
{
"mcpServers": {
"vk": {
"command": "npx",
"args": [
"-y",
"@theyahia/vk-mcp"
],
"env": {
"VK_ACCESS_TOKEN": "<VK_ACCESS_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"vk": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@theyahia/vk-mcp"
],
"env": {
"VK_ACCESS_TOKEN": "<VK_ACCESS_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"vk": {
"command": "npx",
"args": [
"-y",
"@theyahia/vk-mcp"
],
"env": {
"VK_ACCESS_TOKEN": "<VK_ACCESS_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"vk": {
"command": "npx",
"args": [
"-y",
"@theyahia/vk-mcp"
],
"env": {
"VK_ACCESS_TOKEN": "<VK_ACCESS_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"vk": {
"command": "npx",
"args": [
"-y",
"@theyahia/vk-mcp"
],
"env": {
"VK_ACCESS_TOKEN": "<VK_ACCESS_TOKEN>"
}
}
}
}Environment variables
VK_ACCESS_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.