Tag

#TypeScript

Every article tagged TypeScript, in one place.

  • 14 articles
  • 14 min of reading
  • 06 Oct, 2026 last updated

Showing 14 articles

Model Context ProtocolNew 1 min read

Build Your First MCP Server in TypeScript

In this tutorial you'll build an MCP server that exposes a get_github_repo tool, and run it over stdio so desktop AI apps can launch it. 1. Set up the project mkdir github-mcp && cd github-mcp npm init -y npm install @modelcontextprotocol/sdk zod npm install -...

20 Sep, 2026 Author 746 109
Read article
Model Context Protocol 1 min read

MCP Resources and Prompts: Beyond Tools

Most MCP tutorials stop at tools, but the protocol has three server primitives, each controlled by a different party: Tools - the model decides when to call them. Resources - the application (or user) decides what data to attach. Prompts - the user explicitly...

15 Aug, 2026 Author 907 74
Read article
Model Context Protocol 1 min read

Writing an MCP Client in TypeScript

Host apps like Claude Desktop include an MCP client, but you can embed one in your own app too. That lets your product use any MCP server as a tool provider. Connect and list tools import { Client } from '@modelcontextprotocol/sdk/client/index.js'; import { St...

21 Jun, 2026 Author 291 67
Read article
TypeScript 1 min read

any vs unknown vs never in TypeScript

These three types sit at the edges of TypeScript's type system and are often confused. Using the right one is the difference between real safety and false confidence. any: switch off checking let data: any = JSON.parse(input); data.user.name.toUpperCase(); //...

26 Apr, 2026 Author 396 49
Read article