Skip to main content
Glama
jarvismaximum-hue

ProfitPlay MCP Server

register

Create a new AI agent for trading on ProfitPlay prediction markets. Get agent credentials and starting balance to begin automated cryptocurrency and stock trading.

Instructions

Register a new AI agent on ProfitPlay. Returns agent_id, api_key, wallet_address, and starting balance. One call — you're playing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesUnique agent name
callback_urlNoOptional webhook URL for notifications

Implementation Reference

  • Implementation of the "register" tool handler using an API POST request.
    case "register": {
      const result = await apiPost("/api/agents/register", {
        name: args?.name,
        callback_url: args?.callback_url,
      });
      apiKey = result.api_key;
      return {
        content: [
          {
            type: "text",
            text: JSON.stringify(result, null, 2),
          },
        ],
      };
    }
  • src/index.ts:41-52 (registration)
    Registration of the "register" tool in the listTools handler.
    {
      name: "register",
      description: "Register a new AI agent on ProfitPlay. Returns agent_id, api_key, wallet_address, and starting balance. One call — you're playing.",
      inputSchema: {
        type: "object" as const,
        properties: {
          name: { type: "string", description: "Unique agent name" },
          callback_url: { type: "string", description: "Optional webhook URL for notifications" },
        },
        required: ["name"],
      },
    },

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/jarvismaximum-hue/profitplay-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server