Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -213,4 +213,10 @@ marimo/_lsp/
__marimo__/

# Streamlit
.streamlit/secrets.toml
.streamlit/secrets.toml

# Mac OS
.DS_Store

# uv (ignore lock for now)
uv.lock
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,17 @@ Fork the repo, then run:
```bash
git clone <your-repo-url>
cd mcp-server-template
```
## Manual Install (if no uv)
```bash
conda create -n mcp-server python=3.13
conda activate mcp-server
pip install -r requirements.txt
```

### Test

### Test
```bash
python src/server.py
uv run src/server.py # `python` instead of `uv run` if no uv
# then in another terminal run:
npx @modelcontextprotocol/inspector
```
Expand Down
24 changes: 24 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[project]
name = "mcp-server-template"
version = "0.1.0"
description = "A minimal FastMCP server template for Render deployment with streamable HTTP transport"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"fastmcp>=2.12.0",
"uvicorn>=0.35.0",
]

[project.scripts]
dev = "src.server:main"
start = "src.server:main"

[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"

[tool.setuptools.packages.find]
where = ["src"]

[tool.setuptools.package-dir]
"" = "src"