MCP.so
ログイン

Basic MCP Server Tool

@burrsutter

基本情報

カテゴリ

その他

トランスポート

stdio

作者

burrsutter

Basic MCP Server Tool について

概要はまだありません

Basic MCP Server Tool の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "burrhello": {
      "command": "jbang",
      "args": [
        "--java",
        "21",
        "--quiet",
        "org.acme:basic-tool:1.0.0-SNAPSHOT:runner"
      ]
    }
  }
}

Basic MCP Server Tool のツール

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

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

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

概要

What is Basic MCP Server Tool?

Basic MCP Server Tool is a minimal MCP server implementation that can be packaged with Maven and executed via jbang. It is designed to be used with the mcp‑cli client and requires an OpenAI API key for LLM integration.

How to use Basic MCP Server Tool?

Clone the repository and run ./mvnw install to build. Install jbang (brew install jbang), then clone mcp‑cli, install uv (brew install uv), and run uv sync --reinstall in the mcp‑cli directory. Set the OPENAI_API_KEY environment variable, edit server_config.json to point to the jbang command, and finally run uv run mcp‑cli --server burrhello --provider openai --model gpt‑4o‑mini.

Key features of Basic MCP Server Tool

  • Packaged with Maven
  • Executed via jbang
  • Configured through server_config.json
  • Works with mcp‑cli client
  • Requires OpenAI API key

Use cases of Basic MCP Server Tool

—

よくある質問

1

How to package the application?

Run `./mvnw install` in the cloned repository.

2

How to install and run the server with jbang?

Install jbang via `brew install jbang`, then use the command `jbang --java 21 --quiet org.acme:basic-tool:1.0.0-SNAPSHOT:runner`.

3

How to configure the OpenAI API key?

Set the `OPENAI_API_KEY` environment variable using the key from the OpenAI platform.

4

How to start the server with mcp-cli?

Set up `server_config.json` with the correct jbang command and run `uv run mcp-cli --server burrhello --provider openai --model gpt-4o-mini`.

コメント

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