mcp-go icon indicating copy to clipboard operation
mcp-go copied to clipboard

A Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.

Results 263 mcp-go issues
Sort by recently updated
recently updated
newest added

First of all, thank you for this library! Adds a simple RemoveResource method similar to the existing AddResource one. It allows you to handle dynamic resources that need to be...

This is a proposal for a follow-up on https://github.com/mark3labs/mcp-go/pull/87 It introduces a `NewToolResultErrorWithErr` function that takes an error as a parameter to aggregate it in the result. It also updates...

This PR addresses #138. With the previous implementation the new tests will timeout due to the deadlock with the global mutex. ## Summary by CodeRabbit - **Refactor** - Enhanced concurrency...

Hi, I’m currently encountering an issue where the addTool function blocks indefinitely due to a deadlock caused by the global mutex conflicting with another process. Only reproducible when my server...

## Summary by CodeRabbit - **New Features** - Enhanced input processing to reliably handle a broader range of data types, contributing to improved system stability and accuracy. - **Chores** -...

As outlined in the spec https://modelcontextprotocol.io/docs/concepts/tools#tool-definition-structure

Use the example https://github.com/mark3labs/mcp-go/blob/main/examples/everything/main.go to build the MCP Server. Start it using SSE, then connect using the cursor client, which will automatically disconnect after a while. The following is the...

According to [VSCode](https://code.visualstudio.com/docs/copilot/chat/mcp-servers), it supports roots capability as a client. > VS Code provides servers with the current workspace folders using roots ([spec](https://modelcontextprotocol.io/docs/concepts/roots)). Current `handleInitialize` receives mcp.InitializeRequest which seems to...

Add the request header to mcp.Request so that users can use the header to handle business logic in the hooks function. ## Summary by CodeRabbit - **New Features** - Added...

type: enhancement
status: needs submitter response
area: sdk

For example, if I want to implement mcp proxy, I will pass split /sse /message request ```go httpMux.Handle(fmt.Sprintf("/%s/", basePath), http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { path := r.URL.Path log.Printf("收到请求: %s", path)...