Skip to main content
Glama

Claudeus WordPress MCP

by deus-h
handlers.ts586 B
import { WordPressClient } from '../../wordpress-client.js'; import axios from 'axios'; export async function handleDiscoveryTools(name: string, args: Record<string, unknown>, client: WordPressClient) { switch (name) { case 'claudeus_wp_discover_endpoints': { const baseUrl = client.site.url; const response = await axios.get(`${baseUrl}/wp-json/`); return { content: [{ type: "text", text: JSON.stringify(response.data, null, 2) }] }; } default: throw new Error(`Unknown discovery tool: ${name}`); } }

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