MCP.so
登录

jsonplaceholder-mcp

@p-gokul

关于 jsonplaceholder-mcp

A simple mcp server of JsonPlaceHolder.

基本信息

分类

其他

运行时

node

传输方式

stdio

发布者

p-gokul

配置

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

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

工具

未检测到工具

工具是从 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

FAQ from jsonplaceholder-mcp

What API does jsonplaceholder-mcp use?

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

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).

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.

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.

Does jsonplaceholder-mcp require authentication?

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

评论

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