get_post
Pack: jsonplaceholder · Endpoint: https://gateway.pipeworx.io/jsonplaceholder/mcp
Fetch a single fake blog post by ID (e.g., “1”). Returns post ID, user ID, title, and body text.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | number | yes | Post ID to retrieve (1–100). |
Example call
Arguments
{
"id": 1
}
curl
curl -X POST https://gateway.pipeworx.io/jsonplaceholder/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_post","arguments":{"id":1}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_post', {
"id": 1
});
More examples
{
"id": 42
}
Response shape
Always returns: id, user_id, title, body
| Field | Type | Description |
|---|---|---|
id | number | Post ID |
user_id | number | ID of the user who created the post |
title | string | Post title |
body | string | Post body text |
Full JSON Schema
{
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Post ID"
},
"user_id": {
"type": "number",
"description": "ID of the user who created the post"
},
"title": {
"type": "string",
"description": "Post title"
},
"body": {
"type": "string",
"description": "Post body text"
}
},
"required": [
"id",
"user_id",
"title",
"body"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"jsonplaceholder": {
"url": "https://gateway.pipeworx.io/jsonplaceholder/mcp"
}
}
}
See Getting Started for client-specific install steps.