mcp服务器
初始化
根据您的首选环境选择以下初始化方法之一:
Node 环境(推荐)
初始化 Node 环境(安装依赖项、构建服务器并配置 MCP 设置):
make node-init
Docker 环境
初始化 Docker 环境(构建 Docker 镜像并配置 MCP 设置):
make docker-init
发展
使用 Node(推荐)
要使用 Node 构建并运行服务器:
# Build the server
make node-build
# Configure the server
make node-config
使用 Docker
要使用 Docker 构建并运行服务器:
# Build the Docker image
make docker-build
# Run the Docker container
make docker-run
# Stop the Docker container
make docker-stop
# Clean up Docker resources
make docker-clean
MCP 设置
运行make node-config
时,MCP 设置会自动刷新。如果您需要手动刷新 MCP 设置,请执行以下操作:
make mcp-refresh
运行服务器后,您需要配置 MCP 设置:
打开你的 IDE 设置
导航至 MCP 配置部分
使用以下设置添加新的 MCP 服务器:
名称:MCP 服务器
版本:1.0.0
路径:您构建的服务器可执行文件的路径
该项目是使用 bun v1.2.5 中的bun init
创建的。Bun 是一个快速的一体化 JavaScript 运行时。
示例-mcp-服务器
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
可配置的服务器实现,提供 MCP(模型-控制器-协议)功能,支持 Node.js 和 Docker 环境以及自动设置和配置选项。
Related MCP Servers
- -securityAlicense-qualityMCP Server simplifies the implementation of the Model Context Protocol by providing a user-friendly API to create custom tools and manage server workflows efficiently.Last updated -14MIT License
- -securityFlicense-qualityA configurable MCP server that dynamically loads capabilities from a remote configuration to bridge MCP clients with remote APIs for executing actions, accessing resources, and utilizing prompt templates.Last updated -5955
- AsecurityAlicenseAqualityA dynamic service that creates and manages Model Context Protocol (MCP) servers, allowing users to spawn, customize, and control multiple MCP servers as child processes.Last updated -5395MIT License
- AsecurityFlicenseAqualityA comprehensive Node.js server implementing Model Context Protocol (MCP) that enables filesystem operations, process management, and terminal session handling with an enterprise-grade security approach.Last updated -1470,141