---
name: "mcp-ai-sefaz_df_nfce"
description: "SEFAZ DF: NFC-e, official-source lookup. Platform-hosted, pay per query with prepaid credit."
title: "sefaz_df_nfce — MCP server and REST API"
url: "https://mcp.ai/sefaz_df_nfce"
mcp_url: "https://api.mcp.ai/p_sefaz_df_nfce"
---

# sefaz_df_nfce — MCP server and REST API

> SEFAZ DF: NFC-e, official-source lookup. Platform-hosted, pay per query with prepaid credit.

## From sefaz_df_nfce to your AI in 2 minutes

One remote URL. Pick your client below and follow the steps.

**Remote MCP server URL:** `https://api.mcp.ai/p_sefaz_df_nfce?ms=1794923940000`

### Install prompt (paste into your agent)

```text
Use sefaz_df_nfce as a remote MCP server over HTTP/streamable-http at https://api.mcp.ai/p_sefaz_df_nfce?ms=1794923940000. Don't treat it as local/stdio, don't run npx/node to "spin up" a server, and don't assume that just registering the URL in a config is enough — the goal is to actually connect and call the tools.

Authentication (client without browser OAuth): (1) list the tools — you should see show_version, report_bug and authenticate; (2) call authenticate with no arguments → it returns a login link (/agent-auth); (3) show that link to the user and ask them to open it, log in at mcp.ai, and copy the access token (Bearer JWT) shown on the page; (4) when they paste the token back, call authenticate again with { "token": "<jwt_pasted_by_user>" }.

Once identity is confirmed, call connect → if it returns an authorization link, show it to the user so they can open it and authorize access. Once connected, use the server's read-only tools (e.g. sefaz_df_nfce_consultar).

Be operational: actually try the connection and run the whole flow; don't stop at "I added the URL" and don't say "it's not possible" without first trying authenticate and connect.
```

### Claude Web

Connect directly at claude.ai — or follow the manual steps below.

1. Copy the MCP URL.
2. Open Claude Web.
3. Paste the URL in the remote MCP server URL field and enter "sefaz_df_nfce" in Name.
4. Click Add, then Connect, and authenticate in the popup window.
5. Start a new chat and ask sefaz_df_nfce to do something.

Shortcut: https://claude.ai/new?modal=add-custom-connector#settings/customize-connectors

### Claude Desktop

The connector lives in your account, not in the app: add it once and it shows up on Desktop, Web and mobile.

1. Copy the MCP URL.
2. Click the button below — Claude opens with the add-connector modal already up.
3. Paste the URL in the remote MCP server URL field and enter "sefaz_df_nfce" in Name.
4. Click Add, then Connect, and authenticate in the popup window.
5. Open (or restart) Claude Desktop: the connector is already there.

Shortcut: https://claude.ai/new?modal=add-custom-connector#settings/customize-connectors

### ChatGPT

Add it as a custom app in developer mode (requires a plan that supports MCP).

1. Copy the MCP URL.
2. Open ChatGPT.
3. In Settings → Apps, turn on Developer mode.
4. Click "Create app". Enter "sefaz_df_nfce" in Name and paste the URL in MCP Server URL. Keep Authentication on OAuth, check "I understand", and click Create.

### Cursor

Add the server to Cursor's MCP settings.

1. Open Cursor → Settings → MCP → "Add new MCP server".
2. Paste the config below and save.
3. Authenticate when Cursor opens the login window.

```json
{
  "mcpServers": {
    "sefaz_df_nfce": {
      "url": "https://api.mcp.ai/p_sefaz_df_nfce?ms=1794923940000"
    }
  }
}
```

### OpenClaw / Agents

Point any MCP-compatible agent at the remote URL.

1. Copy the install prompt and paste it into your agent.
2. Authenticate when prompted.
3. Done — your agent can now call sefaz_df_nfce's tools.

## Alternative: REST API (no MCP client)

Base URL: `https://api.mcp.ai/api/sefaz_df_nfce`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://app.mcp.ai/settings/api-keys

```bash
curl https://api.mcp.ai/api/sefaz_df_nfce/_endpoints

curl -X POST https://api.mcp.ai/api/sefaz_df_nfce/<endpoint> \
  -H "Authorization: Bearer sk_live_…" \
  -H "Content-Type: application/json" \
  -d '{}'
```

- `POST https://api.mcp.ai/api/sefaz_df_nfce/consultar` — SEFAZ DF: NFC-e, consulta em fonte oficial. Hospedado pela plataforma, sem credenciais da plataforma, pague por consulta com crédito pré-pago. Consulta informação de fontes e órgãos oficiais brasileir
  - body: { nfce: string }

## Tools

- `sefaz_df_nfce_consultar(nfce: string)` — SEFAZ DF: NFC-e, consulta em fonte oficial. Hospedado pela plataforma, sem credenciais da plataforma, pague por consulta com crédito pré-pago. Consulta informação de fontes e órgãos oficiais brasileir

## Example prompts

- "Look up SEFAZ DF: NFC-e"

## More

- Page: https://mcp.ai/sefaz_df_nfce
- install.md: https://mcp.ai/sefaz_df_nfce/install.md
- skill.md: https://mcp.ai/sefaz_df_nfce/skill.md
- llms.txt: https://mcp.ai/sefaz_df_nfce/llms.txt
- Postman: https://mcp.ai/sefaz_df_nfce/postman.json
- Docs: https://mcp.ai/docs/mcps/sefaz_df_nfce
- Website: https://mcp.ai/mcps/sefaz_df_nfce
