MCP.so
ログイン

MCP TS Quickstart

@cephalization

基本情報

カテゴリ

その他

ライセンス

MIT

トランスポート

stdio

作者

cephalization

MCP TS Quickstart について

Build-less TypeScript quickstart for an MCP server implementation

MCP TS Quickstart の設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

MCP TS Quickstart のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is MCP TS Quickstart?

MCP TS Quickstart is a basic MCP (Model Context Protocol) server implementation in TypeScript that fetches the top stories from Hacker News. It uses the stdio transport and requires no build step by utilizing Node v23. It is intended for developers learning MCP or prototyping MCP-based applications.

How to use MCP TS Quickstart?

Clone the repository, install dependencies with nvm and pnpm, then add the server to Claude Desktop using a JSON configuration that points to Node v23 and the src/index.ts file. Alternatively, run pnpm start to launch the server with the MCP Inspector UI for development and testing.

Key features of MCP TS Quickstart

  • Basic MCP server using stdio transport
  • Fetches top stories from Hacker News
  • Written in TypeScript without a build step
  • Requires Node v23
  • Easily extendable by adding new tools
  • Integrated with MCP Inspector for local testing

Use cases of MCP TS Quickstart

  • Learning how to create an MCP server in TypeScript
  • Quickly prototyping an MCP tool that interacts with Hacker News
  • Experimenting with the Model Context Protocol without complex setup
  • Extending the server with custom tools for other data sources

よくある質問

1

What runtime does MCP TS Quickstart require?

It requires Node v23, as configured via `nvm` in the setup instructions.

2

Does MCP TS Quickstart require a build step?

No, it works without a build step by using Node v23's native TypeScript support.

3

How do I add a new tool to MCP TS Quickstart?

Copy the existing `topStories` tool from `src/tools.ts`, modify it, and register the new tool in `src/index.ts`. When importing local source files, use the `.ts` extension, and use `type` keyword for type imports.

4

How can I test the MCP TS Quickstart server?

Run `pnpm start` to launch the server with the MCP Inspector UI, available at `http://localhost:6274`. You can then interact with tools and restart the server from the UI.

5

How do I configure MCP TS Quickstart with Claude Desktop?

Add a JSON object under `mcpServers` in Claude Desktop's configuration, specifying the `command` as the path to Node v23 and `args` as the path to `src/index.ts`. See the MCP documentation for details.

コメント

「その他」の他のコンテンツ