Skip to main content
Glama
Selenium39

Qiita API MCP Server

follow_user

Follow a specific user on Qiita to track their articles and activities within the Japanese developer community platform.

Instructions

指定されたユーザーをフォローします

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
userIdYesユーザーID

Implementation Reference

  • The handler definition for the 'follow_user' tool, which validates input using userIdSchema and executes by calling client.followUser(userId).
    follow_user: {
      schema: userIdSchema,
      execute: async ({ userId }, client) => client.followUser(userId),
    },
  • The MCP tool schema definition for 'follow_user', including input schema for userId.
    {
      name: 'follow_user',
      description: '指定されたユーザーをフォローします',
      inputSchema: {
        type: 'object',
        properties: {
          userId: {
            type: 'string',
            description: 'ユーザーID',
          },
        },
        required: ['userId'],
      },
    },
  • The Qiita API client method that performs the actual HTTP PUT request to follow a user.
    async followUser(userId: string) {
      this.assertAuthenticated();
      await this.client.put(`/users/${userId}/following`);
      return { success: true };
    }

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/Selenium39/mcp-server-qiita'

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