MCP.so
ログイン

MCP Server Implementation in TypeScript

@revhawk

基本情報

カテゴリ

その他

ライセンス

MIT license

トランスポート

stdio

作者

revhawk

MCP Server Implementation in TypeScript について

概要はまだありません

MCP Server Implementation in TypeScript の設定

標準の設定はありません

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

リポジトリ

MCP Server Implementation in TypeScript のツール

3

Get all employees from the database

Search the web for information

Search employees by department or name

概要

What is MCP Server Implementation in TypeScript?

It is a TypeScript implementation of a Model Context Protocol (MCP) server, providing tools for interacting with a database and performing web searches.

How to use MCP Server Implementation in TypeScript?

Install Node.js v14+, clone the repository, run npm install, build with npm run build, then start in production with npm start or development with npm run dev. Use curl commands (POST /mcp, DELETE /mcp, GET /mcp) and include a session ID header obtained from the initialize request.

Key features of MCP Server Implementation in TypeScript

  • MCP protocol implementation
  • SQLite database integration
  • Web search capabilities
  • RESTful API endpoints
  • Interactive Swagger UI documentation
  • Server-Sent Events for real-time updates

Use cases of MCP Server Implementation in TypeScript

  • Querying employee records from an SQLite database via MCP tools.
  • Searching the web programmatically through the MCP server.
  • Building AI assistants that combine database lookups and web searches.
  • Real-time data streaming via SSE for live dashboards or notifications.

よくある質問

1

What tools are available?

The server provides `get_employees` (list all employees), `search_employees` (filter by department or name), and `web_search` (query the web).

2

How do I manage sessions?

A session ID is returned on initialization; include it in the `mcp-session-id` header for all subsequent requests, and terminate the session using DELETE /mcp.

3

What are the prerequisites?

Node.js v14 or higher and npm v6 or higher are required.

4

Is there API documentation?

Yes, interactive Swagger UI documentation is available at `http://localhost:3000/api-docs` when the server is running.

5

What transport does the server use?

The server communicates over HTTP for MCP requests and Server-Sent Events for real-time updates.

コメント

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