relation-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@relation-mcpFind tickets with label 'urgent' and status 'open'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
relation-mcp
A Model Context Protocol server for Re:lation (by 株式会社インゲージ). Lets Claude / Claude Code / any MCP client search and triage support tickets, create internal records, and inspect the address book directly from an agent.
Works against the official Re:lation REST API (
https://<tenant>.relationapp.jp/api/v2/). Read the full API reference at developer.ingage.jp.
Features
search_tickets— filter by status, assignee, labels, free-text queryget_ticket/update_ticket— fetch detail, change status/assignee/labelsreply_mail— customer-facing email reply, guarded by aconfirm_send: trueinterlocklist_mail_accounts— discover themail_account_idneeded forreply_mailcreate_record— post an internal 応対メモ (not visible to the customer)create_comment— post a team comment on a ticketsearch_customers/get_customer— address-book lookuplist_labels/list_users— reference data for scripting automationsBuilt-in token-bucket rate limiter (stays under the 60 req/min tenant limit)
Typed errors (
RelationApiError,RelationAuthError,RelationRateLimitError)
Safety note on reply_mail
reply_mail sends a real email to the customer on the ticket. To keep agents from accidentally firing it during tool chaining, the tool requires a confirm_send: true parameter — if missing or false, the call is rejected before hitting the Re:lation API. Use it deliberately.
Related MCP server: mcp-movidesk
Install
npm install -g relation-mcp
# or run ad-hoc with npx
npx relation-mcpConfigure
Generate an access token in Re:lation (admin UI → API token), then export:
export RELATION_SUBDOMAIN=yourtenant # the part before .relationapp.jp
export RELATION_MESSAGE_BOX_ID=1 # default 受信箱 ID
export RELATION_ACCESS_TOKEN=your_token_hereA copy of .env.example is included for reference.
Use with Claude Code / Claude Desktop
Add this to your MCP config (e.g. ~/.claude/config.json or the Claude Desktop config):
{
"mcpServers": {
"relation": {
"command": "npx",
"args": ["-y", "relation-mcp"],
"env": {
"RELATION_SUBDOMAIN": "yourtenant",
"RELATION_MESSAGE_BOX_ID": "1",
"RELATION_ACCESS_TOKEN": "your_token_here"
}
}
}
}Then prompt the agent:
Find tickets where status is open and the subject contains "本人確認", then summarize the top 5.
Tool reference
All tools accept an optional message_box_id to override the default for a single call.
Tool | Purpose |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Development
git clone https://github.com/sewon-supernova/relation-mcp.git
cd relation-mcp
npm install
npm run typecheck
npm test
npm run buildRun locally against a real tenant:
cp .env.example .env # fill in values
npm run build
node dist/index.js # speaks MCP over stdioRoadmap
list_message_boxeslist_pending_reasons/list_case_categoriesPagination helpers (auto-iterate
page)Prompt templates (MCP
prompts/*) for common triage flowsE2E tests against a staging tenant
Docker image
License
MIT — see full text.
Not affiliated with 株式会社インゲージ
This is an unofficial, community-maintained client. "Re:lation" and "relationapp.jp" are trademarks of their respective owners.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sewon-supernova/relation-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server