MCP Integration
Model Context Protocol (MCP) integration allows Cursor and other AI tools to seamlessly use UdonOne for document conversion and analysis.
What is MCP?
MCP is a protocol that enables AI assistants to interact with external tools and services. By integrating UdonOne as an MCP server, you can use it directly from Cursor or other MCP-compatible tools.
Installation
Add UdonOne to your MCP configuration:
{
"mcpServers": {
"udonone": {
"command": "npx",
"args": ["-y", "@udonone/mcp-server"],
"env": {
"UDONONE_API_KEY": "your-api-key-here",
"UDONONE_BASE_URL": "http://localhost:3000"
}
}
}
}Available Tools
- convert_file - Convert a file from one format to another
- convert_and_analyze - Convert a file and analyze it with AI
- get_supported_formats - Get list of supported input/output formats
- get_conversion_status - Check the status of a conversion
Usage Example
In Cursor, you can now ask:
"Convert this PDF to PNG and analyze it with ChatGPT to extract invoice data"
Benefits
- Seamless integration with AI development tools
- No need to manually call APIs
- Direct document conversion in your workflow
- AI-powered analysis built-in
Getting Started
To get started, you'll need an API token. Create one in your dashboard, then add it to your MCP configuration.
Get Your API Token