Spedy NFS-e MCP
Spedy NFS-e MCP
認証付きMCP Streamable HTTPエンドポイントを通じて、Spedy NFS-eの発行およびステータス操作を公開するInvokta Action Engineです。
このエンジンには3つのケイパビリティが含まれています:
openapi.emitir-nfse: NFS-eを作成し、非同期発行のためにキューに登録します。openapi.consultar-nfse: 1件のNFS-eの現在のステータスを読み取ります。openapi.listar-nfse: Spedyのフィルタとページネーションを使用してNFS-eレコードを一覧表示します。
すべてのケイパビリティには認証済みプリンシパルが必要です。Spedyの認証情報はサーバー側に保持され、MCPツールの入力として受け付けられることはありません。
初回実行
npm run check
npm run build
npm run mcp:http同梱のローカル設定は、http://127.0.0.1:3400/mcp でMCPを提供します。クライアントは Authorization: Bearer <MCP_BEARER_TOKEN> を送信する必要があります。
コミット済みの .env.example と無視されるローカルの .env にはモック値が含まれています。実際のリクエストを行う前に MCP_BEARER_TOKEN と SPEDY_API_KEY を置き換えてください。デフォルトのコネクタターゲットはSpedyのサンドボックスであり、本番環境が暗黙的に選択されることはありません。
Related MCP server: Receita Federal NFS-e: Notas Recebidas MCP
設定
Variable | Purpose |
| MCP HTTPエンドポイントを保護します。最小32文字です。 |
| コネクタによってサーバー側の |
| Spedy APIのオリジン。通常は |
| バインドホスト。デフォルトは |
| バインドポート。ローカル例では |
発行は非同期です。emitir-nfse の成功結果は、Spedyがリクエストを受け入れ、キューに登録したことを意味します。認可または拒否を確認するには、consultar-nfse またはSpedyのWebhookを使用してください。再試行を冪等にするために、常に安定した integrationId を提供してください。
プロジェクト構成
src/capabilities/はドメインアクションと、その入力、出力、アクセス、実行コントラクトを管理します。src/engine.tsは安定したケイパビリティIDを登録し、エンジン所有の依存関係を提供します。src/direct.tsは最小の実行可能なスモークテストパスです。test/engine.test.tsは公開エンジン境界を通じて動作を検証します。AGENTS.mdはプロジェクトの譲れないアーキテクチャと納品ルールを記録しています。.agents/skills/develop-invokta-project/SKILL.mdは互換性のあるエージェントに完全な変更ワークフローを提供します。
生成されたケイパビリティのレビュー
AGENTS.mdと生成された開発スキルを読んでください。必要なドメイン成果に対する失敗するエンジンレベルのテストを追加してください。
src/capabilities/配下のモジュールを更新または置き換え、そのリテラルなケイパビリティIDをsrc/engine.tsに登録してください。直接および生成されたアダプタのエントリポイントを同じエクスポートされたエンジンに維持してください。アダプタ内でケイパビリティハンドラを複製しないでください。
npm run checkを実行し、デプロイ前にdevtoolsでケイパビリティを確認してください。
対話的に開発する
npm run devtoolsエンジンをビルドし、Invokta devtoolsを起動します。通常は http://localhost:4100/ で実行されます。コマンドが出力するURLを開くと、ケイパビリティの閲覧、選択した実行パスを通じたスキーマシード済みJSONからの呼び出し、ライブ呼び出しトレースの追跡、テストIDの切り替え、ドクターレポートの閲覧ができます。ソースの変更は、ホストされたエンジンを自動的に再ビルドして再起動します。
読み取り専用のdevtools診断を実行するには:
npm run devtools:doctorMCP HTTPの起動
npm run build
npm run mcp:httpサーバーをパッケージ化し、既存のエンドポイントをプローブするには:
npm run deploy:package
npm run deploy:probe -- --url https://engine.example/mcpデプロイ前に、生成されたすべてのケイパビリティのドメイン上の意味とアクセスルールをレビューしてください。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceAllows consultation of NFS-e (electronic service invoices) from the Brazilian Federal Revenue official source, with a single read-only tool.MIT
- AlicenseNot gradedqualityCmaintenanceQueries official Brazilian federal received electronic invoices (NFS-e) via a hosted, read-only MCP server with prepaid credits, requiring no platform credentials.MIT
- AlicenseNot gradedqualityCmaintenanceEnables querying official electronic service invoices (NFS-e) from the Cuiabá city government in Brazil, providing read-only access to official data.MIT
- AlicenseNot gradedqualityCmaintenanceEnables querying official electronic service invoice (NFS-e) data from the Recife city government through a read-only, hosted MCP server with pay-per-use prepaid credits.MIT
Related MCP Connectors
Brazilian fiscal MCP server - issue NF-e, NFC-e, NFS-e, CT-e, MDF-e and DC-e via SEFAZ.
Brazil NFS-e service invoices for AI agents via Focus NFe and NFe.io. Stateless, never stores data.
Issue and manage Brazilian service invoices (NFS-e) by chatting with your agent, platform-hosted, no
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/vinilana/nf-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server