Server URL: MCP Server
Steps to follow:
- Go to Cursor settings and select
Tools & Integrations - Select New MCP Server and add the following code in the opened file.Loading…
- The status of connection will be green, and it will show
query_xpay_docsas a tool. - From Cursor settings, select Rules & Memories.
- Select
Add Rulefrom the Project Rules section. - Add a rule name, such as xpay.
- It will open an .mdc file. On that file, add the below content.
JavaScript
---
description: use this rule whenever term xpay is mentioned and utilize additional tools such as xpay mcp server to query xpay related things
globs: xpay
alwaysApply: true
---- After following all of these steps, go to cursor, select Agent mode, add the Xpay rule you created as context, and ask the queries.
- Cursor will ask to use the MCP server, which you should allow, and it will return integration suggestions and answer queries as asked.