Skip to main content
Glama

Twitter MCP Server

request-param.helper.d.ts1.25 kB
/// <reference types="node" /> /// <reference types="node" /> import type { RequestOptions } from 'https'; import type { TBodyMode, TRequestBody, TRequestQuery, TRequestStringQuery } from '../types/request-maker.mixin.types'; export declare class RequestParamHelpers { static readonly JSON_1_1_ENDPOINTS: Set<string>; static formatQueryToString(query: TRequestQuery): TRequestStringQuery; static autoDetectBodyType(url: URL): TBodyMode; static addQueryParamsToUrl(url: URL, query: TRequestQuery): void; static constructBodyParams(body: TRequestBody, headers: Record<string, string>, mode: TBodyMode): string | Buffer; static setBodyLengthHeader(options: RequestOptions, body: string | Buffer): void; static isOAuthSerializable(item: any): boolean; static mergeQueryAndBodyForOAuth(query: TRequestQuery, body: TRequestBody): any; static moveUrlQueryParamsIntoObject(url: URL, query: TRequestQuery): URL; /** * Replace URL parameters available in pathname, like `:id`, with data given in `parameters`: * `https://x.com/:id.json` + `{ id: '20' }` => `https://x.com/20.json` */ static applyRequestParametersToUrl(url: URL, parameters: TRequestQuery): URL; } export default RequestParamHelpers;

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/crazyrabbitLTC/mcp-twitter-server'

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