Thursday, June 26, 2025

Show HN: I rawdog a MCP server from scratch in Zig. No SDK https://ift.tt/eTtaOn9

Show HN: I rawdog a MCP server from scratch in Zig. No SDK Some time ago I wanted to write a MCP server in Zig but found out there's no real JSON-RPC support in Zig, which MCP needs for communication. I ended up developing a JSON-RPC 2.0 library in Zig and more [1], which had its challenges. So I finally was able to put together a MCP server in Zig. It's built from scratch implementing the protocol messages from the MCP JSON schema. It's actually quite magical to have the LLM calling my MCP server [2]. The work is not too bad. Most of the hard work has already been done in the JSON-RPC library. [1] https://ift.tt/WsOnua6 [2] https://ift.tt/2MRFg6a... https://ift.tt/LfCQN2J June 25, 2025 at 11:44PM

No comments:

Post a Comment

Show HN: The Cascade Graph – An interactive map of AI and energy constraints https://ift.tt/O47EcUS

Show HN: The Cascade Graph – An interactive map of AI and energy constraints Hello, I wanted to share with you all a interactive map of the ...