Skip to content

这是一个基于FastAPI的微信文章搜索MCP服务,提供了通过关键词搜索微信公众号文章的功能。

License

Notifications You must be signed in to change notification settings

wbsu2003/weixin-search-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

微信文章搜索MCP服务

这是一个基于FastAPI的微信文章搜索MCP服务,提供了通过关键词搜索微信公众号文章的功能。

使用Docker运行

构建镜像

在项目根目录下执行以下命令构建Docker镜像:

docker build -t weixin-search-mcp .

运行容器

构建完成后,执行以下命令运行容器:

docker run -d -p 8000:8000 --name weixin-search weixin-search-mcp

访问服务

服务启动后,可以通过浏览器访问以下地址:

API端点

  • GET /health - 健康检查接口
  • POST /search_articles - 微信文章搜索接口

本地开发

安装依赖

pip install -r requirements.txt

运行服务

uvicorn main:app --reload --host 0.0.0.0 --port 8000

更多说明

About

这是一个基于FastAPI的微信文章搜索MCP服务,提供了通过关键词搜索微信公众号文章的功能。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published