CoolFace
Apppublic

roy2012/stock_mcp

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
50 commits on main
5440a191y ago

在 mcp_server_gradio.py 中为各个接口设置了 API 名称,并恢复启动 share_mcp 的方法,注释掉 balance_interface 的启动。

liuhongxing
fd878d91y ago

在 mcp_server_gradio.py 中注释掉 share_mcp 的启动方法,改为启动 balance_interface,保持服务器端口为 7860。

liuhongxing
0c9d2871y ago

在 mcp_server_gradio.py 中恢复启动 share_mcp 的方法,并注释掉 balance_interface 的启动,调整服务器端口为 7860。

liuhongxing
2522ae31y ago

更新 Dockerfile,新增环境变量 GRADIO_MCP_SERVER=True,以支持 Gradio 服务器的配置。

liuhongxing
901f3211y ago

在 mcp_server_gradio.py 中将启动 profit_interface 的方法修改为启动 balance_interface,保持服务器端口为 7861。

liuhongxing
47804951y ago

在 mcp_server_gradio.py 中注释掉原有的 Gradio 启动方法,并新增启动 profit_interface 的方法,修改了服务器端口为 7861。

liuhongxing
0bb92c91y ago

更新 Dockerfile,修复权限设置命令,确保 /app 目录的访问权限正确。

liuhongxing
be61b041y ago

更新 Dockerfile,修正权限设置命令以确保 /app 目录的访问权限正确。

liuhongxing
085bd7f1y ago

更新 Dockerfile,修改权限设置命令以确保当前工作目录的访问权限正确。

liuhongxing
05d25fd1y ago

更新 Dockerfile,新增对 /app 目录的权限设置,确保应用可以正常访问所需文件。

liuhongxing
b6dbbba1y ago

在 mcp_server_gradio.py 中启动 Gradio 应用时,添加了 server_name 和 server_port 参数,以便于配置服务器地址和端口。

liuhongxing
f45141a1y ago

更新 pyproject.toml,将 Gradio 依赖修改为 gradio[mcp] 以支持额外功能。

liuhongxing
47be9401y ago

重命名 Gradio 标签页界面变量为 share_mcp,并简化启动方法调用。

liuhongxing
a9704261y ago

更新 Dockerfile 以使用新的主服务器文件 mcp_server_gradio.py,并在 pyproject.toml 和 uv.lock 中添加了 gradio 依赖。同时,新增了 Gradio 应用的证书文件 certificate.pem。

liuhongxing
5d343d71y ago

在 mcp_server_tushare.py 中更新了 uvicorn.run 方法,移除了 root_path 参数。

liuhongxing
d5179a51y ago

在 mcp_server_tushare.py 中更新了 uvicorn.run 方法,添加了 root_path 参数 "/sse"。

liuhongxing
68e2a1e1y ago

在 mcp_server_tushare.py 中为 ASGI 应用的 http_app 方法添加了路径参数 "/sse"。

liuhongxing
3e5b68d1y ago

更新 mcp_server_tushare.py 中的主机地址,从 0.0.0.1 修改为 0.0.0.0。

liuhongxing
8cd879b1y ago

更新 mcp_server_tushare.py 中的主机地址,从 127.0.0.1 修改为 0.0.0.1。

liuhongxing
5de324c1y ago

更新 mcp_server_tushare.py 中的端口号,从 9000 修改为 7860,并在 README.md 中移除应用端口信息。

liuhongxing
3153b5f1y ago

在 README.md 中添加了应用端口信息

liuhongxing
65ae0131y ago

dock

liuhongxing
729ac7c1y ago

docker

liuhongxing
a3f7fc81y ago

docker

liuhongxing
a0f1b131y ago

更新 README.md,添加项目标题、表情符号、应用文件路径、固定状态和 SDK 信息。

liuhongxing
5cb87501y ago

移除空的 resource/img 目录

liuhongxing
d94d2bb1y ago

gitignore

liuhongxing
4ff7afe1y ago

delete

liuhongxing
8cf93b61y ago

delete

liuhongxing
2920a3f1y ago

从 Git 中移除 resource/img 目录

liuhongxing
75bad171y ago

从 Git 中移除 resource/img 目录

liuhongxing
f8ef1911y ago

添加 Dockerfile 和 GitHub Actions 工作流,支持文件大小检查和同步到 Hugging Face hub 的功能。

liuhongxing
2c83df91y ago

移除获取所有上市公司基本信息的工具实现,简化代码结构,提升可读性。

liuhongxing
e10dcb01y ago

添加股票代码格式转换功能,确保股票代码符合 Tushare 格式。更新数据获取方法以使用转换后的股票代码,增强数据获取的准确性。同时,更新测试用例以适应新的股票代码格式。

liuhongxing
8c040361y ago

tushare data source update

liuhongxing
e4f156f1y ago

更新 Tushare 数据源实现,添加日志记录功能,增强数据获取方法的错误处理。新增多个数据获取方法,包括利润表、资产负债表、现金流量表等,并添加相应的单元测试以验证功能完整性。同时,更新依赖项以支持 fastmcp 和 pytest。

liuhongxing
80507c91y ago

添加 Tushare 数据源实现和 MCP 服务器主文件,更新依赖项以支持 Tushare。新增测试文件以验证 MCP 服务器接口可用性。

liuhongxing
604cd9d1y ago

Update README.md

Devin
d281ceb1y ago

Update README.md

Devin
d3ef4001y ago

Refactor format_df_to_markdown function to remove max_cols and date range parameters; update calls in tools to use default settings for improved clarity and simplicity.

24mlight
14bfe511y ago

Remove get_current_date tool implementation and update usage instructions for clarity

24mlight
24ad7841y ago

Refactor row truncation logic in format_df_to_markdown to display the first max_rows rows and update truncation notes for clarity

24mlight
a60651b1y ago

Enhance Baostock Data Source and Markdown Formatter

24mlight
20f73681y ago

Refactor markdown formatting to support dynamic row calculation based on date range; update dependencies in uv.lock

24mlight
d8216e01y ago

improve data concat

24mlight
50f5fde1y ago

Update README for improved clarity and formatting of data update times

24mlight
f03cb751y ago

Merge branch 'main' of https://github.com/24mlight/a_share_mcp_is_just_I_need

24mlight
230eef71y ago

Add data update schedule section to README

24mlight
4a775731y ago

Merge pull request #3 from 24mlight/revert-2-glama-badge

Devin
71ad4971y ago

Revert "add MCP server badge"

Devin