MCP (Modelo de Contexto de Protocolo)
@MiguelAngelGutierrezMaya
关于 MCP (Modelo de Contexto de Protocolo)
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"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP (Modelo de Contexto de Protocolo)?
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.
How to use MCP (Modelo de Contexto de Protocolo)?
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.
Key features of MCP (Modelo de Contexto de Protocolo)
- TypeScript with strict mode and advanced type checking
- ESLint with flat config and Prettier formatting
- Zod schema validation library
- Weather query tools via MCP server
- Modern package management with pnpm
- Clear error handling and URL safety
Use cases of MCP (Modelo de Contexto de Protocolo)
- Building a weather data MCP server for client applications
- Developing and testing MCP protocol implementations
- Practicing TypeScript and code quality tooling setup
- Creating a reference MCP server with best practices
FAQ from MCP (Modelo de Contexto de Protocolo)
What runtime and dependencies are required?
Node.js is the runtime, with pnpm as the package manager. TypeScript, ESLint, Prettier, and Zod are configured.
How can I inspect the MCP server?
Run npx @modelcontextprotocol/inspector npx -y tsx src/main.ts to launch the inspector.
What tools does the server provide?
The server includes tools for querying weather data, implemented in src/main.ts.
How do I set up the project for development?
Use pnpm dev to start in development mode, pnpm lint to check code, and pnpm format to auto-format.
What is the project structure?
Main entry point is src/main.ts, interfaces in src/interfaces.ts, compiled output in dist/.
其他 分类下的更多 MCP 服务器
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
ACI: Open-Source Infra to Power Unified MCP Servers
aipotheosis-labsACI.dev is the open source tool-calling platform that hooks up 600+ tools into any agentic IDE or custom AI agent through direct function calling or a unified MCP server. The birthplace of VibeOps.
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
Blender
ahujasidOpen-source MCP to use Blender with any LLM

Peekaboo MCP – lightning-fast macOS screenshots for AI agents
steipetePeekaboo is a macOS CLI & optional MCP server that enables AI agents to capture screenshots of applications, or the entire system, with optional visual question answering through local or remote AI models.
评论