← 返回
未分类 Key

Agentpmt Account Mcp Rest Api Setup

Connect an agent, app, or integration to AgentPMT with an AgentPMT account Bearer Token. Use when configuring the hosted MCP server, the local npm MCP router...
使用 AgentPMT 账户的 Bearer Token 将代理、应用或集成连接到 AgentPMT,用于配置托管 MCP 服务器或本地 npm MCP 路由。
agentpmt
未分类 clawhub v1.0.0 1 版本 99576.3 Key: 需要
★ 0
Stars
📥 235
下载
💾 0
安装
1
版本
#agent-management#agent-skills#agent-to-agent#agent-tools#agent-workflows#agentpmt#ai-agents#ipaas#latest#mcp#openclaw#platform-integrations#rest-api

概述

AgentPMT Account MCP And REST API Setup

Use this skill when an agent, app, or integration has an AgentPMT account Bearer Token and should call AgentPMT tools through MCP or REST.

What This Is For

This path is for account-backed access. The user creates or selects an Agent Group, adds the tools and workflows the caller may use, adds any required software credentials, and copies the Agent Group Bearer Token. The Bearer Token authorizes calls against that Agent Group catalog.

Use the no-account AgentAddress/x402 skill instead when the caller does not have an AgentPMT account Bearer Token.

Requirements

  • AgentPMT account.
  • Agent Group with the tools, workflows, and credentials the caller may use.
  • Bearer Token from the Agent Group.
  • MCP-compatible client for MCP usage, or any HTTP client for REST usage.

Get The Bearer Token

In AgentPMT, open the Agent Group that should own this access, add the tools, workflows, and credentials the caller may use, and copy the Bearer Token. The Bearer Token is the only account credential used for MCP and REST API calls.

Hosted MCP Server

Use this for agents that support remote MCP over HTTP.

Endpoint:

https://api.agentpmt.com/mcp/

Configuration shape:

{
  "mcpServers": {
    "agentpmt": {
      "url": "https://api.agentpmt.com/mcp/",
      "headers": {
        "Authorization": "Bearer <agentpmt_bearer_token>"
      }
    }
  }
}

After connecting, ask the client to list MCP tools. AgentPMT returns the tools and workflows available to the Agent Group attached to the Bearer Token.

Local STDIO MCP Router

Use this when the agent client requires a local MCP command instead of a remote MCP URL.

npm install -g @agentpmt/mcp-router
agentpmt-setup

The setup command prompts for the Bearer Token and writes the client config. For manual configuration:

{
  "mcpServers": {
    "agentpmt": {
      "command": "npx",
      "args": ["--package=@agentpmt/mcp-router@latest", "agentpmt-router"],
      "env": {
        "AGENTPMT_BEARER_TOKEN": "<agentpmt_bearer_token>",
        "AGENTPMT_MCP_ENDPOINT": "https://api.agentpmt.com/mcp/"
      }
    }
  }
}

The local router is a thin relay to AgentPMT. Tool execution happens in AgentPMT, not on the user's machine.

Direct MCP Protocol

Use this only when writing an MCP client directly.

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "initialize",
  "params": {
    "protocolVersion": "2025-03-26",
    "clientInfo": {"name": "my-agent", "version": "1.0"},
    "capabilities": {}
  }
}

Then call:

{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}

Use the exact tool names returned by tools/list when calling:

{
  "jsonrpc": "2.0",
  "id": 3,
  "method": "tools/call",
  "params": {
    "name": "<tool_name_from_tools_list>",
    "arguments": {}
  }
}

REST API For Tools

Use REST when an agent, app, backend service, automation, or other program should integrate AgentPMT tools through authenticated HTTP calls. Additional examples and endpoint documentation is available here https://www.agentpmt.com/docs/api-reference/programmatic-access?format=agent-md

List available tools:

GET https://api.agentpmt.com/products/fetch
Authorization: Bearer <agentpmt_bearer_token>

Invoke a tool:

POST https://api.agentpmt.com/products/purchase
Authorization: Bearer <agentpmt_bearer_token>
Content-Type: application/json

Request body:

{
  "name": "<product_slug_or_tool_name>",
  "parameters": {
    "action": "<action_name>"
  }
}

Use a generated product skill for the product-specific name, action names, schema, and sample parameters.

Workflows

For workflows, prefer MCP. The main AgentPMT MCP server exposes the tools, workflows, and workflow-control tools available to the Agent Group behind the Bearer Token. Use tools/list first, then call the exact returned tool name.

Troubleshooting

ProblemCheck
------
No tools appearThe Agent Group may not have tools or workflows added.
401 authentication errorRe-copy or rotate the Bearer Token from the Agent Group.
Tool is missingAdd the product or workflow to the Agent Group, then refresh the MCP tool list.
Credential errorAdd the required software connection credentials to the Agent Group.

Related Skills

  • What AgentPMT is: ../what-is-agentpmt
  • No-account AgentAddress/x402 flow: ../agentpmt-no-account-agentaddress-x402

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-21 15:01 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

What Is Agentpmt

agentpmt
将 AgentPMT 视为代理管理 iPaaS 平台,可将代理连接至数百平台、工具、工作流、技能、其他代理、支付及 O...
★ 0 📥 268

Agentpmt No Account Agentaddress X402

agentpmt
无需账户使用 AgentPMT:将 OpenClaw 与自主 AI 代理连接到 AgentPMT 工具、工作流、技能、代理间协作及付费功能
★ 0 📥 350

Image Generation Agent

agentpmt
图像生成代理:由Google Gemini驱动的图像生成工具(Nano Banana / Gemini 2.5 & 3 Flash Image)。用于根据文本提示生成图像。
★ 0 📥 214