get_posts
Pack: jsonplaceholder · Endpoint: https://gateway.pipeworx.io/jsonplaceholder/mcp
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/get_posts for the schema, then POST the same URL with its arguments for the data.
Fetch all fake blog posts for testing and prototyping. Returns post ID, user ID, title, and body text.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
limit | number | no | Maximum number of posts to return (default 10, max 100). |
Example call
Arguments
{
"limit": 10
}
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_posts","arguments":{"limit":10}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_posts', {
"limit": 10
});
More examples
{
"limit": 25
}
Response shape
Always returns: count, posts
| Field | Type | Description |
|---|---|---|
count | number | Number of posts returned |
posts | array | Array of blog posts |
Full JSON Schema
{
"type": "object",
"properties": {
"count": {
"type": "number",
"description": "Number of posts returned"
},
"posts": {
"type": "array",
"description": "Array of blog posts",
"items": {
"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"
]
}
}
},
"required": [
"count",
"posts"
]
}
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.