MCP server for Nuvem Fiscal — NF-e, NFS-e, NFC-e, CNPJ, CEP
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add nuvem-fiscal --env NUVEM_FISCAL_CLIENT_SECRET='<NUVEM_FISCAL_CLIENT_SECRET>' -- npx -y @codespar/mcp-nuvem-fiscal~/.codex/config.toml
[mcp_servers.nuvem-fiscal]
command = "npx"
args = ["-y", "@codespar/mcp-nuvem-fiscal"]
env = { NUVEM_FISCAL_CLIENT_SECRET = "<NUVEM_FISCAL_CLIENT_SECRET>" }
# codex mcp add nuvem-fiscal --env NUVEM_FISCAL_CLIENT_SECRET='<NUVEM_FISCAL_CLIENT_SECRET>' -- npx -y @codespar/mcp-nuvem-fiscal~/.cursor/mcp.json
{
"mcpServers": {
"nuvem-fiscal": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-nuvem-fiscal"
],
"env": {
"NUVEM_FISCAL_CLIENT_SECRET": "<NUVEM_FISCAL_CLIENT_SECRET>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"nuvem-fiscal": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@codespar/mcp-nuvem-fiscal"
],
"env": {
"NUVEM_FISCAL_CLIENT_SECRET": "<NUVEM_FISCAL_CLIENT_SECRET>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"nuvem-fiscal": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-nuvem-fiscal"
],
"env": {
"NUVEM_FISCAL_CLIENT_SECRET": "<NUVEM_FISCAL_CLIENT_SECRET>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"nuvem-fiscal": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-nuvem-fiscal"
],
"env": {
"NUVEM_FISCAL_CLIENT_SECRET": "<NUVEM_FISCAL_CLIENT_SECRET>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"nuvem-fiscal": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-nuvem-fiscal"
],
"env": {
"NUVEM_FISCAL_CLIENT_SECRET": "<NUVEM_FISCAL_CLIENT_SECRET>"
}
}
}
}需要的环境变量
NUVEM_FISCAL_CLIENT_SECRET
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。