Connect the XPay MCP server to Cursor so its AI coding assistant can query XPay documentation while helping with an integration.
Server URL
plain text
https://mcp-xpay.postexglobal.com/mcpConfigure Cursor
- Open Cursor settings.
- Select Tools & Integrations.
- Select New MCP Server.
- Add the following configuration:
JSON
{
"mcpServers": {
"xpay": {
"url": "https://mcp-xpay.postexglobal.com/mcp"
}
}
}- Save the file.
- Confirm that the connection status is active and that Cursor lists
query_xpay_docsas an available tool.
Add a project rule
Create a Cursor project rule that tells the assistant when to query XPay documentation. Use a narrow instruction such as:
markdown
---
description: Query the XPay MCP server when working on an XPay integration.
globs: "**/*"
alwaysApply: false
---
Use `query_xpay_docs` for XPay-specific API and integration questions.Enable the rule only for projects or tasks that use XPay. Review generated integration suggestions against the current XPay API reference before implementation.
Verify the connection
In Cursor Agent mode, ask a focused question about an XPay integration and allow the assistant to call the MCP tool. Confirm that the response cites or reflects the expected XPay documentation.
The MCP server helps retrieve documentation; it does not replace merchant credentials, endpoint authentication, or integration testing.