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`.

评论

其他 分类下的更多 MCP 服务器