SDKs and LLMs
OpenAPI codegen for 50+ programming languages, with MCP and LLMs.txt support
OpenAPI Specification
The Digits Connect API provides a complete OpenAPI 3.0 specification that describes all available endpoints, request parameters, response schemas, and authentication requirements. The spec is available at:
https://developer.digits.com/openapi
This machine-readable specification enables automatic code generation, API testing, and integration with development tools.
Client Code Generation
You can generate a client library in your preferred programming language using the OpenAPI Generator tool. OpenAPI Generator supports 50+ languages and frameworks including:
- Languages: Python, Java, JavaScript/TypeScript, Go, Ruby, PHP, C#, Swift, Kotlin
- Frameworks: Node.js, Spring, Django, Rails, and more
Using OpenAPI Generator
-
Install OpenAPI Generator from https://github.com/OpenAPITools/openapi-generator
-
Generate a client for your language:
openapi-generator-cli generate \ -i https://developer.digits.com/openapi \ -g <language> \ -o ./connect-client -
Replace
<language>with your target (e.g.,python,typescript-node,java,go)
The generated client will include typed methods for all API endpoints, request/response models, and built-in OAuth2 authentication handling.
MCP Server for AI Assistants
The Digits Connect API documentation includes a built-in MCP (Model Context Protocol) server that enables AI assistants to interact directly with the API specification. This allows LLMs to execute requests, retrieve endpoint details, and generate code snippets programmatically.
Connecting to the MCP Server
The MCP server is auto-generated and ready to enable in your AI assistant's configuration. Add the server URL to your assistant's MCP settings:
https://developer.digits.com/mcp
Available Tools
The MCP server provides OpenAPI tools including:
- Execute API requests
- Retrieve endpoint details and parameters
- Access request and response schemas
- Browse available endpoints
- View security requirements
- Generate code snippets
For more information about MCP servers, see the MCP documentation.
LLMs.txt for AI Context
The Digits Connect API documentation also provides an llms.txt file that helps AI assistants understand the API documentation structure and content. This file is automatically available at:
https://developer.digits.com/llms.txt
What is llms.txt?
llms.txt is a configuration file that provides AI language models with structured metadata about your API documentation, including:
- Documentation organization and content hierarchy
- API version information
- API-specific terminology
- Links to guides, API references, and other resources
Benefits
- Ensures AI assistants reference current documentation rather than outdated information
- Reduces inaccurate or fabricated responses about the API
- Requires zero maintenance—automatically updates with documentation changes
- Works with popular AI assistants like ChatGPT and Claude
This standard makes it easier for developers to get accurate answers about the Connect API when using AI coding assistants.
Updated 5 days ago
