What runtime dependencies does Demo MCP Basic require?
Node.js version 23.0 or higher and npm (bundled with Node.js). A Google AI API key (for Gemini) or a Vertex AI project ID is required.
@bertrandgressier
基本信息
Demo of MCP server with HTTP SSE and a client
工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
Demo MCP Basic demonstrates a fundamental client‑server interaction using the Model Context Protocol (MCP). The server provides simple calculation tools (addition, subtraction, etc.) and the client, using the AI SDK, connects a Google AI model (Gemini/Vertex AI) to those tools, enabling the AI to call external functionalities during text generation.
Clone the repository, install dependencies (npm install), and create a .env file with your Google AI API key or Vertex AI project ID. Build the project with npm run build, then start the server (npm run start:server) and the client (npm run start:client). Development modes are available via npm run dev:server and npm run dev:client.
Node.js version 23.0 or higher and npm (bundled with Node.js). A Google AI API key (for Gemini) or a Vertex AI project ID is required.
The client connects to the server via SSE (Server‑Sent Events) at `http://localhost:3001/sse`.
The server exposes simple calculation tools, specifically addition and subtraction (and potentially other basic arithmetic operations).
All configuration (API keys, project IDs) is stored locally in a `.env` file. No external databases are used; the server runs locally and communicates with Google’s AI services over HTTPS.
The server only offers basic arithmetic tools. The client is a demonstration script hard‑coded to evaluate `"6 + 12"` and relies on the AI model correctly invoking the tool. No authentication or secure transport beyond SSE is implemented.

Model Context Protocol Servers
This open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Painless E2E Automation for Mobile and Web

A good sequence diagram can solve almost any communication problem in engineering. Volley lets your agent write them as plain text, with the real request and response payloads on every arrow. It checks its own syntax wi

Health by Dr Brad works out a health plan from your own results: which screening is due at your age, and evidence-based suggestions, each with the reason and the published guideline or study behind it. Your record is one
评论