MCP.so
ログイン

MCP Server Example

@ivanbtrujillo

MCP Server Example について

Basic MCP Server

基本情報

カテゴリ

その他

ランタイム

node

トランスポート

stdio

公開者

ivanbtrujillo

設定

標準の設定はありません

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

リポジトリ

ツール

ツールは検出されませんでした

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

概要

What is MCP Server Example?

MCP Server Example is a basic, template MCP (Model Context Protocol) server designed to be used with Cursor or other MCP‑compatible tools. It provides a starting point for developers to add their own tools and integrate with AI agents.

How to use MCP Server Example?

Modify index.ts to add your own tools, then build the project with pnpm run build and run it with pnpm run start. Add a .cursor/mcp.json file in your project with the server configuration (pointing to the built build/index.js), enable the MCP server in Cursor Settings, switch to Agent mode with claude-3.7-sonnet, and then query the weather to test the default tools.

Key features of MCP Server Example

  • Simple, customizable MCP server template
  • Ready to use with Cursor and other tools
  • Default weather tool included for demonstration
  • Build and run with pnpm commands
  • Easy configuration via .cursor/mcp.json

Use cases of MCP Server Example

  • Prototyping MCP‑based tools for AI agents
  • Learning how to set up and configure an MCP server
  • Integrating weather data into Cursor chat via Agent mode

FAQ from MCP Server Example

How do I add custom tools?

Modify index.ts and add any tools you want, then rebuild the project.

How do I build and run the server?

Run pnpm run build to compile, then pnpm run start to start the server.

What runtime is required?

The server runs on Node.js, as indicated by the "node" command in the configuration.

How do I connect it to Cursor?

Add a .cursor/mcp.json file in your project with the server’s command and args, then enable the MCP server in Cursor Settings.

コメント

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