darkSheep404 commented on issue #12140: URL: https://github.com/apache/apisix/issues/12140#issuecomment-2820185900
> > [@moonming](https://github.com/moonming) we would be very grateful if you could consider this idea > > > but i think we still need the feature which take some current http route as the service/tools provided by mcp server > > Of course, contributions are welcome. Can you give an example? Ensure that our understanding is the same In my initial idea `Option One` , config in routes which want to expose like mcp tools ```yml routes: - uri: /user/userinfo plugins: ai-mcp-wrapper: name: "getUserInfo" description: "Get user information by username" parameters: properties: username: type: "string" required: ["username"] ``` `Option two`, use as gobal plugins to expose all the url want to expose as mcp tools ```yml plugins: - name: ai-mcp-tools enable: true tools: - name: "getUserInfo" description: "Get user information by username" target_uri: "/user/userinfo" parameters: properties: username: type: "string" description: "The username to query" required: ["username"] - name: "createOrder" description: "Create a new order" target_uri: "/product/query" parameters: properties: productId: type: "string" productName: type: "string" ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org