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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iflow_mcp_s1lv3rj1nx_mcp_demo-0.1.3.tar.gz (30.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iflow_mcp_s1lv3rj1nx_mcp_demo-0.1.3-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file iflow_mcp_s1lv3rj1nx_mcp_demo-0.1.3.tar.gz.

File metadata

  • Download URL: iflow_mcp_s1lv3rj1nx_mcp_demo-0.1.3.tar.gz
  • Upload date:
  • Size: 30.4 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for iflow_mcp_s1lv3rj1nx_mcp_demo-0.1.3.tar.gz
Algorithm Hash digest
SHA256 28fe7a08bb625af440fdd192c502887f2b8d7f1ad544a663b8fcc13ad6d07894
MD5 47a04b06511202d02e21743baf4acceb
BLAKE2b-256 e61854e33e067789cde9f5f6a29c75c6d60a3b91863083a6ba025f5d14500896

See more details on using hashes here.

File details

Details for the file iflow_mcp_s1lv3rj1nx_mcp_demo-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: iflow_mcp_s1lv3rj1nx_mcp_demo-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for iflow_mcp_s1lv3rj1nx_mcp_demo-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 29d0395aea5cff0cf861b1db4cda6f026df3f9c959153ad1c01c08d21d7117b5
MD5 4695a02d13759660890a3a4203fda6a4
BLAKE2b-256 27296426ffe28743c2be8ae93bec54e45bcd66e1b72601d58b0e76923d849783

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page