AIアプリ(MCP)
アプリを接続
SendcorexをClaude、Claude Code、Cursor、VS Code、または任意のMCPクライアントに追加します。アカウントのURL、メールボックスのURL、またはその両方を使います。
- Streamable HTTP
- ClaudeではOAuth
- どこでもAPI key
サーバーのURL
https://g.sendcorex.com/mcp/accountドメイン、送信者、テンプレート、ログ、連絡先、検証、メール送信。
https://g.sendcorex.com/mcp/inbox1つのメールボックス:読み取り、検索、返信、整理、ルール。
モデルのコンテキストのツールを減らしたい場合は、アカウントのURLに ?tools=domain,logs を、メールボックスのURLに ?tools=mail,compose を追加します。
Claude(claude.aiとデスクトップアプリ)
OAuth- 1
Settings → Connectors → Add custom connectorを開きます。
- 2
アカウントのURL(またはメールボックスのURL)を貼り付けてAddをクリックします。
- 3
Connectをクリックします。Sendcorexのウィンドウが開くので、必要ならサインインし、権限(またはメールボックス)を選んで「承認」をクリックします。
- 4
Claudeに戻り、新しいチャットで頼みます。Claudeはアクセスを自動で更新します。
https://g.sendcorex.com/mcp/accounthttps://g.sendcorex.com/mcp/inboxClaudeに使わせたいメールボックスごとにメールボックスのURLを再度追加し、毎回別のメールボックスを選びます。
Claude Code
OAuthまたはAPI key- 1
OAuthの場合:サーバーを追加し、Claude Codeで/mcpを実行してAuthenticateを選びます。
- 2
API keyの場合:ヘッダーとして渡します。表示されるツールはキーの権限で決まります。
claude mcp add --scope user --transport http sendcorex https://g.sendcorex.com/mcp/accountclaude mcp add --scope user --transport http sendcorex https://g.sendcorex.com/mcp/account \
--header "Authorization: Bearer $SENDCOREX_API_KEY"Cursor
API key- 1
Settings → MCP → Add new MCP serverを開くか、~/.cursor/mcp.jsonを編集します。
- 2
設定を貼り付けて再読み込みします。
{
"mcpServers": {
"sendcorex": {
"url": "https://g.sendcorex.com/mcp/account",
"headers": { "Authorization": "Bearer YOUR_SENDCOREX_API_KEY" }
}
}
}VS Code (GitHub Copilot)
API key- 1
プロジェクトに.vscode/mcp.jsonを作成します(またはMCP: Add Serverを実行)。
- 2
VS Codeは初回にキーを尋ね、安全に保存します。
{
"inputs": [
{ "type": "promptString", "id": "sendcorex-key", "description": "Sendcorex API key", "password": true }
],
"servers": {
"sendcorex": {
"type": "http",
"url": "https://g.sendcorex.com/mcp/account",
"headers": { "Authorization": "Bearer ${input:sendcorex-key}" }
}
}
}ほかのMCPクライアント
OAuthまたはAPI key- 1
トランスポート:Streamable HTTP(POST、JSONレスポンス、セッションなし)。
- 2
認証:API keyによるAuthorization: Bearer、またはPKCE付きOAuth 2.1(401レスポンスから検出)。
- 3
プロトコルのバージョン:2024-11-05、2025-03-26、2025-06-18、2025-11-25。
接続をテスト
キーで使えるツールを一覧表示します。空のリストは、キーにアカウントの権限が1つもないことを意味します。 キーを編集 または読む 認証.
curl -s https://g.sendcorex.com/mcp/account \
-H "Authorization: Bearer $SENDCOREX_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'