mcpgate My Rules API

The My Rules API from mcpgate — 4 operation(s) for my rules.

Operations 5

GET /api/my-rules User Rules List #
POST /api/my-rules User Rules Create #
DELETE /api/my-rules/{filename} User Rules Delete #
POST /api/my-rules/{filename}/toggle User Rules Toggle #
GET /api/my-rules/presets User Rules Presets #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mcpgate:mcpgate-my-rules-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mcpgate-my-rules-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AI Gateway MCP Server My Rules API
  description: Universal MCP Gateway with OAuth integration - Modern Architecture
  version: 2.0.3290
tags:
- name: My Rules
paths:
  /api/my-rules:
    get:
      summary: User Rules List
      description: 'GET /api/my-rules — List user''s rules, optionally filtered by service.


        Authoritative source is the user''s Redis hash; disk is fallback for

        Redis outages.'
      operationId: user_rules_list_api_my_rules_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - My Rules
    post:
      summary: User Rules Create
      description: POST /api/my-rules — Create a new user rule.
      operationId: user_rules_create_api_my_rules_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - My Rules
  /api/my-rules/{filename}:
    delete:
      summary: User Rules Delete
      description: DELETE /api/my-rules/{filename} — Delete a user rule.
      operationId: user_rules_delete_api_my_rules__filename__delete
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - My Rules
  /api/my-rules/{filename}/toggle:
    post:
      summary: User Rules Toggle
      description: POST /api/my-rules/{filename}/toggle — Enable/disable a user rule.
      operationId: user_rules_toggle_api_my_rules__filename__toggle_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - My Rules
  /api/my-rules/presets:
    get:
      summary: User Rules Presets
      description: GET /api/my-rules/presets?service=X — Get available presets and service metadata.
      operationId: user_rules_presets_api_my_rules_presets_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - My Rules