Skip to main content

Model Context Protocol (MCP)

The Model Context Protocol (MCP) is a powerful framework that enables developers to build AI applications with large language models (LLMs) by providing a standardized way to connect models with external data sources and tools.

MCP is nothing but a protocol to connect LLMs with external data sources and tools (functions).

MCP Server

This repository contains the code for setting up a demo MCP server. It contains:

  • A stateless MCP server with streamable HTTP transport for scalable production deployment.
  • Auto tool registry with @mcp_tool decorator.
  • Docker file to containerize the server.
  • Server can be run locally or in docker and deployed to any cloud provider.

Setup

  • Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh
  • Install dependencies
uv sync

MCP Client

This repository contains the code for setting up a demo MCP client with OpenAI SDK. Refer to the client for more details.

Note: For ease of understanding, both server and client are in the same repository, you can easily keep them in separate repositories / projects.

Metadata

Release files for iflow-mcp_s1lv3rj1nx_mcp-demo 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iflow-mcp_s1lv3rj1nx_mcp-demo 0.1.3
File Size Uploaded
iflow_mcp_s1lv3rj1nx_mcp_demo-0.1.3.tar.gz 30.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iflow-mcp_s1lv3rj1nx_mcp-demo 0.1.3
File Interpreter ABI Platform
iflow_mcp_s1lv3rj1nx_mcp_demo-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 40.4 kB

Release files / iflow_mcp_s1lv3rj1nx_mcp_demo-0.1.3.tar.gz

Download URL iflow_mcp_s1lv3rj1nx_mcp_demo-0.1.3.tar.gz
Size 30.4 kB
Tags Source
SHA-256 checksum
How to use checksums
28fe7a08bb625af440fdd192c502887f2b8d7f1ad544a663b8fcc13ad6d07894
BLAKE2b-256 checksum
How to use checksums
e61854e33e067789cde9f5f6a29c75c6d60a3b91863083a6ba025f5d14500896
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / iflow_mcp_s1lv3rj1nx_mcp_demo-0.1.3-py3-none-any.whl

Download URL iflow_mcp_s1lv3rj1nx_mcp_demo-0.1.3-py3-none-any.whl
Size 10.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
29d0395aea5cff0cf861b1db4cda6f026df3f9c959153ad1c01c08d21d7117b5
BLAKE2b-256 checksum
How to use checksums
27296426ffe28743c2be8ae93bec54e45bcd66e1b72601d58b0e76923d849783
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page