---
title: "Discussion on \"Building a Generative AI MCP Client Application in Go using Ollama\" | Hashnode"
description: "Discussion on \"Building a Generative AI MCP Client Application in Go using Ollama\". How to analyse remote source code thanks to Ollama and the MCP protocol"
url: "https://hashnode.com/posts/building-a-generative-ai-mcp-client-application-in-go-using-ollama/677cd0237706b26b40202bc4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Building a Generative AI MCP Client Application in Go using Ollama](https://k33g.hashnode.dev/building-a-generative-ai-mcp-client-application-in-go-using-ollama?utm_source=hashnode&utm_medium=feed)

How to analyse remote source code thanks to Ollama and the MCP protocol

Jan 7, 2025 · 12 min read · k33g.hashnode.dev  
Updated Jan 15, 2025  
Read the article

-   [#ollama](https://hashnode.com/tag/ollama)
-   [#golang](https://hashnode.com/tag/golang)
-   [#llm](https://hashnode.com/tag/llm)
-   [#generative-ai](https://hashnode.com/tag/generative-ai)

## Written by

[Philippe Charrière](https://hashnode.com/@k33g)

@k33g · France

  
[View profile](https://hashnode.com/@k33g)

Pr Solutions Architect at Docker 🐳

## Responses 2

Markdown supported · ⌘↵ to post

[Roman Gelembjuk](https://hashnode.com/@gelembjuk)

[Apr 7, 2025](https://hashnode.com/posts/building-a-generative-ai-mcp-client-application-in-go-using-ollama/677cd0237706b26b40202bc4/comment/67f3d2e97c207bd589ec9cba)

Oh. I see mcp-go has NewSSEMCPClient . So, i will continue my attempts to use my SSE server with ollama

[Philippe Charrière](https://hashnode.com/@k33g)

[Apr 7, 2025](https://hashnode.com/posts/building-a-generative-ai-mcp-client-application-in-go-using-ollama/677cd0237706b26b40202bc4/comment/67f3d2e97c207bd589ec9cba#reply-67f3deba2d77ede22c3ff63b)

I didn't have a look yet to the SSE implementation of mcp-go (I did some experiments with the TS SDK) - tell me when you will progress on this

[Roman Gelembjuk](https://hashnode.com/@gelembjuk)

[Apr 12, 2025](https://hashnode.com/posts/building-a-generative-ai-mcp-client-application-in-go-using-ollama/677cd0237706b26b40202bc4/comment/67f3d2e97c207bd589ec9cba#reply-67fa61758b56b7a6e95db356)

[Philippe Charrière](https://hashnode.com/@k33g) i have created some MCP SSE server. Details are in my blog.

[gelembjuk.hashnode.dev/building-mcp-sse-server-to…](https://gelembjuk.hashnode.dev/building-mcp-sse-server-to-integrate-llm-with-external-tools)

I have modified mcphost tool to support SSE.

[Roman Gelembjuk](https://hashnode.com/@gelembjuk)

[Apr 12, 2025](https://hashnode.com/posts/building-a-generative-ai-mcp-client-application-in-go-using-ollama/677cd0237706b26b40202bc4/comment/67f3d2e97c207bd589ec9cba#reply-67fa61ab8b56b7a6e95db359)

Also, i have created mcp server with Go and support of Authentification (Bearer token) based on your example of go mcp server. I will publish it in another blog post

[Roman Gelembjuk](https://hashnode.com/@gelembjuk)

[Apr 7, 2025](https://hashnode.com/posts/building-a-generative-ai-mcp-client-application-in-go-using-ollama/677cd0237706b26b40202bc4/comment/67f3d1167c207bd589ec9c9d)

Thank for the article.

Do you know why mcp-go has no support of SSE connections? It looks like SSE is ignored for now. Everyone are writing ab out STDIO clients, servers but not about SSE for some reason.
