Replies: 2 comments 18 replies
-
Hi @elliotxx @ffforest , Karpor in this case will be analogous to the IDE (mcp-host (https://github.com/mark3labs/mcphost) can be used to build an adapter over karpor so that we can build in a decoupled manner.. The client-server interactions can be categorized into the given interface : |
Beta Was this translation helpful? Give feedback.
-
hi @elliotxx , I am now working on creating mcp-servers in golang for exposing karpor's etcd and elasticsearch and have a good idea of how to proceed.. I did tryout mcp-cli with mcp-go (I found mcp-golang to be a bit verbose so dropped that ), writing a basic calculator server https://github.com/mark3labs/mcp-go, building it, and using the build in the server-config for mcp-cli (https://github.com/chrishayuk/mcp-cli) # in the mcp-cli directory
uv run mcp-cli --server calculator # calculator being the mcp-go server
# yields an interaction as one would expect It works as expected and am progressing ahead.. rather than the usual npx/uvx we can just use go run if we wish to use a remote server down the line but use the build right away is sensible I guess Some planning that I'll have to do is with regards to how I wish to categorize the interfaces with etcd and elasticsearch (resources, tools and prompts).. am going to start with some basic CRUD and then iterate as karpor requires.. we can go for a unified server (for etcd and golang) rather than separate ones.. On the client side, @hai-tian , can you please see how the MCP SDK will fit into the webUI : I think this resource can be used for learning the generic behaviors of a client : https://modelcontextprotocol.io/quickstart/client @elliotxx , I think I can start writing some code now; can you recommend how would you prefer to maintain the development process (branching strategy, maintaining sub tasks and issues?, recommendations other than the contributing docs (have read them), etc ? ) |
Beta Was this translation helpful? Give feedback.
-
Discussions and Resources regarding the integration of Model Context Protocol into Karpor (towards v0.6) #658
Docs & Resources
Dev
Tooling
Server Index
Beta Was this translation helpful? Give feedback.
All reactions