# pref_rs_farroupilha_nfs — how to use (mcp.ai)

Prefeitura RS Farroupilha: NFS-e (Nota Fiscal Eletrônica de Serviços), official-source lookup. Platform-hosted, pay per query with prepaid credit.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_pref_rs_farroupilha_nfs?ms=1787218560000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `pref_rs_farroupilha_nfs_consultar`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/pref_rs_farroupilha_nfs`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/pref_rs_farroupilha_nfs/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/pref_rs_farroupilha_nfs/consultar` — Prefeitura RS Farroupilha: NFS-e (Nota Fiscal Eletrônica de Serviços), consulta em fonte oficial. Hospedado pela plataforma, sem credenciais da plataforma, pague por consulta com crédito pré-pago. Con
  - body: { chave: string }

## Example prompts
- "Look up Prefeitura RS Farroupilha: NFS-e (Nota Fiscal Eletrônica de Serviços)"

## More
- Page: https://mcp.ai/pref_rs_farroupilha_nfs
- Agent spec (llms.txt): https://mcp.ai/pref_rs_farroupilha_nfs/llms.txt
- Postman collection: https://mcp.ai/pref_rs_farroupilha_nfs/postman.json
