Prerequisites
- WordPress 6.2+ with PHP 8.0+
- GetMCP plugin installed and activated (Installation Guide)
- An API you want to expose (or use a public API like OpenWeatherMap for testing)
Step 1: Create a Server
Step 2: Add a Tool
Configure the Tool
Fill in the tool details:
- Name:
get_weather(use snake_case — this is how AI clients call it) - Description:
Get current weather for a city(AI uses this to decide when to call the tool) - Endpoint URL:
https://wttr.in/{city}?format=j1 - HTTP Method:
GET

Define Input Parameters
In the Input Schema section, add a parameter:
- Name:
city - Type:
string - Required: Yes
- Description:
The city name to get weather for
city → Path (it replaces {city} in the URL).Step 3: Test the Tool
Before connecting an AI client, verify the tool works correctly.Step 4: Connect an AI Client
Copy the Server URL
On the server detail page, find the MCP Endpoint URL. It looks like:Copy this URL.
Step 5: Use It
Open your AI client and ask it to use your tool:“What’s the weather like in Tokyo?”The AI will automatically discover and call your
get_weather tool via the MCP protocol.
Next Steps
Authentication
Secure your tools with API keys, Bearer tokens, or OAuth 2.0
Resources & Prompts
Expose static content and reusable prompt templates
Analytics
Monitor tool usage and performance
cURL Import
Import existing API calls directly from cURL commands

