CData's MCP Server for MYOB AccountRight allows Large Language Models (LLMs) like Claude Desktop to query live MYOB AccountRight data through natural language, eliminating the need for SQL knowledge. This server leverages CData's JDBC driver to expose MYOB AccountRight data through a Model Context Protocol interface.
git clone https://github.com/cdatasoftware/myob-accountright-mcp-server-by-cdata.git
cd myob-accountright-mcp-server-by-cdata
mvn clean install
This creates the CDataMCP-jar-with-dependencies.jar
file.
Download the CData JDBC Driver for MYOB AccountRight from CData's website.
Navigate to the lib
folder in the installation directory:
C:\Program Files\CData\CData JDBC Driver for MYOB AccountRight\
/Applications/CData JDBC Driver for MYOB AccountRight/
Run the licensing command:
java -jar cdata.jdbc.myobaccountright.jar --license
Enter your name, email, and "TRIAL" (or your license key).
Run the Connection String utility:
java -jar cdata.jdbc.myobaccountright.jar
Configure your connection settings and test the connection.
After successful testing, copy the connection string for later use.
Create a .prp
file (e.g., myob-accountright.prp
) with the following properties:
Prefix=myobaccountright
ServerName=CDataMYOBAccountRight
ServerVersion=1.0
DriverPath=PATH\TO\cdata.jdbc.myobaccountright.jar
DriverClass=cdata.jdbc.myobaccountright.MYOBAccountRightDriver
JdbcUrl=jdbc:myobaccountright:InitiateOAuth=GETANDREFRESH;
Tables=
Replace the DriverPath
with the full path to your CData JDBC driver JAR file, and update the JdbcUrl
with your connection string.
Create or modify the Claude Desktop configuration file:
Windows:
{
"mcpServers": {
"myobaccountright": {
"command": "PATH\\TO\\java.exe",
"args": [
"-jar",
"PATH\\TO\\CDataMCP-jar-with-dependencies.jar",
"PATH\\TO\\myob-accountright.prp"
]
}
}
}
Linux/Mac:
{
"mcpServers": {
"myobaccountright": {
"command": "/PATH/TO/java",
"args": [
"-jar",
"/PATH/TO/CDataMCP-jar-with-dependencies.jar",
"/PATH/TO/myob-accountright.prp"
]
}
}
}
Copy the config file to the appropriate directory:
Windows:
cp C:\PATH\TO\claude_desktop_config.json %APPDATA%\Claude\claude_desktop_config.json
Linux/Mac:
cp /PATH/TO/claude_desktop_config.json /Users/{user}/Library/Application\ Support/Claude/claude_desktop_config.json
Restart Claude Desktop completely.
To run the MCP Server standalone:
java -jar /PATH/TO/CDataMCP-jar-with-dependencies.jar /PATH/TO/myob-accountright.prp
Once configured, you can ask Claude questions about your MYOB AccountRight data using natural language. For example:
The MCP server provides the following tools (where {servername}
is your configured server name):
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "myob-accountright" '{"command":"java","args":["-jar","PATH/TO/CDataMCP-jar-with-dependencies.jar","PATH/TO/myob-accountright.prp"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"myob-accountright": {
"command": "java",
"args": [
"-jar",
"PATH/TO/CDataMCP-jar-with-dependencies.jar",
"PATH/TO/myob-accountright.prp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"myob-accountright": {
"command": "java",
"args": [
"-jar",
"PATH/TO/CDataMCP-jar-with-dependencies.jar",
"PATH/TO/myob-accountright.prp"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect