Skip to main content
Glama

隐藏 MCP 服务器

用于 Hide 的 MCP 服务器 – 无头 IDE。

成分

工具

该服务器实现了两个改编自Anthropic 的 computer-use-demo 的工具:

文本编辑器

用于查看和编辑文件。功能包括查看文件行号、列出目录、创建文件、精确匹配替换字符串、插入行以及编辑历史记录。

猛击

持久的 bash shell,支持常见的 Linux/Python 包、后台进程和自动输出截断。

Related MCP server: AI Agent Template MCP Server

快速入门

安装

克劳德桌面

在 MacOS 上: ~/Library/Application\ Support/Claude/claude_desktop_config.json在 Windows 上: %APPDATA%/Claude/claude_desktop_config.json

发展

构建和发布

准备分发包:

  1. 同步依赖项并更新锁文件:

uv sync
  1. 构建软件包分发版:

uv build

这将在dist/目录中创建源和轮子分布。

  1. 发布到 PyPI:

uv publish

注意:您需要通过环境变量或命令标志设置 PyPI 凭据:

  • 令牌: --tokenUV_PUBLISH_TOKEN

  • 或用户名/密码: --username / UV_PUBLISH_USERNAME--password / UV_PUBLISH_PASSWORD

包装

将服务打包为独立可执行文件:

uv run pyinstaller hide-mcp.spec

这将在dist/目录中创建一个独立的可执行文件。

调试

由于 MCP 服务器通过 stdio 运行,调试起来可能比较困难。为了获得最佳调试体验,我们强烈建议使用MCP Inspector

您可以使用以下命令通过npm启动 MCP Inspector:

npx @modelcontextprotocol/inspector uv --directory /path/to/hide-mcp run hide-mcp

启动后,检查器将显示一个 URL,您可以在浏览器中访问该 URL 以开始调试。

-
security - not tested
A
license - permissive license
-
quality - not tested

Latest Blog Posts

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/hide-org/hide-mcp'

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