simple-mcp-server
by muk-shobhit
This project demonstrates how to build simple MCP (Model Context Protocol) servers for fetching weather information and stock prices. It includes two agents: `weather-agent` and `stocks-agent`.
Last updated: N/A
What is simple-mcp-server?
This is a project that provides simple MCP servers for fetching weather information and stock prices. It includes two agents: weather-agent
and stocks-agent
.
How to use simple-mcp-server?
- Clone the repository. 2. Install dependencies for each agent using
npm install
. 3. Configure the.vscode/mcp.json
file. 4. Start both MCP servers from.vscode/mcp.json
. 5. Test the servers by asking questions related to weather or stocks.
Key features of simple-mcp-server
Fetches real-time weather information for a given city
Provides real-time stock prices for various symbols in the Indian share market
Uses the Model Context Protocol (MCP)
Includes weather and stocks agents
Use cases of simple-mcp-server
Integrating weather information into applications
Integrating stock prices into applications
Building MCP-based applications
Demonstrating MCP server implementation
FAQ from simple-mcp-server
What is MCP?
What is MCP?
MCP stands for Model Context Protocol.
What is the weather-agent?
What is the weather-agent?
The weather-agent fetches real-time weather information (temperature and conditions) for a given city.
What is the stocks-agent?
What is the stocks-agent?
The stocks-agent provides real-time stock prices for various symbols in the Indian share market.
What are the prerequisites for running this server?
What are the prerequisites for running this server?
Node.js (v16 or higher) and NPM or Yarn are required.
How do I start the MCP servers?
How do I start the MCP servers?
Start both MCP servers from the .vscode/mcp.json
file.