# Monimaker integrations: copy-paste snippets

MCP endpoint (streamable HTTP): `https://monimaker-tools.netlify.app/api/agent/mcp`
REST base: `https://monimaker-tools.netlify.app/api/agent/` · OpenAPI: `/openapi.json` · Docs: `/agent/llms.txt`
Registry name: `app.netlify.monimaker-tools/monimaker` (official MCP Registry)

Pricing: x402 USDC per call ($0.001 to $0.02), no signup, no API key.
Free trial: tools priced at or below $0.0033 answer 3 free calls per day per IP. MCP: automatic. HTTP: header `X-Free-Trial: 1`.
After the trial, a tools/call or REST call returns HTTP 402 with an x402 v2 `PAYMENT-REQUIRED` header; pay with an x402 client (Coinbase AgentKit below) and retry.

## 1. Try it in 10 seconds (curl, free trial)

```bash
curl -H "X-Free-Trial: 1" "https://monimaker-tools.netlify.app/api/agent/crypto-price?symbols=BTC,ETH"
curl -H "X-Free-Trial: 1" "https://monimaker-tools.netlify.app/api/agent/timezone?time=2026-12-02T09:00:00&from=America/Los_Angeles&to=Europe/Madrid"
# without the header you get the normal x402 402 challenge:
curl -i "https://monimaker-tools.netlify.app/api/agent/crypto-price?symbols=BTC"
```

## 2. Claude Code

```bash
claude mcp add --transport http monimaker https://monimaker-tools.netlify.app/api/agent/mcp
```

## 3. Claude Desktop / claude.ai

Settings → Connectors → Add custom connector → URL `https://monimaker-tools.netlify.app/api/agent/mcp`.
Or, in `claude_desktop_config.json` through the `mcp-remote` bridge:

```json
{
  "mcpServers": {
    "monimaker": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://monimaker-tools.netlify.app/api/agent/mcp"]
    }
  }
}
```

## 4. Cursor (`~/.cursor/mcp.json` or `.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "monimaker": { "url": "https://monimaker-tools.netlify.app/api/agent/mcp" }
  }
}
```

VS Code (`.vscode/mcp.json`): `{ "servers": { "monimaker": { "type": "http", "url": "https://monimaker-tools.netlify.app/api/agent/mcp" } } }`

## 5. LangChain / LangGraph (Python)

```python
# pip install langchain-mcp-adapters langgraph langchain-openai
import asyncio
from langchain_mcp_adapters.client import MultiServerMCPClient
from langgraph.prebuilt import create_react_agent

async def main():
    client = MultiServerMCPClient({
        "monimaker": {
            "url": "https://monimaker-tools.netlify.app/api/agent/mcp",
            "transport": "streamable_http",
        }
    })
    tools = await client.get_tools()  # 59 tools; cheap ones have a 3/day free trial
    agent = create_react_agent("openai:gpt-4.1-mini", tools)
    out = await agent.ainvoke({"messages": [("user", "What is the ETH price and the current ETH funding rate?")]})
    print(out["messages"][-1].content)

asyncio.run(main())
```

## 6. CrewAI

```python
# pip install "crewai-tools[mcp]"
from crewai import Agent, Task, Crew
from crewai_tools import MCPServerAdapter

server = {"url": "https://monimaker-tools.netlify.app/api/agent/mcp", "transport": "streamable-http"}

with MCPServerAdapter(server) as tools:
    analyst = Agent(role="Site analyst", goal="Screen a building site", backstory="Uses official data.", tools=tools)
    task = Task(description="Get building heights, flood zone and elevation around 34.2030,-118.5568 (Reseda, CA).",
                expected_output="Short JSON summary", agent=analyst)
    print(Crew(agents=[analyst], tasks=[task]).kickoff())
```

## 7. Coinbase AgentKit (pays x402 automatically)

```ts
// npm install @coinbase/agentkit viem
import { AgentKit, ViemWalletProvider, x402ActionProvider } from "@coinbase/agentkit";
import { createWalletClient, http } from "viem";
import { privateKeyToAccount } from "viem/accounts";
import { base } from "viem/chains";

const walletClient = createWalletClient({
  account: privateKeyToAccount(process.env.PRIVATE_KEY as `0x${string}`), // a wallet with a little USDC on Base
  chain: base,
  transport: http(),
});

const agentkit = await AgentKit.from({
  walletProvider: new ViemWalletProvider(walletClient),
  actionProviders: [x402ActionProvider()],
});

const pay = agentkit.getActions().find((a) => a.name.endsWith("make_http_request_with_x402"))!;
const res = await pay.invoke({
  url: "https://monimaker-tools.netlify.app/api/agent/funding-rates?symbols=BTC,ETH",
  method: "GET",
});
console.log(res);
```

With an LLM, pass `agentkit` to `@coinbase/agentkit-langchain` (or the Vercel AI SDK / MCP extension) and tell the agent the endpoint, e.g. "For crypto funding rates call GET https://monimaker-tools.netlify.app/api/agent/funding-rates".

## 8. OpenAI Agents SDK / Responses API (remote MCP)

```python
# Responses API hosted MCP tool
tools=[{"type": "mcp", "server_label": "monimaker",
        "server_url": "https://monimaker-tools.netlify.app/api/agent/mcp", "require_approval": "never"}]
```

## Bot-readable summary

```json
{"service":"monimaker","mcp":"https://monimaker-tools.netlify.app/api/agent/mcp","transport":"streamable-http","openapi":"https://monimaker-tools.netlify.app/openapi.json","payment":{"protocol":"x402","version":2,"asset":"USDC","networks":["eip155:8453","eip155:137","eip155:42161","solana"],"price_usd":{"min":0.001,"max":0.02}},"free_trial":{"per_day":3,"per":"ip","max_price_usd":0.0033,"http_opt_in":"X-Free-Trial: 1","mcp":"automatic"},"frameworks":["claude-code","claude-desktop","cursor","vscode","langchain","crewai","coinbase-agentkit","openai-responses"]}
```
