mcp-client-server-sample

elfiservice/mcp-client-server-sample

3.1

If you are the rightful owner of mcp-client-server-sample and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

This project demonstrates how to implement a functional Model Context Protocol (MCP) server using Node.js, Express, and integration with OpenAI.

Tools

Functions exposed to the LLM to take actions

getWeather

Fetches the weather for a specified city

getNews

Fetches news about a specified topic

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources