P

mcp-ws-example

Created Oct 19, 2025 by getsimpletool

Language:

Python

Stars:

5

Forks:

0

README

Message Communication Protocol (MCP) Implementations

This repository demonstrates two implementations of the Model Context Protocol (MCP) by Anthropic AI, a JSON-RPC based protocol for bi-directional communication that enables developers to build secure, two-way connections between their data sources and AI-powered tools.

1. Memory Stream Implementation (run on same host)

Overview

The Memory Stream implementation demonstrates local client-server communication using in-memory channels. Both client and server operate within the same host.

Protocol Flow


Client                          Server
   |                              |
   |------ initialize() --------->|  (sends capabilities)
   ||
   ||
   ||
   ||
   ||
   |
Last updated: Oct 19, 2025

Publisher info

getsimpletool's avatar

getsimpletool

1
followers
0
following
6
repos

More MCP servers built with Python

Stable Diffusion WebUI

Stable Diffusion web UI

By AUTOMATIC1111 160.1K
Transformers

🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.

By huggingface 155.5K
PyTorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

By pytorch 96.8K