MCP: AI tools
Canoprise is an MCP server. An AI tool you already use can read your Canoprise data, and record values or create tasks if you allow it, acting as you and seeing only what you see.
The server
Address https://portal.canoprise.io/api/mcp, MCP's HTTP transport (answered as plain JSON, no session), with the same token as the REST API in Authorization: Bearer cnp_…. A read-only token is offered only the tools that read. Tool calls count against the same limits as API calls.
Claude Code
claude mcp add --transport http canoprise https://portal.canoprise.io/api/mcp --header "Authorization: Bearer cnp_..."Then ask, for example, "Which of my properties is furthest behind on energy data this year?". Claude asks before it calls a tool that writes.
Cursor
In ~/.cursor/mcp.json (or .cursor/mcp.json in a project):
{
"mcpServers": {
"canoprise": {
"url": "https://portal.canoprise.io/api/mcp",
"headers": {
"Authorization": "Bearer cnp_..."
}
}
}
}ChatGPT and the OpenAI API
Through the OpenAI Responses API, give the server as a remote MCP tool with the header. Ask for approval before the two tools that write:
curl https://api.openai.com/v1/responses \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5",
"input": "Which of my properties is furthest behind on energy data this year?",
"tools": [
{
"type": "mcp",
"server_label": "canoprise",
"server_url": "https://portal.canoprise.io/api/mcp",
"headers": {
"Authorization": "Bearer cnp_..."
},
"require_approval": {
"always": {
"tool_names": [
"record_value",
"create_task"
]
}
}
}
]
}'In the ChatGPT app, a custom connector must be able to send the Authorization header above; one that can only sign in with OAuth cannot connect to Canoprise yet.
Claude Desktop and other tools
A tool that starts local servers only can reach Canoprise through mcp-remote, for example in Claude Desktop's claude_desktop_config.json:
{
"mcpServers": {
"canoprise": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://portal.canoprise.io/api/mcp",
"--header",
"Authorization:${CANOPRISE_AUTH}"
],
"env": {
"CANOPRISE_AUTH": "Bearer cnp_..."
}
}
}
}Any other tool that speaks MCP over HTTP needs two settings: the address, and the header Authorization with the value Bearer cnp_….
The tools
| Tool | What it does | |
|---|---|---|
list_properties | The properties this person can open, each with this year's score (0-100), last year's score, share of expected data entered, entries overdue and measures off target. | reads |
property_scorecard | One property: score by dimension, every measure with its value, unit and score, and whether it is on track for its target. | reads |
measure_trend | Monthly figures for one measure at one property, this year and last, total and per occupied room-night. | reads |
overdue_entries | Data that was expected and has not been entered, for one property or all in scope. | reads |
explain_measure | What a measure is, what to record, how often, its evidence, and practical actions for its topic. Takes a code (ENV-07) or part of a name (water). | reads |
open_tasks | Open tasks this person can see: their own, and everyone's in scope if they may assign tasks. | reads |
assignable_people | People a task about this property could be given to. Only the person themself unless they may assign tasks. | reads |
calculate_emissions | Work out kg CO2e for up to 100 items without saving anything, with the same factors and methods Canoprise uses for business travel and for a property's Scope 1 and 2. Item types: flight (from and to as airport codes, or distanceKm, or band domestic/short/long; cabin economy/premium/business/first; returnTrip), rail/coach/car/taxi/ferry (distanceKm; kind: rail national/international, coach coach/bus, car petrol/diesel/electric; a taxi may give fare instead), transfer (by taxi/shuttle/coach, distanceKm), hotel (nights, country, stars 2-5), electricity (kWh, country as a two-letter code, location-based), fuel (fuel gas/oil/lpg/diesel/petrol, quantity, unit). Each item is answered on its own with the method and the factor, its source and whether it has been checked against its published source; flights give kgCo2e (CO2e alone) and kgWithNonCo2 (with the uplift for warming at altitude). | reads |
record_value | Record one value for a measure at a property, for a period. Goes through the same checks as the website: the person's access, locked periods, one figure per meter and period. A figure far from the usual is saved but held for checking. Use list_properties and explain_measure first to get the property id and measure code; for a metered measure give the meter name. | writes: needs a token that can record values |
create_task | Create a task in Canoprise for the person themself, or for someone else if their role allows assigning tasks (ids from assignable_people). | writes: needs a token that can record values |