MCP.so
登录

simple-mcp-server

@muk-shobhit

关于 simple-mcp-server

Get started with building your first MCP server

基本信息

分类

其他

许可证

MIT license

运行时

node

传输方式

stdio

发布者

muk-shobhit

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is simple-mcp-server?

simple-mcp-server demonstrates how to build Model Context Protocol (MCP) servers for fetching weather information and stock prices. It includes two agents: weather-agent and stocks-agent. This project is intended for developers learning to create MCP tools.

How to use simple-mcp-server?

Clone the repository, then install dependencies for each agent separately using npm install inside the src/weather-agent and src/stocks-agent directories. Configure the server paths in .vscode/mcp.json and start both MCP servers from VS Code to make their tools available.

Key features of simple-mcp-server

  • Weather Agent: Fetches real-time temperature and conditions for a given city.
  • Stocks Agent: Provides real-time stock prices for Indian share market symbols.
  • Uses Node.js (v16 or higher) and NPM/Yarn.
  • Integrates with VS Code via MCP protocol configuration.
  • Demonstrates a clear example of creating multiple MCP tools in one project.

Use cases of simple-mcp-server

  • Learning how to build MCP servers with real-world tools.
  • Quickly fetching weather data for any city through an AI assistant.
  • Checking current stock prices of Indian companies during conversations.

FAQ from simple-mcp-server

What runtime does simple-mcp-server require?

It requires Node.js version 16 or higher and either NPM or Yarn.

How do I install and start the agents?

Clone the repo, then run npm install inside both src/weather-agent and src/stocks-agent. Use the .vscode/mcp.json configuration to start the servers from VS Code.

What tools does this server provide?

It provides a weather tool (temperature and conditions for a city) and a stocks tool (real-time prices for Indian market symbols).

Does it support markets outside India?

No, the stocks agent explicitly only covers the Indian share market.

Is there any authentication or external API key needed?

No API keys or authentication are mentioned in the README; it appears to use free/public data sources.

评论

其他 分类下的更多 MCP 服务器