05-make-your-mcp-server

05-make-your-mcp-server

3.3

If you are the rightful owner of 05-make-your-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This document provides a guide on creating an MCP server in Go and serving it with Docker.

The guide explains how to create a Model Context Protocol (MCP) server using Go and deploy it using Docker. It highlights the use of the 'mcp-go' project, which simplifies the development of MCP servers and clients. The server is designed to provide a tool for fetching webpage content using the 'curl' command. The document includes the Go source code for the server, a Dockerfile for packaging the server, and instructions for using the server with 'mcphost'. The server is configured to work with standard input/output and is capable of executing the 'curl' command to retrieve webpage content. The Dockerfile builds the server in a multi-stage process, ensuring that the final image contains the necessary executable. The guide also demonstrates how to configure and use the server with 'mcphost' to interact with an LLM.

Features

  • Simple MCP server implementation in Go
  • Tool for fetching webpage content using 'curl'
  • Docker packaging for easy deployment
  • Integration with 'mcphost' for LLM interaction
  • Error handling and text content return
0