Skip to content

Servidor MCP de uma comunidade

POST/mcp/{community}

Auth
Requires a token
Endpoint descriptions come straight from the API specification and are in Portuguese for now. The interface around them is translated.

O mesmo servidor de `/mcp`, no endereço da comunidade: `community` é o slug (ex.: `/mcp/apicon`) ou o id. A autorização abre no domínio da comunidade, inclusive em domínio próprio, e só aceita token dessa comunidade; sem token, ou com token de outra comunidade, 401 com `WWW-Authenticate` apontando para `/.well-known/oauth-protected-resource/mcp/{community}`. `/mcp` sem comunidade continua valendo e entra na comunidade padrão.

Parameters

NameInTypeDescription
communityrequiredpathstring

Request body application/json

The specification does not declare the fields of this body (a multipart upload, for example). See the topic guide.

Responses

StatusDescription
200Resposta JSON-RPC (fora do envelope da API).
401Sem token, token inválido ou de outra comunidade.
404Comunidade desconhecida.
429Limite de requisições da conexão.

curl example

curl -X POST "https://api.memberfy.net/mcp/<community>" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'