8000 GitHub - y0ug/mcpkit
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

y0ug/mcpkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MCPKit

A Go implementation of the Model Context Protocol (MCP) client. This package provides a clean and idiomatic way to interact with MCP servers in Go applications.

Features

  • Full MCP client implementation
  • Support for all MCP operations (tools, resources, prompts)
  • Streaming support
  • Easy integration with chat completion systems

Installation

go get github.com/y0ug/mcpkit

Quick Start

package main

import (
    "context"
    "log"
    
    "github.com/yourusername/mcpkit/client"
)

func main() {
    ctx := context.Background()
    
    // Create a new MCP client
    c, err := client.NewMCPClient(ctx, log.Default(), "path/to/mcp-server")
    if err != nil {
        log.Fatal(err)
    }
    defer c.Close()
    
    // Initialize the client
    info, err := c.Initialize(ctx)
    if err != nil {
        log.Fatal(err)
    }
    
    // Use the client...
}

Documentation

Coming soon

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT License - see LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

0