MCP仅用于API规格吗?

1作者: ReedGraff2 个月前原帖
有没有人尝试过为你的后端 API 创建一个 MCP 服务器?我实际上并不想让 AI 使用我的后端,我只是想动态地为后端规范/模式(来自 FastAPI 的 openapi.json 文件)提供上下文。我的类型文件已经变得足够大,无法一次性提供所有上下文。
查看原文
Has anyone messed with making an mcp server for you backend API? I don't actually want the ai to use my backend, I just want to dynamically give it context for backend specs / schemas (for/from a fastapi openapi.json file). My types files are getting large enough for it to be too much context to provide all at once.