Back to MCP directory
publicPublicdnsLocal runtime

termlink

一个为Claude等MCP客户端提供终端、文件系统和进程信息访问的MCP服务器

article

README

🚀 终端链接MCP服务器

这是一个MCP服务器,它能让Claude(或任何MCP客户端)访问你的终端、文件系统和进程信息。

🚀 快速开始

安装指南

npm install
npm run build

使用示例

基础用法

将以下内容添加到你的Claude桌面配置中:

{
  "mcpServers": {
    "termlink": {
      "command": "node",
      "args": ["dist/index.js"]
    }
  }
}

✨ 主要特性

工具功能

  • run_command - 执行shell命令
  • read_file / write_file - 文件操作
  • list_directory / file_exists - 目录浏览
  • process_info / get_env / list_processes - 系统信息

配置自定义

在工作目录中创建 termlink.json 文件进行自定义配置:

{
  "blockedCommands": ["rm -rf /"],
  "allowedCommands": [],
  "timeout": 30000,
  "maxOutputSize": 524288
}

📄 许可证

本项目采用MIT许可证。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client