khun-mcp 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,19 @@
1
+ Metadata-Version: 2.3
2
+ Name: khun-mcp
3
+ Version: 0.1.0
4
+ Summary: A minimal MCP server with an addition tool.
5
+ Author: Nyamkhuu Demberelsuren
6
+ Author-email: Nyamkhuu Demberelsuren <nyamhyy14@yahoo.com>
7
+ Requires-Dist: fastmcp>=4.0.3,<5
8
+ Requires-Python: >=3.12
9
+ Description-Content-Type: text/markdown
10
+
11
+ # khun-mcp
12
+
13
+ A minimal FastMCP server with one tool: `add(a, b)` adds two numbers.
14
+
15
+ Run over stdio:
16
+
17
+ ```bash
18
+ uv run khun-mcp
19
+ ```
@@ -0,0 +1,9 @@
1
+ # khun-mcp
2
+
3
+ A minimal FastMCP server with one tool: `add(a, b)` adds two numbers.
4
+
5
+ Run over stdio:
6
+
7
+ ```bash
8
+ uv run khun-mcp
9
+ ```
@@ -0,0 +1,19 @@
1
+ [project]
2
+ name = "khun-mcp"
3
+ version = "0.1.0"
4
+ description = "A minimal MCP server with an addition tool."
5
+ readme = "README.md"
6
+ authors = [
7
+ { name = "Nyamkhuu Demberelsuren", email = "nyamhyy14@yahoo.com" }
8
+ ]
9
+ requires-python = ">=3.12"
10
+ dependencies = [
11
+ "fastmcp>=4.0.3,<5",
12
+ ]
13
+
14
+ [project.scripts]
15
+ khun-mcp = "khun_mcp.server:main"
16
+
17
+ [build-system]
18
+ requires = ["uv_build>=0.11.3,<0.12.0"]
19
+ build-backend = "uv_build"
File without changes
@@ -0,0 +1,17 @@
1
+ from fastmcp import FastMCP
2
+
3
+ mcp = FastMCP("khun-mcp")
4
+
5
+
6
+ @mcp.tool
7
+ def add(a: float, b: float) -> float:
8
+ """Add two numbers."""
9
+ return a + b
10
+
11
+
12
+ def main() -> None:
13
+ mcp.run()
14
+
15
+
16
+ if __name__ == "__main__":
17
+ main()