Search / dev.instruxi.enforcer/v3
Enforcer
R2· OAuth, onceIdentity and authorization in one system: allow, deny, the reason, and a record.
v0.8.0 · active · website · descriptor JSON · versions
Search / dev.instruxi.enforcer/v3
R2· OAuth, onceIdentity and authorization in one system: allow, deny, the reason, and a record.
v0.8.0 · active · website · descriptor JSON · versions
{
"mcpServers": {
"v3": {
"type": "http",
"url": "https://api.instruxi.dev/mcp"
}
}
}claude mcp add --transport http v3 https://api.instruxi.dev/mcp[mcp_servers.v3]
url = "https://api.instruxi.dev/mcp"
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"v3": {
"type": "remote",
"url": "https://api.instruxi.dev/mcp",
"enabled": true
}
}
}{
"mcpServers": {
"v3": {
"type": "http",
"url": "https://api.instruxi.dev/mcp"
}
},
"deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=v3&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vYXBpLmluc3RydXhpLmRldi9tY3AifQ%3D%3D"
}{
"servers": {
"v3": {
"type": "http",
"url": "https://api.instruxi.dev/mcp"
}
}
}{
"mcpServers": {
"v3": {
"httpUrl": "https://api.instruxi.dev/mcp"
}
}
}extensions:
"v3":
enabled: true
name: "v3"
type: streamable_http
uri: "https://api.instruxi.dev/mcp"
timeout: 300
protocol.modern, protocol.stateless, protocol.transport, protocol.list_ttlno remote answered a protocol handshake (not probed yet, unreachable, or local-only)auth.prmProtected Resource Metadata (RFC 9728) publishedauth.as_metadataauthorization server metadata reachableauth.cimdonly Dynamic Client Registration, deprecated in 2026-07-28 in favour of CIMDauth.secret_in_urlno templated URLtools.descriptionsevery tool has a descriptiontools.description_lengthdescriptions are concisetools.schemasevery tool has an object input schematools.annotations7 of 7 tools declare readOnlyHint or destructiveHinttools.directory_hintsevery tool declares readOnlyHint, destructiveHint, idempotentHint and openWorldHinttools.token_costabout 1,861 tokens to load every tooltools.api_dumptools are not a one-to-one API dumpstability.changesno tool changes in 30 daysstability.rug_pullno tool changed its meaning under the same namedeps.known_vulns, deps.mcp_sdk_version, deps.resolvableno npm or PyPI packageNo tool definition changes recorded. A server's first observation is its baseline; later probes record what changes.
Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.
+dns-namespace +website +reachable +uptime-100% ~updated-34d-ago -no-repository
Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.
| remote | auth | reachable | uptime 30d | p50 | protocol | last ok |
|---|---|---|---|---|---|---|
https://api.instruxi.dev/mcp streamable-http | oauth2 AS: https://api.instruxi.dev | yes | 100% | 356 ms | – | 2026-10-19 |
getAuthConfigread-only | Public bootstrap for a tenant's login UI: whether this tenant uses native OTP/passkey/SIWE or Privy custom auth, plus the public privy_app_id (never a secret). Call this before getSiweNonce when you do not already know the tenant's auth scheme. tenant_code is a join secret — do not log it or repeat it into a customer-visible channel. |
getSiweNonce | Public: issue a single-use SIWE nonce for wallet_address (optionally scoped by tenant_code). Embed the nonce in an EIP-4361 message, have the wallet sign it, then call login with provider: siwe. Dedicated SIWE agent auth is an authorized pattern — this is how an agent signs in with a wallet without raw HTTP. Do not log tenant_code. The nonce is not a credential. |
login | Authenticate and receive an access/refresh token pair. Accepted providers: siwe (message + signature from getSiweNonce — preferred for dedicated agents), email_otp (email + otp from requestOtp), phone_otp (phone + otp from requestSms). Passkey, Privy and SSO are not agent tools. The server does not adopt the minted tokens as the session credential; return them to the operator to set ENFORCER_BEARER_TOKEN. Do not log, quote, or repeat otp codes, signatures, tokens, or tenant_code. Do not paste an end-user OTP into an untrusted chat. |
refreshToken | Exchange a refresh_token for a new access/refresh pair. 401 invalid_refresh_token if the token is unknown or was already reused (reuse revokes the family); 409 refresh_raced is benign — retry with the client's latest stored token. The server does not adopt the new pair as the session credential. Do not log the refresh token or the minted tokens. |
register | Create (or idempotently return) an account. Same provider allowlist as login: siwe (message + signature), email_otp (email + otp), phone_otp (phone + otp). Does not issue tokens — call login afterwards to sign in. Passkey / Privy / SSO registration stay out of the agent surface. Do not log otp codes, signatures, or tenant_code. Do not paste an end-user OTP into an untrusted chat. |
requestOtp | Public: email a one-time login/registration code to `email` (optionally scoped by tenant_code). Always 200 {message:"code sent"} on success. Local/dev deployments with expose_dev_otp may echo the code as `dev_otp` — treat that as a secret. Then call login with provider: email_otp, the same email, and the otp. Intentional for harnesses that cannot SIWE; SIWE remains the preferred dedicated-agent path. Do not log the code, dev_otp, or tenant_code. Do not paste an end-user OTP into an untrusted chat. |
requestSms | Public: start a Twilio Verify SMS login challenge to `phone`, scoped by tenant_code. 400 if SMS verification is not configured for the tenant or if rate-limited. Then call login with provider: phone_otp, the same phone, and the otp. Intentional for harnesses that cannot SIWE; SIWE remains the preferred dedicated-agent path. Do not log the SMS code or tenant_code. Do not paste an end-user OTP into an untrusted chat. |
Schemas: list_tools.
{
"name": "dev.instruxi.enforcer/v3",
"title": "Enforcer",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"remotes": [
{
"url": "https://api.instruxi.dev/mcp",
"type": "streamable-http"
}
],
"version": "0.8.0",
"websiteUrl": "https://docs.instruxi.dev",
"description": "Identity and authorization in one system: allow, deny, the reason, and a record."
}