What runtime and dependencies are required?
Node.js is the runtime, with pnpm as the package manager. TypeScript, ESLint, Prettier, and Zod are configured.
@MiguelAngelGutierrezMaya
基本信息
This project build a local mcp server to fetch weather
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"local-mcp": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"npx",
"-y",
"tsx",
"src/main.ts"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。
MCP (Modelo de Contexto de Protocolo) is an implementation of the Model Context Protocol built with Node.js and TypeScript. It provides a server with tools for querying weather data, intended for developers building MCP-compatible systems.
Install dependencies with pnpm, then run pnpm dev for development, pnpm build to compile, and pnpm start for production. Use npx @modelcontextprotocol/inspector npx -y tsx src/main.ts to inspect the server.
Node.js is the runtime, with pnpm as the package manager. TypeScript, ESLint, Prettier, and Zod are configured.
Run `npx @modelcontextprotocol/inspector npx -y tsx src/main.ts` to launch the inspector.
The server includes tools for querying weather data, implemented in `src/main.ts`.
Use `pnpm dev` to start in development mode, `pnpm lint` to check code, and `pnpm format` to auto-format.
Main entry point is `src/main.ts`, interfaces in `src/interfaces.ts`, compiled output in `dist/`.
YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
A search tool helps dev to solve the naming things problem.
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
不止于 CSS
评论