# Agent Rails public MCP and OAuth HTTP API API

**Canonical:** https://apis.io/apis/rails-so/agent-rails-public-mcp-and-oauth-http-api-api/  
**Provider:** rails-so — https://apis.io/providers/rails-so/  
**Base URL:** https://rails.so  
**Documentation:** https://api.rails.so/openapi.json

Agent Rails public MCP and OAuth HTTP API API is one of 2 APIs that [rails-so](https://apis.io/providers/rails-so/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 4 JSON Schema definitions. The published artifact set on APIs.io includes an OpenAPI specification and 4 JSON Schemas.

Public HTTP envelope for admitted agent apps. OAuth issuer is rails.so; each MCP resource has its own audience. Tool names and schemas are release-bound and come from authenticated tools/list, not this static document.

## Operations (6)

| Method | Path | Summary |
|---|---|---|
| GET | `/.well-known/oauth-authorization-server` | Authorization server metadata |
| POST | `/oauth/register` | Dynamic public-client registration (RFC 7591) |
| GET | `/oauth/authorize` | Begin authorization-code + PKCE consent |
| POST | `/oauth/authorize` | Submit signed-in consent decision |
| POST | `/oauth/token` | Redeem authorization code or rotate refresh token |
| POST | `/oauth/revoke` | Revoke an access or refresh token |

## Machine-readable artifacts (5)

- **OpenAPI** — https://artifacts.apis.io/rails-so/openapi/_original/rails-so-api-openapi.json
- **JSONSchema** — https://artifacts.apis.io/rails-so/json-schema/rails-so-registration-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/rails-so/json-schema/rails-so-authorization-server-metadata-schema.json
- **JSONSchema** — https://artifacts.apis.io/rails-so/json-schema/rails-so-registration-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/rails-so/json-schema/rails-so-token-response-schema.json

## Other rails-so APIs (1)

- [Rails Agent API](https://apis.io/apis/rails-so/rails-agent-api/)

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/rails-so/agent-rails-public-mcp-and-oauth-http-api-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/rails-so/.
