MCP.so
Sign In

MCP System Backend

@Avinashsharma01

Basic information

Category

Other

Transports

stdio

Author

Avinashsharma01

About MCP System Backend

No overview available yet

MCP System Backend config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

MCP System Backend tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP System Backend?

A robust RESTful API backend for the Material Collection Point (MCP) System built with Node.js, Express, and MongoDB. It manages partners, pickups, orders, and wallet transactions, intended for users and administrators of material collection and recycling operations.

How to use MCP System Backend?

Clone the repository, run npm install to install dependencies, create a .env file with PORT, MONGO_URI, and JWT_SECRET, then start the development server with npm run dev. Optionally seed the database using npm run seed.

Key features of MCP System Backend

  • Partner registration and management
  • Pickup creation, assignment, and status tracking
  • Order creation with itemized pricing
  • Wallet deposits, withdrawals, and balance queries
  • JWT-based authentication and role-based access control
  • Standardized JSON API responses

Use cases of MCP System Backend

  • MCP partners schedule and manage material pickups for clients
  • Users place orders for recycled products and pay via wallet
  • Admins filter pickups by status or date to monitor operations
  • Partners and users view transaction history for financial tracking
  • New users register and login to access protected endpoints

Frequently asked questions

1

What is the authentication flow?

Users or partners register or login via dedicated endpoints, and the server returns a JWT token. This token must be sent in the `Authorization` header for all protected requests.

2

What environment variables are required?

The `.env` file needs `PORT` (e.g., 5000), `MONGO_URI` (MongoDB connection string), and `JWT_SECRET` (a secret key for signing tokens).

3

What database does the system use?

It uses MongoDB for storing users, partners, pickups, orders, wallets, and transactions.

4

What roles are supported?

The system supports roles such as "MCP", "PickupPartner", and "user". Some endpoints are restricted based on these roles.

5

How do I set up the server locally?

Run `npm install`, create a `.env` file with the required variables, then start the server with `npm run dev`. Optionally seed sample data with `npm run seed`.

Comments

More Other MCP servers