mcpField
T
touch-mcp-server

touch-mcp-server

Local
github.com/ponedingDeveloper Tools0Updated 81w ago

About touch-mcp-server

touch-mcp-server is a Go-based MCP server for creating files, intended as an introductory example of MCP server development. It extracts a filename from user input and creates the file.

Key features

  1. 01Implemented in Go
  2. 02Creates files from user input
  3. 03Extracts a filename from requests
  4. 04Designed as an MCP server introduction

Use cases

  1. 01Create a file from a natural-language request
  2. 02Learn the basics of MCP server development

MCP support

It is an MCP server that receives requests and provides file creation. The README describes communication using JSON-RPC 2.0.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

touch-mcp-server

touch-mcp-server 是一个使用 Golang 实现的创建文件的 MCP Server,用于入门 MCP Server 开发。

JSON-RPC 2.0

MCP Server 使用 JSON-RPC 2.0 协议进行通信。

JSON-RPC 2.0

安装

git clone https://github.com/poneding/touch-mcp-server.git
cd touch-mcp-server
go install

配置

在 VSCode 中使用 Cline 插件添加以下 MCP Server 配置:

{
  "mcpServers": {
   "touch-mcp-server": {
      "command": "~/go/bin/touch-mcp-server",
      "env": {
        "DEFAULT_TOUCH_PATH": "/tmp"
      }
    }
  }
}

逻辑

  1. 获取用户输入内容;
  2. AI 从中提取出文件名;
  3. 创建文件。

其他

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.