ReqRes
Hosted backend for AI agents: create projects with persistent collections and keys, no signup.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (2)
- HIGH
- MEDIUMen create_app_user_session
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"reqres": {
"url": "https://reqres.in/mcp"
}
}
}Puntos de conexión remotos
https://reqres.in/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (12)
🟡create_project
Create a real hosted backend (a REST API with a persistent database) in one call, with no account or API key. Use it when the user needs to store data, persist an app or prototype, or give a frontend a live API. Returns a manage key, a read-only public key, a starter "products" collection, the base URL and a claim_url. Show the user the claim_url: signing in through it keeps the project; otherwise it is deleted after 72 hours. Free limits: 250 requests a day, 3 collections, 100 records.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢list_collections(api_key)
List the collections in the project.
Esquema de entrada
{
"type": "object",
"properties": {
"api_key": {
"type": "string",
"minLength": 10,
"description": "Project manage key (pro_...) returned by create_project. Public keys (pub_...) are read-only."
}
},
"required": [
"api_key"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡create_collection(api_key, name)
Create a collection: a new resource (like a table) with its own REST endpoint at /api/collections/{slug}/records. Use one per kind of thing the app stores (tasks, users, orders). Free projects allow 3.
Esquema de entrada
{
"type": "object",
"properties": {
"api_key": {
"type": "string",
"minLength": 10,
"description": "Project manage key (pro_...) returned by create_project. Public keys (pub_...) are read-only."
},
"name": {
"type": "string",
"minLength": 1,
"description": "Human-readable name, e.g. \"Tasks\"; the slug is derived from it"
}
},
"required": [
"api_key",
"name"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢list_records(api_key, collection, page)
Read the records stored in a collection (paginated).
Esquema de entrada
{
"type": "object",
"properties": {
"api_key": {
"type": "string",
"minLength": 10,
"description": "Project manage key (pro_...) returned by create_project. Public keys (pub_...) are read-only."
},
"collection": {
"type": "string",
"minLength": 1,
"description": "Collection slug, e.g. \"products\""
},
"page": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"required": [
"api_key",
"collection"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡create_record(api_key, collection, data)
Save a record (a JSON object) in a collection so it persists. Pass the fields as data; the API returns it with an id.
Esquema de entrada
{
"type": "object",
"properties": {
"api_key": {
"type": "string",
"minLength": 10,
"description": "Project manage key (pro_...) returned by create_project. Public keys (pub_...) are read-only."
},
"collection": {
"type": "string",
"minLength": 1,
"description": "Collection slug, e.g. \"products\""
},
"data": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {},
"description": "Record fields, e.g. {\"title\": \"Write tests\", \"done\": false}"
}
},
"required": [
"api_key",
"collection",
"data"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_record(api_key, collection, record_id)
Read one record by id.
Esquema de entrada
{
"type": "object",
"properties": {
"api_key": {
"type": "string",
"minLength": 10,
"description": "Project manage key (pro_...) returned by create_project. Public keys (pub_...) are read-only."
},
"collection": {
"type": "string",
"minLength": 1,
"description": "Collection slug, e.g. \"products\""
},
"record_id": {
"type": "string",
"minLength": 1
}
},
"required": [
"api_key",
"collection",
"record_id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡patch_record(api_key, collection, record_id, data)
Merge the given fields into a record and keep the rest, e.g. {"done": true} to tick off a task. Use this for most edits.
Esquema de entrada
{
"type": "object",
"properties": {
"api_key": {
"type": "string",
"minLength": 10,
"description": "Project manage key (pro_...) returned by create_project. Public keys (pub_...) are read-only."
},
"collection": {
"type": "string",
"minLength": 1,
"description": "Collection slug, e.g. \"products\""
},
"record_id": {
"type": "string",
"minLength": 1
},
"data": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {},
"description": "Only the fields to change"
}
},
"required": [
"api_key",
"collection",
"record_id",
"data"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡create_app_user(api_key, email)
Add an end user to the project (for apps where each user sees only their own records). No email is sent. Then call create_app_user_session to act as that user.
Esquema de entrada
{
"type": "object",
"properties": {
"api_key": {
"type": "string",
"minLength": 10,
"description": "Project manage key (pro_...) returned by create_project. Public keys (pub_...) are read-only."
},
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"description": "The user's email; it does not need to receive mail"
}
},
"required": [
"api_key",
"email"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡create_app_user_session(api_key, app_user_id)
Get a 6-hour session token for an app user without email. Send it as Authorization: Bearer <session_token> to https://reqres.in/app/collections/{collection}/records, where the user only sees their own records. Real users sign in with an emailed code via /api/app-users/login.
Esquema de entrada
{
"type": "object",
"properties": {
"api_key": {
"type": "string",
"minLength": 10,
"description": "Project manage key (pro_...) returned by create_project. Public keys (pub_...) are read-only."
},
"app_user_id": {
"type": "string",
"minLength": 1,
"description": "id returned by create_app_user"
}
},
"required": [
"api_key",
"app_user_id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢list_logs(api_key, limit, status, method, path_prefix)
See recent requests to the project (method, path, status, timing), newest first. Use it to debug why an app's calls fail.
Esquema de entrada
{
"type": "object",
"properties": {
"api_key": {
"type": "string",
"minLength": 10,
"description": "Project manage key (pro_...) returned by create_project. Public keys (pub_...) are read-only."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 200
},
"status": {
"description": "Only this HTTP status, e.g. 404",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"method": {
"type": "string"
},
"path_prefix": {
"description": "e.g. /api/collections/todos",
"type": "string"
}
},
"required": [
"api_key"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴update_record(api_key, collection, record_id, data)
Replace all of a record's fields: fields you leave out are removed. To change some fields and keep the rest, use patch_record.
Esquema de entrada
{
"type": "object",
"properties": {
"api_key": {
"type": "string",
"minLength": 10,
"description": "Project manage key (pro_...) returned by create_project. Public keys (pub_...) are read-only."
},
"collection": {
"type": "string",
"minLength": 1,
"description": "Collection slug, e.g. \"products\""
},
"record_id": {
"type": "string",
"minLength": 1
},
"data": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"required": [
"api_key",
"collection",
"record_id",
"data"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴delete_record(api_key, collection, record_id)
Delete a record from a collection.
Esquema de entrada
{
"type": "object",
"properties": {
"api_key": {
"type": "string",
"minLength": 10,
"description": "Project manage key (pro_...) returned by create_project. Public keys (pub_...) are read-only."
},
"collection": {
"type": "string",
"minLength": 1,
"description": "Collection slug, e.g. \"products\""
},
"record_id": {
"type": "string",
"minLength": 1
}
},
"required": [
"api_key",
"collection",
"record_id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Comunidad
Evidencia