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

NameTypeRequiredDescription
idnumberyesPost 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

FieldTypeDescription
idnumberPost ID
user_idnumberID of the user who created the post
titlestringPost title
bodystringPost 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.

Regenerated from source · build May 9, 2026