Skip to main content
Glama
bulatko

vk-mcp-server

vk_wall_get

Retrieve posts from VKontakte user or community walls using owner ID or domain, with pagination support for accessing content.

Instructions

Get posts from a user or community wall

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
owner_idNoWall owner ID (negative for community)
domainNoShort address of user or community
countNoNumber of posts (1-100)
offsetNoOffset for pagination

Implementation Reference

  • Tool registration and input schema definition for vk_wall_get
    {
      name: 'vk_wall_get',
      description: 'Get posts from a user or community wall',
      inputSchema: {
        type: 'object',
        properties: {
          owner_id: { type: 'number', description: 'Wall owner ID (negative for community)' },
          domain: { type: 'string', description: 'Short address of user or community' },
          count: { type: 'number', description: 'Number of posts (1-100)' },
          offset: { type: 'number', description: 'Offset for pagination' },
        },
      },
    },
  • Handler logic for vk_wall_get tool - processes arguments and calls the VK API
    case 'vk_wall_get':
      result = await vk.wallGet({
        owner_id: args.owner_id,
        domain: args.domain,
        count: args.count || 20,
        offset: args.offset,
      });
      break;
  • VKClient wallGet helper method that makes the actual VK API call
    wallGet(params) { return this.call('wall.get', params); }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bulatko/vk-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server