learn-typescript-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@learn-typescript-mcpget forecast for San Francisco"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
learn TypeScript MCP
Learning monorepo for the Model Context Protocol TypeScript SDK, built on Bun workspaces. Each learning topic lives in its own app under apps/ — new topics get a new apps/<topic> workspace.
App | What it is |
The MCP weather tutorial, restructured as a NestJS application (running on the Bun runtime) | |
A minimal plain-TypeScript stdio MCP server (VAT calculator) |
To install dependencies for all workspaces:
bun installWeather app (apps/weather/) — NestJS + MCP
Follows the official MCP TypeScript SDK "Build your first server" / "Build your first client" tutorials, using the real NWS weather API — hosted inside a NestJS app.
apps/weather/src/main.ts — Nest HTTP bootstrap (port 3000,
bodyParser: false)apps/weather/src/stdio.ts — stdio entry point (Nest application context, logger disabled so stdout stays protocol-only)
apps/weather/src/weather/weather.service.ts — NWS API calls (
getActiveAlertHeadlines,getForecastPeriods)apps/weather/src/weather/weather-mcp.service.ts — builds the
McpServer, registersget-alerts/get-forecast, owns the shared HTTP transportapps/weather/src/weather/mcp.controller.ts — routes every method on
/mcpinto the MCP transportapps/weather/src/weather/express-web-bridge.ts — converts Express req/res ↔ web-standard Request/Response (the SDK's v2 transport is web-standard only)
apps/weather/client.ts — example client (spawns the stdio server itself)
apps/weather/test/mcp-http.test.ts —
bun testboots the Nest app on an ephemeral port and connects a real streamable-HTTP MCP clienttutorial/weather-server.ts — compatibility shim for clients still pointing at the old pre-monorepo path (e.g. a saved MCP Inspector connection); safe to delete once nothing references it
Both tools declare default values in their input schemas for development convenience — Inspector pre-fills its form with them (state: CA, latitude/longitude: San Francisco), so you can hit "Run Tool" without typing. Callers that pass their own arguments override them; the defaults only apply when an argument is omitted.
Run the stdio server
Each client that connects (Claude Code, Inspector, client.ts) spawns its own private copy of this process — it's not a shared server.
bun run weather:stdioRun the HTTP server
One shared process that clients connect to over the network. Kill this terminal and every connected client loses the connection immediately.
bun run weather:httpRun the example client
bun run weather:clientRun the tests / typecheck
bun test # from apps/weather/ (or the repo root)
bun run typecheck # from the repo root — tsc over both appsRelated MCP server: MCP Test Server
Tax assistant (apps/tax-assistant/)
Minimal stdio MCP server with a single calculate-vat tool (Thai VAT 7%):
bun run tax:stdioInspect/test with MCP Inspector
bunx @modelcontextprotocol/inspectorOpens a browser UI (proxy on port 6277, UI on port 6274). In the sidebar, connect it either way:
stdio: Transport Type
STDIO, Commandbun, Argsapps/weather/src/stdio.tsHTTP: Transport Type
Streamable HTTP, URLhttp://localhost:3000/mcp— requires the HTTP server (bun run weather:http) to already be running
Inspector remembers your last-used connection in the browser and auto-reconnects with it on load/refresh — always check the sidebar's Transport Type/URL before assuming what it's actually connected to.
If you get PORT IS IN USE on 6274/6277, a previous Inspector instance didn't shut down cleanly (it can leave its proxy process orphaned even after reporting failure). Find and kill it before retrying:
lsof -nP -iTCP:6274,6277 -sTCP:LISTEN
kill <PID>Connect to Claude Code
.mcp.json registers the weather server, pointed at the HTTP transport — start the Nest server (bun run weather:http) yourself before opening a Claude Code session here, or /mcp will show it disconnected.
NestJS-on-Bun notes
No
nest-cli/webpack build step — Bun runs the TypeScript entrypoints directly (bun src/main.ts).tsconfig.json enables
experimentalDecorators+emitDecoratorMetadata; Bun's transpiler honors both, which is what makes Nest constructor injection work.Nest still uses its Express adapter internally; only the runtime and package manager are Bun.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityCmaintenanceA template repository for building Model Context Protocol (MCP) servers with TypeScript, featuring full TypeScript support, testing setup, CI/CD pipelines, and modular architecture for easy extension.Last updated7
- Alicense-qualityDmaintenanceA TypeScript-based test implementation for the Model Context Protocol (MCP) with example configurations and Jest test cases. Provides a development foundation for building and testing MCP server functionality.Last updated9MIT
- FlicenseBqualityDmaintenanceA demonstration TypeScript MCP server that showcases basic MCP concepts with simple tools (greeting, calculator), text resources, and prompt templates for learning the Model Context Protocol.Last updated2
- Alicense-qualityDmaintenanceModel Context Protocol (MCP) server implementation demonstrating production-ready patterns in TypeScript, with tools for calculation, weather, and filesystem access.Last updated1MIT
Related MCP Connectors
MCP (Model Context Protocol) server for Appwrite
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A TypeScript MCP server for Home Assistant, enabling programmatic management of entities, automati…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Suchanon/learn-typescript-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server