tsurugi-mcp-server logo

tsurugi-mcp-server

Organization
project-tsurugi

MCP server to access Tsurugi

Publisherproject-tsurugi
Repositorytsurugi-mcp-server
LanguageJava
Forks
1
Stars
9
Available tools
0
Transport typestdio
Categories
LicenseApache-2.0
Links
  • Connect tools to AI workflows

    tsurugi-mcp-server exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    9 stars and 1 forks from the linked repository.

tsurugi-mcp-server

Model Context Protocol server to access Tsurugi.

Limitations

  • Tsurugi 1.12.0 or later.
  • Java21 or later.

Components

Tools

  • listTableNames
    • list table names.
  • getTableMetadata
    • get table metadata (table schema).
    • parameter
      • tableName - table name (string, required)
  • query
    • execute SQL (select).
    • parameter
      • sql - SQL (string, required)
      • transaction_type - OCC, LTX, RTX. (string, default: RTX)
      • cursor - To continue the previous query. (string)
    • If there is a continuation, nextCursor is returned.
  • update
    • execute SQL (insert, update, delete).
    • parameter
      • sql - SQL (string, required)
      • transaction_type - OCC, LTX. (string, default: OCC)
      • write_preserve - write preserve table names. (string, required when transaction_type is LTX)
  • executeDdl
    • execute DDL (create, drop)
    • parameter
      • sql - SQL (string, required)
      • transaction_type - OCC, LTX. (string, default: OCC)

Resources

  • table metadata

Prompts

  • tableList-prompt
    • Prompt to display the list of tables.
  • tableMetadata-prompt
    • Prompt to display the table metadata.
  • query-prompt
    • Prompt to display the table data.

Configuration

Usage with Claude Desktop

First, download the tsurugi-mcp-server jar file from release page.

To use this server with the Claude Desktop, add the following configuration to the "mcpServers" section of your claude_desktop_config.json:

json
{
  "mcpServers": {
    "tsurugidb": {
      "command": "java",
      "args": [
        "-jar",
        "/path/to/tsurugi-mcp-server-all.jar",
        "-c", "tcp://localhost:12345",
        "--credentials", "/path/to/credential-file"
      ]
    }
  }
}
  • command
    • If the java command is not included in the PATH, specify the full path. (e.g., "C:/Program Files/Java/jdk-21/bin/java")
  • args
    • Specify the jar file by full path.
    • -c or --connection - the endpoint URL to connect Tsurugi. (required)
    • --db-timeout - default timeout (in seconds) for accessing Tsurugi. If set to 0, there is no timeout.
    • Specify one of the following credentials.
      • "--user", "user" and "--password", "password"
      • "--auth-token", "auth token"
      • "--credentials", "/path/to/credential-file"
      • "--no-auth"
      • If none of these are specified, authentication will be performed in the following order of priority.
        1. If TSURUGI_AUTH_TOKEN is specified in env, authenticate using it as the auth token.
        2. If a default credential file (USER_HOME/.tsurugidb/credentials.json) exists, use it for authentication.
        3. Authenticate without authentication.
    • If you want to limit the tools used, add --enable-tools. (e.g., for read-only access: "--enable-tools", "listTableNames, getTableMetadata, query")
    • If resources is not used, add "--resource", "false".
    • If prompts is not used, add "--prompt", "false".

How to build

bash
cd tsurugi-mcp-server
./gradlew shadowJar
ls build/libs/

How to test

bash
cd tsurugi-mcp-server
./gradlew test -Pdbtest.endpoint=tcp://localhost:12345 \
-Pdbtest.user=user \
-Pdbtest.password=password \
-Pdbtest.auth-token=token \
-Pdbtest.credentials=/path/to/credential-file

License

Apache License, Version 2.0

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "project-tsurugi-tsurugi-mcp-server": {
      "command": "",
      "args": []
    }
  }
}

Use tsurugi-mcp-server MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once tsurugi-mcp-server is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add tsurugi-mcp-server as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the tsurugi-mcp-server MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "project-tsurugi-tsurugi-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "tsurugi-mcp-server"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the tsurugi-mcp-server MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the tsurugi-mcp-server MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use tsurugi-mcp-server to help me with this task?
tsurugi-mcp-server
Sure. I read it.
Here is what I found using tsurugi-mcp-server.

Frequently asked questions

What is the tsurugi-mcp-server MCP server used for?

tsurugi-mcp-server is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use tsurugi-mcp-server MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use tsurugi-mcp-server with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use tsurugi-mcp-server MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With tsurugi-mcp-server connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect tsurugi-mcp-server MCP to TypingMind?

tsurugi-mcp-server runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does tsurugi-mcp-server MCP provide in TypingMind?

tsurugi-mcp-server exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use tsurugi-mcp-server MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If tsurugi-mcp-server requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇