astockevent 0.2.0__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.
- astockevent/__init__.py +5 -0
- astockevent/mcp/__init__.py +19 -0
- astockevent/mcp/__main__.py +7 -0
- astockevent/mcp/server.py +793 -0
- astockevent/mcp/stdio_server.py +684 -0
- astockevent-0.2.0.dist-info/METADATA +472 -0
- astockevent-0.2.0.dist-info/RECORD +11 -0
- astockevent-0.2.0.dist-info/WHEEL +5 -0
- astockevent-0.2.0.dist-info/entry_points.txt +2 -0
- astockevent-0.2.0.dist-info/licenses/LICENSE +21 -0
- astockevent-0.2.0.dist-info/top_level.txt +1 -0
astockevent/__init__.py
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"""AStockEvent MCP Server — Model Context Protocol server for AI Agent consumption.
|
|
2
|
+
|
|
3
|
+
Provides 16 tools (via REST API proxy, zero local DB dependency).
|
|
4
|
+
See docs/api-contract.md for full tool listing.
|
|
5
|
+
All tools are read-only — no mutations, no side effects.
|
|
6
|
+
|
|
7
|
+
Usage:
|
|
8
|
+
python -m astockevent.mcp # Start MCP stdio server
|
|
9
|
+
astockevent-mcp # CLI entry point
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
import asyncio
|
|
13
|
+
import sys
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def run() -> None:
|
|
17
|
+
"""CLI entry point for ``astockevent-mcp`` command."""
|
|
18
|
+
from astockevent.mcp.stdio_server import main
|
|
19
|
+
sys.exit(asyncio.run(main()))
|