Enterprise Integration Guide
This guide explains how to connect your enterprise’s private tools and APIs to Nitaq.Architecture Overview
Quick Start
1. Download the Connector
2. Create Configuration
Createconfig.json:
3. Build Your MCP Server
Use the Go SDK or Python SDK to build your MCP server.4. Run the Connector
SDKs
Go SDK
Use struct tags for automatic JSON Schema generation:nitaq:"required,description=...,enum=a|b|c,default=..."
Python SDK
Use decorators (FastAPI-style):Configuration Reference
config.json
| Field | Required | Description |
|---|---|---|
tunnel_key | Yes | Authentication key (from Nitaq dashboard) |
gateway_url | Yes | Gateway WebSocket URL |
discovery_paths.skills | No | Path to skills directory (default: ./skills) |
discovery_paths.policies | No | Path to policies directory (default: ./policies) |
mcp_servers | No | Map of MCP servers to manage |
debug | No | Enable debug logging |
MCP Server Config
Environment Variable Expansion
Use${VAR} syntax in config values to reference environment variables:
Discovery Engine
The connector automatically discovers:1. Tools (from MCP Servers)
Tools are discovered by starting each MCP server and callingtools/list.
Tool names are prefixed with server name: server.tool_name
2. Skills (from Markdown Files)
Create.md files in the skills directory with YAML frontmatter:
3. Policies (from Rego Files)
Create.rego files in the policies directory:
Directory Structure
Deployment
Docker
Kubernetes
Security Best Practices
- Outbound Only: Connector initiates outbound WebSocket connections. No inbound firewall rules needed.
- Least Privilege: Only expose tools that AI agents need.
- Input Validation: Validate all tool inputs before execution.
- Use Policies: Define OPA policies to control tool access.
- Secrets Management: Use environment variables or secret managers for credentials.
- Audit Logging: Log all tool executions for compliance.
Testing
Test MCP Server Standalone
Test Connector Discovery
Troubleshooting
| Issue | Solution |
|---|---|
| Connection refused | Check gateway_url and firewall rules |
| Authentication failed | Verify tunnel_key is correct |
| MCP server not starting | Check command path and permissions |
| Tools not discovered | Ensure MCP server responds to tools/list |
| Skills not found | Check discovery_paths.skills path exists |
Examples
Seeexamples/enterprise/ for a complete example:
config.json- Sample configurationbanking_service.go- Go MCP serverhr_service.py- Python MCP serverskills/- Sample skill filespolicies/- Sample policy files
Support
- Documentation: https://docs.nitaq.io
- GitHub Issues: https://github.com/nitaq/nitaq/issues