MCP服务器管理插件

asdf版本管理器的MCP插件,用于简化MCP兼容服务器的安装和管理。

  • by hongsw
  • Shell
  • 本地部署
  • 2 星标
  • 更新于
在 GitHub 查看 hongsw/asdf-mcp-plugin

使用说明

asdf-mcp插件

模型上下文协议(MCP) 插件为 asdf版本管理器.

目录

依赖项

  • bash, curl, tar, jq:通用POSIX实用程序。

安装

插件:

asdf plugin add mcp https://github.com/hongsw/asdf-mcp-plugin.git

mcp服务器:

# Show all installable versions
asdf list-all mcp

# Install specific version
asdf install mcp latest

# Set a version globally (on your ~/.tool-versions file)
asdf global mcp latest

# Now mcp commands are available
mcp --version

检查 asdf readme了解更多关于如何 安装和管理版本。

为什么?

asdf的MCP(模型上下文协议)插件简化了各种MCP兼容服务器的安装和管理。它为安装、切换和管理不同版本的MCP服务器提供了一个统一的界面,消除了每种服务器类型手动安装过程的复杂性。

用法

# List all available MCP server types
asdf mcp list-servers

# Install a specific MCP server
asdf mcp install <server-name> <version>

# Set a specific MCP server as active
asdf mcp use <server-name> <version>

# Start an MCP server
asdf mcp start <server-name>

# Check status of running MCP servers
asdf mcp status

支持的MCP服务器

此插件目前支持以下MCP兼容服务器:

  • claude-server:Anthropic的Claude API兼容服务器
  • mcp-core:参考MCP协议的实施
  • local-llm:用于运行具有MCP兼容性的本地语言模型
  • custom-mcp:用于自定义MCP服务器实现

贡献

欢迎任何形式的贡献!

许可证

MIT© 洪