JSONPlaceholder MCP Server

by akshay3001

165 downloads
Not rated
GitHub

About

A Model Context Protocol (MCP) server implementation that provides tools to interact with the JSONPlaceholder API (Users, Posts, Comments, Albums, Todos) and basic calculator functions (add, subtract).

Details

Author
akshay3001
Downloads
165
Categories
Other

- Calculator server with basic arithmetic operations (add, subtract)
- JSONPlaceholder server accessing Users, Posts, Comments, Albums, Todos
- VS Code integration via mcp.json or settings.json
- Easy npm scripts to run each server separately
- Supports Node.js v18.0.0 or later with native fetch

Install Node.js v18.0.0 or later, clone the repository, run npm install, then use npm start for the JSONPlaceholder server, npm run start:calculator for the calculator server, or npm run start:jsonplaceholder explicitly. Configuration for VS Code is provided via mcp.json or settings.json.

JSONPlaceholder MCP Server

A Model Context Protocol (MCP) server implementation that provides tools to interact with the JSONPlaceholder API and basic calculator functions.

Features

- Calculator Server: Provides basic arithmetic operations (add, subtract)
- JSONPlaceholder Server: Provides access to the JSONPlaceholder API data:
- Users
- Posts
- Comments
- Albums
- Todos

Getting Started

Prerequisites

- Node.js (v18.0.0 or later for native fetch support)
- npm or yarn

Installation

1. Clone the repository
2. Install dependencies:

npm install

Running the Servers

You can run the servers using npm scripts:

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.