Example Quickstart

Want a quick example? You're in the right place. We'll demo how to connect Cursor or VSCode to the RAWG API.

If you want a more comprehensive guide, please start with Create an Account.

  1. Get an API key from rawg.io.
  2. Create an MCP Fabric account.
  3. Create a new server in MCP Fabric -> New Server.
    • Base URL: https://api.rawg.io/api
    • Transport Type: SSE (Default)
    • API Authentication Type: Query Param
    • Query Param Value: Your API key from step 1
  4. Click Import OpenAPI Spec
    • Paste in this URL: https://api.rawg.io/docs/?format=openapi
    • Select a few of the API routes (adding too many tools may cause the LLM to hallucinate)
  5. Copy your server key.

Keep your server key secure to prevent others from accessing your MCP server and underlying API.

  1. Paste into your MCP client.

Cursor

// .cursor/mcp.json
{
  "mcpServers": {
    "games": {
      "url": "your-server-key"
    }
  }
}

VSCode

// .vscode/mcp.json
{
  "servers": {
    "games": {
      "url": "your-server-key"
    }
  }
}
  1. Enable the MCP Server. See Connect MCP Client for details.
  2. Make a request in Agent mode that can be answered by using the MCP tool(s).

Cursor Agent Mode using MCP Fabric to Call Games API