正在加载视频...

视频加载失败

Here's how to build an MCP server with a single TypeScript file, and connect it to Claude Code. No build step. No bullshit. Totally transformative.

254,095 次观看 • 1 年前 •via X (Twitter)

11 条评论

Matt Pocock 的头像
Matt Pocock1 年前

Here's the code, and a link for sharing outside of X.

Christian Esmann 的头像
Christian Esmann1 年前

I just launched an all-in-one template for cross-platform development, based on the stack I use myself everyday. Expo, NextJS, TypeScript, Tailwind, Firebase, AppsFlyer, Authentication, Analytics, In-App Purchases, Stripe and a lot more, setup by default.

Tom Hopkins 的头像
Tom Hopkins1 年前

after reading their docs and some thought, it's just tool calling? the analog that works best for me is that MCP is like an LSP.

Matt Pocock 的头像
Matt Pocock1 年前

I like Anthropic's analogy that MCP is like a USB - just a way of connecting things together

Justin Reidy 的头像
Justin Reidy1 年前

@jhooks This is great, thanks for sharing

Jean-Paul 的头像
Jean-Paul1 年前

I see you sped up, and didn't wait a week nice

Jean Manzo 的头像
Jean Manzo1 年前

You made me go and research the whole concept of MCPs 😂 Thanks TODO: Add it to the membership in TotalTypescript 👍

Virgile RIETSCH 的头像
Virgile RIETSCH1 年前

Thank you for the video Matt ! Always straight to the point, I love it!

Emeric HUNTER 的头像
Emeric HUNTER1 年前

@vlucas building code is like cooking; simplify the recipe for better results.

cam 🏴‍☠️ 的头像
cam 🏴‍☠️1 年前

This is away @mattpocockuk ! Thank you ☺️

Divyansh Gandhi 的头像
Divyansh Gandhi1 年前

Wow. Real good video. Thank you!

相关视频

New course: MCP: Build Rich-Context AI Apps with Anthropic. Learn to build AI apps that access tools, data, and prompts using the Model Context Protocol in this short course, created in partnership with Anthropic Anthropic and taught by Elie Schoppik Elie Schoppik, its Head of Technical Education. Connecting AI applications to external systems that bring rich context to LLM-based applications has often meant writing custom integrations for each use case. MCP is an open protocol that standardizes how LLMs access tools, data, and prompts from external sources, and simplifies how you provide context to your LLM-based applications. For example, you can provide context via third-party tools that let your LLM make API calls to search the web, access data from local docs, retrieve code from a GitHub repo, and so on. MCP, developed by Anthropic, is based on a client-server architecture that defines the communication details between an MCP client, hosted inside the AI application, and an MCP server that exposes tools, resources, and prompt templates. The server can be a subprocess launched by the client that runs locally or an independent process running remotely. In this hands-on course, you'll learn the core architecture behind MCP. You’ll create an MCP-compatible chatbot, build and deploy an MCP server, and connect the chatbot to your MCP server and other open-source servers. Here’s what you’ll do: - Understand why MCP makes AI development less fragmented and standardizes connections between AI applications and external data sources - Learn the core components of the client-server architecture of MCP and the underlying communication mechanism - Build a chatbot with custom tools for searching academic papers, and transform it into an MCP-compatible application - Build a local MCP server that exposes tools, resources, and prompt templates using FastMCP, and test it using MCP Inspector - Create an MCP client inside your chatbot to dynamically connect to your server - Connect your chatbot to reference servers built by Anthropic’s MCP team, such as filesystem, which implements filesystem operations, and fetch, which extracts contents from the web as markdown - Configure Claude Desktop to connect to your server and others, and explore how it abstracts away the low-level logic of MCP clients - Deploy your MCP server remotely and test it with the Inspector or other MCP-compatible applications - Learn about the roadmap for future MCP development, such as multi-agent architecture, MCP registry API, server discovery, authorization, and authentication MCP is an exciting and important technology that lets you build rich-context AI applications that connect to a growing ecosystem of MCP servers, with minimal integration work. Please sign up here!

Andrew Ng

142,010 次观看 • 1 年前