Skip to main content
Glama
lib.ts998 B
/** * MCP WordPress Remote - Library Exports * * This file exports logger, configuration, types, and utilities for external packages. * Import via: @automattic/mcp-wordpress-remote/lib */ // Export logger and logging utilities export { logger, log, LogLevel } from './lib/utils.js'; // Export configuration utilities export { CONFIG, getConfig, validateConfig, getDefaultOAuthScopes, parseCustomHeaders, getCustomHeaders } from './lib/config.js'; // Export WordPress API utilities export { wpRequest } from './lib/wordpress-api.js'; // Export common types export type { WPTokens, WPClientInfo, TokenValidationResult } from './lib/oauth-types.js'; export type { WordPressRequestParams, WordPressResponse } from './lib/types.js'; // Export error types export { OAuthError, AuthError, APIError, ConfigError, isOAuthError, isAuthError, isAPIError, isConfigError, } from './lib/oauth-types.js'; // Export version export { MCP_WORDPRESS_REMOTE_VERSION } from './lib/utils.js';

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/Automattic/mcp-wordpress-remote'

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