- Explore MCP Servers
- Basic-MCP
Basic Mcp
What is Basic Mcp
Basic-MCP is a basic implementation of an MCP server built using Express.js, designed to interact with the OpenRouter API and utilize GPT-4.0 as the MCP client.
Use cases
Use cases for Basic-MCP include querying product lists, identifying the most and least expensive products, and providing customer support through product-related inquiries.
How to use
To use Basic-MCP, first start the products server by running ‘node server.js’. Then, initiate the MCP server with ‘node mcp.js’. Ensure you have a valid OpenRouter API key and create a .env file as per the provided example.
Key features
Key features of Basic-MCP include integration with OpenRouter API, the ability to handle product-related queries, and the use of GPT-4.0 for generating responses.
Where to use
Basic-MCP can be used in e-commerce platforms, product management systems, and any application that requires product information retrieval and interaction.
Overview
What is Basic Mcp
Basic-MCP is a basic implementation of an MCP server built using Express.js, designed to interact with the OpenRouter API and utilize GPT-4.0 as the MCP client.
Use cases
Use cases for Basic-MCP include querying product lists, identifying the most and least expensive products, and providing customer support through product-related inquiries.
How to use
To use Basic-MCP, first start the products server by running ‘node server.js’. Then, initiate the MCP server with ‘node mcp.js’. Ensure you have a valid OpenRouter API key and create a .env file as per the provided example.
Key features
Key features of Basic-MCP include integration with OpenRouter API, the ability to handle product-related queries, and the use of GPT-4.0 for generating responses.
Where to use
Basic-MCP can be used in e-commerce platforms, product management systems, and any application that requires product information retrieval and interaction.
Content
Basic Server MCP
This is a basic implementation of an MCP server using Express.js. I used OpenRouter with GPT-4.0 as the MCP client.
How to run:
- First, start the products server by running “node server.js”. After that, you can start the MCP server using the command “node mcp.js”.
- Remember to provide a valid OpenRouter API key to use the models. To do this, get your own API key from https://openrouter.ai/settings/keys and create a .env file using the structure provided in .env.example.
Prompts:
You can enter prompts related to the products served by the server, such as:
- “Give me the list of all products” or
- “What’s the most expensive product and the cheapest one”