Skip to main content
Glama

MCP Server

by JeongJaeSoon

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 设置:

  1. 打开你的 IDE 设置
  2. 导航至 MCP 配置部分
  3. 使用以下设置添加新的 MCP 服务器:
    • 名称:MCP 服务器
    • 版本:1.0.0
    • 路径:您构建的服务器可执行文件的路径

该项目是使用 bun v1.2.5 中的bun init创建的。Bun 是一个快速的一体化 JavaScript 运行时。

示例-mcp-服务器

-
security - not tested
F
license - not found
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

可配置的服务器实现,提供 MCP(模型-控制器-协议)功能,支持 Node.js 和 Docker 环境以及自动设置和配置选项。

  1. 初始化
    1. Node 环境(推荐)
    2. Docker 环境
  2. 发展
    1. 使用 Node(推荐)
    2. 使用 Docker
    3. MCP 设置
  3. 示例-mcp-服务器

    Related MCP Servers

    • -
      security
      A
      license
      -
      quality
      MCP 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 -
      0
      4
      TypeScript
      MIT License
    • -
      security
      F
      license
      -
      quality
      A 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 -
      682
      5
      TypeScript
    • A
      security
      A
      license
      A
      quality
      A 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 -
      5
      8
      82
      TypeScript
      MIT License
      • Apple
      • Linux
    • -
      security
      F
      license
      -
      quality
      A 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 -
      61,249
      TypeScript

    View all related MCP servers

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/JeongJaeSoon/sample-mcp-server'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server