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
| Name | In | Type | Description |
|---|---|---|---|
communityrequired | path | string |
Request body application/json
The specification does not declare the fields of this body (a multipart upload, for example). See the topic guide.
Responses
| Status | Description |
|---|---|
200 | Resposta JSON-RPC (fora do envelope da API). |
401 | Sem token, token inválido ou de outra comunidade. |
404 | Comunidade desconhecida. |
429 | Limite 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 '{}'