agentcomk-mcp 0.1.1__py3-none-any.whl

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
+ from mcp.server.mcpserver import MCPServer
2
+
3
+ mcp = MCPServer("Demo")
4
+
5
+
6
+ @mcp.tool()
7
+ def add(a: int, b: int) -> int:
8
+ """Add two numbers."""
9
+ return a + b
10
+
11
+
12
+ @mcp.resource("greeting://{name}")
13
+ def greeting(name: str) -> str:
14
+ """Greet someone by name."""
15
+ return f"Hello, {name}!"
16
+
17
+
18
+ def main() -> None:
19
+ mcp.run(transport="stdio")
@@ -0,0 +1,10 @@
1
+ Metadata-Version: 2.3
2
+ Name: agentcomk-mcp
3
+ Version: 0.1.1
4
+ Summary: Add your description here
5
+ Author: chenglong
6
+ Author-email: chenglong <chenglong1@pengwin.com>
7
+ Requires-Dist: mcp[cli]>=2.3.0
8
+ Requires-Python: >=3.12
9
+ Description-Content-Type: text/markdown
10
+
@@ -0,0 +1,5 @@
1
+ agentcomk_mcp/__init__.py,sha256=84fv_4cfF1TMB9RqTxLtAVS5h1CRRQ5CcCAZUFGOeZA,342
2
+ agentcomk_mcp-0.1.1.dist-info/WHEEL,sha256=3OmCxFA0ffBIsX4x0o8CdfSvZAOvO3mzEG8U_z5TvV4,80
3
+ agentcomk_mcp-0.1.1.dist-info/entry_points.txt,sha256=yUXEq892DrqZfAixA8O-O1UIzzcW1jZbqUXbP77DrlY,54
4
+ agentcomk_mcp-0.1.1.dist-info/METADATA,sha256=jvFy-thEqfaQFx0EgxToyHPk4ehFzzKWrKdVSnzfeVw,255
5
+ agentcomk_mcp-0.1.1.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: uv 0.13.8
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ agentcomk-mcp = agentcomk_mcp:main
3
+