config.yaml•1.44 kB
mcp:
name: "Riddle MCP Server"
version: "1.0.0"
host: "0.0.0.0"
port: 3000
endpoint: "/"
# mcpserver domain: mcp.mydomain.com
x402Server:
host: "0.0.0.0"
port: 3001
domain: "x402.mydomain.com"
payToAddress: "0x3e9F7F14f88FB23911396705d51326497244Ca7b"
payment:
price: "$0.01"
network: "base"
config:
discoverable: true
description: "Get the answer to a Sphinx riddle"
mimeType: "application/json"
maxTimeoutSeconds: 60
inputSchema:
pathParams:
id:
type: "number"
description: "Riddle ID (1-3)"
required: true
outputSchema:
type: "object"
properties:
answer:
type: "string"
description: "The answer to the riddle"
riddles:
- title: "The Sphinx's Classic Riddle"
question: "What walks on four legs in the morning, two legs at noon, and three legs in the evening?"
answer: "A human (crawls as a baby, walks on two legs as an adult, uses a cane in old age)"
- title: "The Sphinx's Question of Life"
question: "I am born in an instant, yet I grow older every second. I cannot be touched, yet I touch all things. I can be wasted but never recovered. What am I?"
answer: "Time"
- title: "The Sphinx's Paradox"
question: "I am the beginning of eternity, the end of time and space, the beginning of every end, and the end of every place. What am I?"
answer: "The letter E"