MCP
Learn how to use DigiTax Zimbabwe's MCP server
MCP stands for Model Context Protocol. Read more about it in the official documentation.
The DigiTax Zimbabwe Model Context Protocol (MCP) server enables AI-powered code editors like Cursor and Windsurf, plus general-purpose tools like Claude Desktop, to interact directly with your DigiTax Zimbabwe API and documentation.
What is MCP?
Model Context Protocol (MCP) is an open standard that allows AI applications to securely access external data sources and tools. The DigiTax Zimbabwe MCP server provides AI agents with:
- Direct API access to DigiTax Zimbabwe functionality
- Documentation search capabilities
- Real-time data from your DigiTax Zimbabwe account
- Code generation assistance for DigiTax Zimbabwe integrations
DigiTax Zimbabwe MCP Server Setup
DigiTax Zimbabwe hosts a remote MCP server at https://zw.docs.digitax.tech/mcp. Configure your AI development tools to connect to this server. If your APIs require authentication, you can pass in headers via query parameters or however headers are configured in your MCP client.
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"zw-dgtax": {
"url": "https://zw.docs.digitax.tech/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"zw-dgtax": {
"url": "https://zw.docs.digitax.tech/mcp"
}
}
}Claude Desktop connects to remote MCP servers through the Connectors UI, not via claude_desktop_config.json.
- Open Claude Desktop and go to Settings → Connectors.
- Click Add custom connector.
-
Enter a name (e.g.
DigiTax Zimbabwe) and the URL:https://zw.docs.digitax.tech/mcp - Save. To use it in a conversation, click + → Add connectors and enable DigiTax Zimbabwe.
Testing Your MCP Setup
Once configured, you can test your MCP server connection:
- Open your AI editor (Cursor, Windsurf, Claude Desktop, etc.)
- Start a new chat with the AI assistant
- Ask about DigiTax Zimbabwe - try questions like:
- "How do I issue a ZIMRA fiscal invoice in USD with DigiTax Zimbabwe?"
- "Show me a credit note that refunds receipt INV-001 in full"
- "Which tax IDs can my device use, and when is an 8-digit HS code required?"
- "Is my current fiscal day open, and when will it close?"
- "Why is my receipt FLAGGED, and what should I do about it?"
The AI should now have access to your DigiTax Zimbabwe account data and documentation through the MCP server.
Authentication
The DigiTax Zimbabwe MCP server reads live data from your account. Pass your API key as a request header:
X-API-Key: <your-api-key>See API Prerequisites for how to obtain your key and configure it in your MCP client.
Updated about 2 hours ago