MCP.so
ログイン

A simple MCP Server

@fujahgabriel

基本情報

カテゴリ

その他

トランスポート

stdio

作者

fujahgabriel

A simple MCP Server について

概要はまだありません

A simple MCP Server の設定

標準の設定はありません

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

リポジトリ

A simple MCP Server のツール

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

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

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

概要

What is A simple MCP Server?

A Model Context Protocol (MCP) server implementation that provides tools for user data management. It is built with TypeScript, uses ES Modules, and includes built-in TypeScript compilation. This server is intended for developers who want to integrate user data retrieval into MCP-compatible clients like Cursor.

How to use A simple MCP Server?

Clone the repository, install dependencies with npm install, then build the TypeScript files using npm run build. To use with Cursor, add a configuration entry to ~/.cursor/mcp.json with the command node and arguments ["build/index.js"]. You can also test the server using the MCP Inspector by running npm run inspector after building.

Key features of A simple MCP Server

  • User data retrieval tools (get_users and get_user)
  • TypeScript implementation with ES Modules
  • Built-in TypeScript compilation
  • Supports Node.js v20 or higher

Use cases of A simple MCP Server

  • Retrieving a list of all users from a data source.
  • Looking up a specific user by name using the get_user tool.
  • Integrating user management into an MCP-enabled IDE like Cursor.

よくある質問

1

What are the runtime requirements?

Node.js v20 or higher and npm v9 or higher are required.

2

How do I test the server?

Use the MCP Inspector: first run `npm run build`, then `npm run inspector`, and access it at `http://localhost:5173`.

3

How do I configure this server for Cursor?

Add the following to `~/.cursor/mcp.json` after building: `{"my-mcp-server": {"math": {"command": "node", "args": ["build/index.js"]}}}`. Then restart Cursor.

4

What dependencies does the server use?

It uses `@modelcontextprotocol/sdk`, `dotenv`, `typescript`, and `zod` for runtime type validation.

5

What tools does the server provide?

Two tools: `get_users` (retrieves all users) and `get_user` (retrieves a specific user by name, parameter `user` as string).

コメント

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