No-Code

Connect to enterprise-grade MCP servers instantly!Klavis MCP Servers - No Code CreationGet Started →

For Developer

Follow the instructions below to integrate Coinbase MCP server to your AI application using our API or SDK.

Prerequisites

1. Create an Coinbase MCP Server

Use the following endpoint to create a new remote Coinbase MCP server instance:

Request

from klavis import Klavis
from klavis.types import McpServerName

klavis_client = Klavis(api_key="<YOUR_API_KEY>")

# Create an Coinbase MCP server instance

coinbase_server = klavis_client.mcp_server.create_server_instance(
server_name=McpServerName.COINBASE,
user_id="<YOUR_USER_ID>",
platform_name="<YOUR_PLATFORM_NAME>",
)

Response

{
  "serverUrl": "https://coinbase-mcp-server.klavis.ai/sse?instance_id=<instance-id>",
  "instanceId": "<instance-id>"
}
serverUrl specifies the endpoint of the Coinbase MCP server, which allows you to interact with your Coinbase data.
instanceId is used for authentication and identification of your server instance.

2. Configure Coinbase API Key

To use the Coinbase MCP Server, you need to configure it with your Coinbase API key.

Setting up Coinbase API Key

from klavis import Klavis

klavis_client = Klavis(api_key="<YOUR_KLAVIS_API_KEY>")

# Set the Coinbase API key for your instance

response = klavis_client.mcp_server.set_instance_auth(
    instance_id="<YOUR_INSTANCE_ID>",
    auth_data={
        "api_key": "<YOUR_COINBASE_API_KEY>",
        "secret_key": "<YOUR_COINBASE_API_SECRET>"
    }
)

print(response)

Response

{
  "success": true,
  "message": "<string>"
}

Explore MCP Server Tools

For more details about tool input schema, use the list_tool API.