File tree 3 files changed +8
-6
lines changed
3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ def get_greeting(name: str) -> str:
80
80
81
81
To use this server, you have two options:
82
82
83
- 1 . Install it in Claude Desktop:
83
+ 1 . Install it in [ Claude Desktop] ( https://claude.ai/download ) :
84
84
``` bash
85
85
fastmcp install server.py
86
86
```
Original file line number Diff line number Diff line change @@ -18,11 +18,8 @@ license = { text = "Apache-2.0" }
18
18
fastmcp = " fastmcp.cli:app"
19
19
20
20
[build-system ]
21
- requires = [" setuptools>=45" , " setuptools_scm[toml]>=6.2" ]
22
- build-backend = " setuptools.build_meta"
23
-
24
- [tool .setuptools_scm ]
25
- write_to = " src/fastmcp/_version.py"
21
+ requires = [" hatchling>=1.21.0" , " hatch-vcs>=0.4.0" ]
22
+ build-backend = " hatchling.build"
26
23
27
24
[project .optional-dependencies ]
28
25
dev = [
@@ -39,3 +36,6 @@ dev = [
39
36
[tool .pytest .ini_options ]
40
37
asyncio_mode = " auto"
41
38
asyncio_default_fixture_loop_scope = " session"
39
+
40
+ [tool .hatch .version ]
41
+ source = " vcs"
Original file line number Diff line number Diff line change 1
1
"""FastMCP - A more ergonomic interface for MCP servers."""
2
2
3
+ from importlib .metadata import version
3
4
from .server import FastMCP , Context
4
5
from .utilities .types import Image
5
6
7
+ __version__ = version ("fastmcp" )
6
8
__all__ = ["FastMCP" , "Context" , "Image" ]
You can’t perform that action at this time.
0 commit comments