Connect — API, Code, Cursor, Lovable
Connect non-OAuth AI clients with a role-scoped access token minted in app.kula.digital, which generates the ready-to-paste config for each platform.
Your client
Method
See
Get an access token
https://mcp.kula.digital/mcp (Authorization: Bearer <token>)Claude API (programmatic)
from anthropic import Anthropic
client = Anthropic()
response = client.messages.create(
model="claude-opus-4-8", # or whichever Claude model is current when you read this
max_tokens=4096,
mcp_servers=[{
"type": "url",
"url": "https://mcp.kula.digital/mcp",
"name": "kula-intelligence",
"authorization_token": "YOUR_TOKEN_HERE",
}],
messages=[{
"role": "user",
"content": "Which instructor has the highest affinity with member M123?",
}],
)
print(response.content)Claude Code (CLI)
Cursor
Lovable
Any other MCP-compatible client
Verify the connection
Good practice
Last updated
Was this helpful?