Back to Home
psbds icon

mcp-server-sample

Verified Safe

by psbds

Overview

This MCP server sample demonstrates how to build and integrate various tools and knowledge bases (like weather data and company standards) into an extensible AI agent framework.

Installation

Run Command
npx mcp-dev-blueprints@latest --kb-path . --mode http

Environment Variables

  • AZURE_OPENAI_ENDPOINT
  • AZURE_OPENAI_API_KEY
  • AZURE_OPENAI_DEPLOYMENT_NAME

Security Notes

The server code generally follows good practices, using environment variables for sensitive API keys in the client. The HTTP server is configured to run on localhost by default, limiting direct external exposure. External `fetch` calls are made to `wttr.in` for weather data, which is an external dependency but the input `city` is properly encoded. No 'eval', obfuscation, or obvious malicious patterns were found. The use of the Model Context Protocol SDK mitigates some lower-level transport risks.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassLow
Avg Tokens100
Stars0
Forks0
Last Update2025-11-23

Tags

AI AgentMCPToolingKnowledge BaseWeather