A minimal MCP server demo written without the MCP Python SDK that demonstrates the complete protocol flow. It provides weather, file search, and datetime tools, and includes a CLI client that bridges MCP tools with OpenAI function calling.
Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.
Install from
M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.
process.env. You'll be asked to provide them before it can run.OPENAI_API_KEY— 如果 chat 输出 OpenAI API quota is exhausted (429 insufficient_quota),意思是模型 API 拒绝了请求:当前 所属项目没有可用额度或 billing 没开通。这不是 MCP server 失败,因为请求在模型返回 tool call 之前就被拒绝了。OPENAI_BASE_URLNANOMCP_MODEL— gpt-4.1-miniNANOMCP_TIMEZONE— Asia/ShanghaiNANOMCP_FILE_ROOT— ~/Desktop/nanomcp python3 -m nanomcp.cli call find_files '{"query":".py"}'NANOMCP_LIVE_WEATHER— 1 python3 -m nanomcp.cli call get_weather '{"location":"Shanghai"}'[](https://m8ven.ai/mcp/szfmsmdx-nanomcp-1bv1e1)