Add example client to examples/clients folder
This commit is contained in:
parent
aaf32b5307
commit
a0216c3e50
1 changed files with 619 additions and 0 deletions
48
examples/clients/simple-chatbot/pyproject.toml
Normal file
48
examples/clients/simple-chatbot/pyproject.toml
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
[project]
|
||||
name = "mcp-simple-chatbot"
|
||||
version = "0.1.0"
|
||||
description = "A simple CLI chatbot using the Model Context Protocol (MCP)"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.10"
|
||||
authors = [{ name = "Edoardo Cilia" }]
|
||||
keywords = ["mcp", "llm", "chatbot", "cli"]
|
||||
license = { text = "MIT" }
|
||||
classifiers = [
|
||||
"Development Status :: 4 - Beta",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
]
|
||||
dependencies = [
|
||||
"python-dotenv>=1.0.0",
|
||||
"requests>=2.31.0",
|
||||
"mcp>=1.0.0",
|
||||
"uvicorn>=0.32.1"
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
mcp-simple-chatbot = "mcp_simple_chatbot.client:main"
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["mcp_simple_chatbot"]
|
||||
|
||||
[tool.pyright]
|
||||
include = ["mcp_simple_chatbot"]
|
||||
venvPath = "."
|
||||
venv = ".venv"
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["E", "F", "I"]
|
||||
ignore = []
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 88
|
||||
target-version = "py310"
|
||||
|
||||
[tool.uv]
|
||||
dev-dependencies = ["pyright>=1.1.378", "pytest>=8.3.3", "ruff>=0.6.9"]
|
||||
Loading…
Reference in a new issue