Skip to main content
Glama

Claudeus WordPress MCP

by deus-h
posts.ts917 B
import { BaseApiClient } from './base-client.js'; import { Post, PostData, PostFilters, Revision, Autosave } from '../types/post.js'; export class PostsApiClient extends BaseApiClient { async getPosts(filters?: PostFilters): Promise<Post[]> { return this.get<Post[]>('/posts', filters); } async createPost(data: PostData): Promise<Post> { return this.post<Post>('/posts', data); } async updatePost(id: number, data: Partial<PostData>): Promise<Post> { return this.put<Post>(`/posts/${id}`, data); } async deletePost(id: number): Promise<void> { return this.delete(`/posts/${id}`); } async getPostRevisions(id: number): Promise<Revision[]> { return this.get<Revision[]>(`/posts/${id}/revisions`); } async getPostAutosaves(id: number): Promise<Autosave[]> { return this.get<Autosave[]>(`/posts/${id}/autosaves`); } }

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/deus-h/claudeus-wp-mcp'

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