Skip to main content
Glama
agentline-mcp

agentline-mcp

by jgottlieb84

Agentline MCP

AI 에이전트에게 MCP 도구로서 전화번호, 이메일, SMS 및 음성 통화 기능을 부여하세요.

Claude Desktop, Cursor, Zed, Windsurf 또는 기타 MCP 클라이언트에 한 번 설치하면, 에이전트가 직접 전화번호를 할당받고, 2FA 코드를 캡처하며, SMS를 보내고, AI 음성 통화를 걸고, 이메일을 송수신할 수 있습니다.

설치

# requires uv — https://docs.astral.sh/uv/
uvx agentline-mcp

또는 pip 사용:

pip install agentline-mcp
agentline-mcp

Related MCP server: AgentTrust MCP Server

구성

API 키를 환경 변수로 설정하세요. agentline.co에서 발급받을 수 있습니다.

export AGENTLINE_API_KEY=ag_live_...

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json(macOS) 또는 %APPDATA%\Claude\claude_desktop_config.json(Windows)을 편집하세요:

{
  "mcpServers": {
    "agentline": {
      "command": "uvx",
      "args": ["agentline-mcp"],
      "env": {
        "AGENTLINE_API_KEY": "ag_live_..."
      }
    }
  }
}

Cursor

~/.cursor/mcp.json:

{
  "mcpServers": {
    "agentline": {
      "command": "uvx",
      "args": ["agentline-mcp"],
      "env": {
        "AGENTLINE_API_KEY": "ag_live_..."
      }
    }
  }
}

Zed

~/.config/zed/settings.json에 추가하세요:

{
  "context_servers": {
    "agentline": {
      "command": {
        "path": "uvx",
        "args": ["agentline-mcp"],
        "env": { "AGENTLINE_API_KEY": "ag_live_..." }
      }
    }
  }
}

Windsurf / Continue / 기타 stdio MCP 클라이언트

동일한 uvx agentline-mcp 명령어를 사용하고 서버 환경 변수에 AGENTLINE_API_KEY를 설정하세요. 모든 주요 MCP 클라이언트는 동일한 stdio 실행 패턴을 공유합니다.

제공되는 도구

전화번호

  • provision_number — 에이전트가 사용할 전화번호 획득

  • release_number — 작업 완료 후 번호 해제 (월간 요금 방지)

  • list_numbers — 할당된 번호 목록 확인

SMS

  • send_sms — 발신 SMS 전송

  • wait_for_sms — 다음 수신 SMS를 기다리는 롱 폴링 (선택적 정규식 매칭 포함)

  • capture_code — 핵심 기능. 번호 할당 + 2FA 코드 대기 + 해제를 한 번의 호출로 수행

음성 통화

  • make_call — 발신 AI 음성 통화 수행 (비차단 방식, call_id 반환)

  • get_call — 통화 상태, 녹취록, 요약 정보 확인

  • hangup_call — 진행 중인 통화 종료

이메일

  • create_email_address — 이메일 주소 할당

  • list_email_addresses — 할당된 이메일 주소 목록 확인

  • release_email_address — 이메일 주소 해제

  • send_email — 발신 이메일 전송

  • wait_for_email — 수신 이메일을 기다리는 롱 폴링

  • capture_email_code — 이메일 기반 인증 코드 할당 + 대기 + 해제

예시 프롬프트

"일회용 전화번호를 사용하여 Substack에 가입해 줘. 2FA 코드를 캡처해서 가입 양식에 붙여넣고, 번호를 해제해 줘."

"+15551234567로 전화해서 다음 주 화요일 오전 치과 예약을 잡는 내 비서인 척해 줘. 통화가 끝나면 결과를 요약해 줘."

"새 이메일 주소를 할당받아서 example.com에서 무료 체험을 시작하고, 도착하는 인증 코드를 알려줘."

환경 변수

변수

필수

기본값

비고

AGENTLINE_API_KEY

예

—

ag_live_ 또는 ag_test_로 시작

AGENTLINE_BASE_URL

아니요

https://api.agentline.dev

자체 호스팅/스테이징용 재정의

라이선스

MIT

Available Tools

15 tools
capture_codeA

All-in-one 2FA capture: provision a fresh phone number, wait for an incoming SMS verification code (4-8 digits by default), then release the number. THE killer flow for signups.

Typical use: call this, take phone_number from the result and paste into the signup form, then code will be the extracted 2FA code once it arrives. If no code arrives in timeout seconds, code is null.

Set release_after=False if you plan to keep using the number.

Inputs: area_code, timeout, release_after.

capture_email_codeA

All-in-one email verification capture: provision an email address, wait for an incoming verification code (4-8 digits by default), release the address. Use for services that email verification codes instead of SMS.

Returns email_address (paste into the signup form) and code (the captured verification code). code is null on timeout.

Inputs: local_part, timeout, release_after.

create_email_addressA

Provision a new email address for sending and receiving mail. Use this when signing up for services that require email verification — the agent gets a real inbox.

local_part is the part before the @ (e.g. "my-agent"); leave null to auto-generate. Returns id, email_address (full address to paste into forms), provider, status.

Inputs: local_part.

get_callA

Get status, transcript, and summary for a call. Call this after make_call to check whether the call has completed. Terminal statuses are completed, failed, no_answer, busy — anything else means the call is still in progress and you should poll again.

Inputs: call_id (required).

hangup_callA

End an in-progress call immediately. No-op / error if the call already terminated.

Inputs: call_id (required).

list_email_addressesA

List all email addresses currently provisioned on this account.

Inputs: no named parameters.

list_numbersA

List all phone numbers currently provisioned on this account. Useful when the agent needs to find a number it forgot about, or audit what's active.

Inputs: no named parameters.

make_callA

Place an outbound AI voice call. An AI agent answers when the recipient picks up and follows prompt as its system instructions; first_message is what it says on connect.

Returns immediately with the id (call_id) — the call runs in the background. Poll get_call(call_id) to see status, transcript, and summary once it completes.

voice is a Deepgram TTS voice (aura-asteria-en, aura-orion-en, …).

Inputs: from_number (required), to_number (required), prompt (required), first_message, +3 more.

provision_numberA

Provision a phone number the agent can use — for receiving SMS (e.g. 2FA), sending SMS, or placing/receiving voice calls.

Use this BEFORE signing up for a service that asks for a phone number, or before making outbound calls. If phone_number is given, provisions that specific number; otherwise auto-searches by area_code.

Returns a dict with id, phone_number (E.164 format — pass this to forms), provider, and status. Save the returned phone_number — you need it to later release_number or wait_for_sms.

Inputs: area_code, country_code, phone_number.

release_email_addressA

Release a provisioned email address. Pass the id returned from create_email_address (NOT the full email string).

Inputs: address_id (required).

release_numberA

Release a previously provisioned phone number. Call this when done to avoid ongoing Telnyx monthly charges. Pass the E.164 phone_number returned by provision_number.

Inputs: phone_number (required).

send_emailB

Send an outbound email from a provisioned address. from_email must be one of your provisioned addresses.

Inputs: from_email (required), to_email (required), subject (required), body (required), +2 more.

send_smsA

Send an outbound SMS from a provisioned number. from_number must be a number you already provisioned; to_number is the recipient in E.164 format (e.g. "+15551234567"). Outbound US SMS, international SMS, and inbound SMS all work — Agentline's 10DLC campaign is approved across all major US carriers.

Inputs: from_number (required), to_number (required), body (required).

wait_for_emailA

Long-poll (blocking up to timeout seconds, max 180) for the next inbound email on a provisioned address. Use right after triggering an email (e.g. a 'check your email' signup step).

match is an optional regex run against the message body. Returns the message dict on match (includes subject, body_text, extracted_code), or {"message": null, "status": "timeout"} on timeout.

Inputs: email_address (required), timeout, match.

wait_for_smsA

Long-poll (blocking up to timeout seconds, max 180) for the next inbound SMS on a provisioned number. Use this right AFTER submitting a form that triggers an SMS — call this to catch the reply.

match is an optional regex (e.g. \d{6} for a 6-digit code) — only messages matching the pattern satisfy the wait. Any inbound message satisfies it when match is None.

Returns the message dict (with body and auto-extracted extracted_code when present), or {"message": null, "status": "timeout"} if no message arrived in time.

Inputs: phone_number (required), timeout, match.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 15 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose. Even related tools like capture_code and wait_for_sms are differentiated by their level of abstraction (all-in-one vs. low-level blocking wait) and descriptions make the boundaries clear.

    Naming Consistency5/5

    All tool names use snake_case and follow a consistent verb_noun pattern (e.g., capture_code, create_email_address, send_sms). Minor deviations like provision_number instead of create_number are still interpretable and follow the same style.

    Tool Count5/5

    15 tools is well-scoped for the communication/verification domain. The set covers provisioning, sending, receiving, and releasing for both phone numbers and email, plus call handling, without being bloated.

    Completeness4/5

    Core CRUD-like operations are present for phone numbers and email (create/list/release, send/wait). The call lifecycle is covered (make, get, hangup). Missing are update operations for resources and call recording retrieval, but these are minor gaps for the primary use case.

    Maintenance

    ActivityStale
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers