MCP.so
登录

Jsonplaceholder MCP Server

@p-gokul

基本信息

分类

其他

传输方式

stdio

作者

p-gokul

关于 Jsonplaceholder MCP Server

A simple mcp server of JsonPlaceHolder.

#jsonplaceholder#mcp#server

Jsonplaceholder MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "JsonPlaceHolder-MCP": {
      "command": "bun",
      "args": [
        "run",
        "index.ts"
      ]
    }
  }
}

Jsonplaceholder MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is jsonplaceholder-mcp?

jsonplaceholder-mcp is a Model Context Protocol server that interacts with the JSONPlaceholder API to provide access to users, posts, albums, and related data. It is built with TypeScript, Zod for schema validation, and the Fetch API.

How to use jsonplaceholder-mcp?

You can use jsonplaceholder-mcp with Claude Desktop either by building a Docker image and adding it to claude_desktop_config.json or by installing dependencies, building the server, and configuring it with the path to the compiled JavaScript file. Local inspection is also possible via npm run inspect.

Key features of jsonplaceholder-mcp

  • Get all users from the JSONPlaceholder API
  • Get a specific user by ID
  • Retrieve all posts created by a user
  • Fetch all albums created by a user
  • Retrieve all todos for a user
  • Get all posts or a post by ID
  • Get all comments on a specific post
  • Get all albums or an album by ID
  • Retrieve all photos in an album

Use cases of jsonplaceholder-mcp

  • List all users and their associated posts, albums, and todos
  • Retrieve the details of a single user by ID
  • Get all comments for a given post
  • Query all photos belonging to a specific album
  • Fetch a specific album or post by its identifier

常见问题

1

What API does jsonplaceholder-mcp use?

It uses the free fake JSONPlaceholder API at `https://jsonplaceholder.typicode.com`.

2

How do I run jsonplaceholder-mcp with Claude Desktop?

You can run it via Docker (build the image and add a Docker command to `claude_desktop_config.json`) or via NPX (install dependencies, build the server, and specify the absolute path to `dist/index.js` in the config).

3

What are the main tool categories in jsonplaceholder-mcp?

The tools are grouped into User Tools, Post Tools, and Album Tools, covering retrieval of users, posts, comments, albums, photos, and todos.

4

What dependencies and runtime does jsonplaceholder-mcp require?

It is built with TypeScript, uses Zod for schema validation, and the Fetch API. It runs on Node.js and requires npm for building.

5

Does jsonplaceholder-mcp require authentication?

No. JSONPlaceholder is a free, public API that does not require authentication.

评论

其他 分类下的更多 MCP 服务器