Developers & MCP
Ricoh Address Book Decoder exposes a Model Context Protocol (MCP) server so AI agents can decode a Ricoh address-book backup as a tool, plus a plain REST endpoint. The decrypt algorithm stays server-side; you send a file, you get structured data back. Use only on devices and data you are authorized to examine.
MCP endpoint
Streamable HTTP transport (JSON-RPC 2.0), stateless — no session or key required.
POST https://addressbookdecoder.com/api/mcp Content-Type: application/json
Tools
- decode_ricoh_address_book
- args: file_base64 (required), filename?, password?
returns: model, header, sections (destinations, servers, contacts, user_codes, apps), counts - list_supported_models
- args: —
returns: models[] { name, slug, url } - get_decode_stats
- args: —
returns: totalDecodes, modelsDecoded, modelsCatalogued
Connect an agent
Claude Code:
claude mcp add --transport http ricoh-decoder https://addressbookdecoder.com/api/mcp
Generic MCP client config:
{
"mcpServers": {
"ricoh-decoder": {
"type": "http",
"url": "https://addressbookdecoder.com/api/mcp"
}
}
}Raw JSON-RPC examples
Initialize + list tools:
curl -s https://addressbookdecoder.com/api/mcp -H 'content-type: application/json' -d '{
"jsonrpc":"2.0","id":1,"method":"initialize",
"params":{"protocolVersion":"2025-06-18","capabilities":{},
"clientInfo":{"name":"my-agent","version":"1.0"}}
}'
curl -s https://addressbookdecoder.com/api/mcp -H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/list"}'Decode a backup:
B64=$(base64 -w0 "RICOH IM 7000_addr.udf")
curl -s https://addressbookdecoder.com/api/mcp -H 'content-type: application/json' -d '{
"jsonrpc":"2.0","id":3,"method":"tools/call",
"params":{"name":"decode_ricoh_address_book",
"arguments":{"file_base64":"'"$B64"'","password":""}}
}'REST endpoint
For non-MCP clients, a multipart form POST returns JSON directly:
curl -s https://addressbookdecoder.com/api/decode \ -F '[email protected]' -F 'password=' -F 'tos=on' # -> { "id": "...", "model": "IM7000", "counts": { ... } } # public counters: curl -s https://addressbookdecoder.com/api/stats
Limits & terms
- Rate limited per client IP; uploads are size-capped.
- Decoding is for authorized forensics and audits only — see authorized use.
- A decode is returned to you and also retained for the operator (encrypted at rest) for audit — do not submit data you are not permitted to share.
- Only submit backups from devices you are permitted to examine.