Skip to content

aykay76/mcp-server-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mcp-server

Very much work in progress/experimental!

Overview

mcp-server is a multi-channel protocol (MCP) server implemented in Go. It is designed to handle multiple incoming requests and provide appropriate responses through defined handlers.

Project Structure

mcp-server
├── cmd
│   └── main.go          # Entry point of the application
├── internal
│   ├── server
│   │   └── server.go    # Implementation of the MCP server
│   └── handlers
│       └── handlers.go   # Request handlers for the MCP server
├── pkg
│   └── utils
│       └── utils.go      # Utility functions for the application
├── go.mod                # Module definition and dependencies
└── README.md             # Project documentation

Getting Started

Prerequisites

  • Go 1.23 or later
  • A working Go environment

Installation

  1. Clone the repository:
    git clone https://github.com/aykay76/mcp-server.git
    
  2. Navigate to the project directory:
    cd mcp-server
    
  3. Install dependencies:
    go mod tidy
    

Running the Server

To start the MCP server, run the following command:

go run cmd/main.go

Usage

Once the server is running, it will listen for incoming requests on the specified port. You can interact with the server using any HTTP client or tool like curl.

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any enhancements or bug fixes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

I'm still learning and this code was generated in part by AI so it needs some refactoring.

About

Example implementation of MCP Server in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published