mcp_server
Verified Safeby kwangloc
Overview
This project demonstrates how to build and interact with a Micro-service Communication Protocol (MCP) server using the `fastmcp` library, exposing callable tools over HTTP.
Installation
python my_server.pyEnvironment Variables
- PORT
Security Notes
The server listens on `0.0.0.0` by default, which is common for cloud deployments but requires external network security measures. No obvious hardcoded secrets or dangerous functions like `eval` are present. External API calls are made to `api.frankfurter.app`, which is a legitimate currency exchange service.
Similar Servers
mcp-fastmcp-starter
Provides a minimal, production-minded MCP-shaped tool server for building agentic AI services with typed tool contracts and deterministic JSON I/O via FastAPI.
mcp_server
This project demonstrates how to build and interact with a Micro-service Communication Protocol (MCP) server using the `fastmcp` library, exposing callable tools over HTTP.
mcp_server_example
This server exposes simple Python functions as API endpoints using the FastMCP framework, providing a demonstration of a microservice.
learn-mcp-server
Exposing Python functions as networked tools or microservices using the FastMCP framework.