ReqRes
Hosted backend for AI agents: create projects with persistent collections and keys, no signup.
사용해야 할까요
품질 및 안전성
발견 사항 (2)
- HIGH
- MEDIUMcreate_app_user_session에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"reqres": {
"url": "https://reqres.in/mcp"
}
}
}원격 엔드포인트
https://reqres.in/mcpstreamable-http할 수 있는 일
도구 목록
도구 (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.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢list_collections(api_key)
List the collections in the project.
입력 스키마
{
"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.
입력 스키마
{
"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).
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"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#"
}커뮤니티
증거