错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Building an MCP Client

  • Gerald Versluis

摘要

So far in this book, we have spent all of our time on the server side. We have built tools, exposed resources, defined prompts, configured transports, and wired up dependency injection. Every time we wanted to test our work, we reached for an existing client like Claude Desktop or GitHub Copilot in VS Code. That is perfectly fine for many scenarios, but what happens when you need to talk to an MCP server from your own code?