Final Check
Settings for each client, for asking a person to do a task from an AI agent. From Claude or ChatGPT, log in on the connect screen and press Continue. Keys (ldbk_…) work as before. Over the REST entry point for programs, looking, getting a guide price and building the order sheet need no key.
| MCP URL | https://latentdatabank.com/mcp |
|---|---|
| English | Use https://latentdatabank.com/mcp?lang=en, or send Accept-Language: en (tool descriptions, errors and order sheets come back in English) |
| Transport | Streamable HTTP (POST, JSON-RPC 2.0) |
| Connect by logging in | In Claude, ChatGPT and other clients, entering the MCP URL opens the connect screen. Log in with a company account and press Continue to connect (the tool list then shows every tool). Calling /mcp with neither a key nor a login returns 401 with WWW-Authenticate |
| Tools that need no key (REST) | list_categories, estimate_job, start_order, preview_order, add_candidates work without a key over the REST entry point for programs (https://latentdatabank.com/api/agent/…; up to 20 calls a minute and 300 a day per device; an order sheet built without a key is deleted after 24 hours) |
| Key | Keys (ldbk_…) work as before. For clients that cannot log in, or from your own programs, send it as Authorization: Bearer KEY (up to 60 calls a minute per key). Connected with a key, the tool list shows every tool. See Create a key below |
Each example below comes in two forms: connecting by logging in (no key written) and with a key. Without a key written, the login screen opens the first time you use it.
Connect by logging in (no key written; the login screen opens the first time you use it):
claude mcp add --transport http latentdatabank https://latentdatabank.com/mcp?lang=enWith a key:
claude mcp add --transport http latentdatabank https://latentdatabank.com/mcp?lang=en --header "Authorization: Bearer YOUR_KEY"To share it inside a project, write it in .mcp.json at the project root. The key is read from an environment variable (LDB_API_KEY).
{
"mcpServers": {
"latentdatabank": {
"type": "http",
"url": "https://latentdatabank.com/mcp?lang=en",
"headers": {
"Authorization": "Bearer ${LDB_API_KEY}"
}
}
}
}https://latentdatabank.com/mcp?lang=en, then press Continue.On Team and Enterprise plans an owner adds it under Organization settings, then Connectors. Claude connects to our MCP server from Anthropic's servers.
Clients that take a command in a config file (claude_desktop_config.json) connect through mcp-remote, a published bridge (needs Node 18 or later).
Connect by logging in (no key written; the login screen opens the first time you use it):
{
"mcpServers": {
"latentdatabank": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://latentdatabank.com/mcp?lang=en"
]
}
}
}With a key (Bearer and the key go in an environment variable so that the space is not lost):
{
"mcpServers": {
"latentdatabank": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://latentdatabank.com/mcp?lang=en",
"--header",
"Authorization:${LDB_AUTH}"
],
"env": {
"LDB_AUTH": "Bearer YOUR_KEY"
}
}
}
}Write it in .cursor/mcp.json for a project, or ~/.cursor/mcp.json for all projects.
Connect by logging in (no key written; the login screen opens the first time you use it):
{
"mcpServers": {
"latentdatabank": {
"url": "https://latentdatabank.com/mcp?lang=en"
}
}
}With a key (read from the environment variable LDB_API_KEY):
{
"mcpServers": {
"latentdatabank": {
"url": "https://latentdatabank.com/mcp?lang=en",
"headers": {
"Authorization": "Bearer ${env:LDB_API_KEY}"
}
}
}
}chatgpt.com/plugins, select the plus button, then Add custom MCP server.https://latentdatabank.com/mcp?lang=en as the public endpoint.Once you connect by logging in, every tool is found. An order is placed only after the user has seen the order sheet and clearly said yes.
With a key (put the key in authorization; the API cannot open the login screen, so use a key):
{
"model": "your-model",
"tools": [
{
"type": "mcp",
"server_label": "latentdatabank",
"server_url": "https://latentdatabank.com/mcp?lang=en",
"authorization": "YOUR_KEY"
}
],
"input": "Please have someone call the hair salon by the station and ask for free slots on Saturday afternoon. My cap is 3000 yen"
}Connect by logging in (no key written; the login screen opens the first time you use it):
gemini mcp add --transport http latentdatabank https://latentdatabank.com/mcp?lang=enWith a key:
gemini mcp add --transport http --header "Authorization: Bearer YOUR_KEY" latentdatabank https://latentdatabank.com/mcp?lang=enOr in the settings file (~/.gemini/settings.json, or .gemini/settings.json in a project):
{
"mcpServers": {
"latentdatabank": {
"httpUrl": "https://latentdatabank.com/mcp?lang=en",
"headers": {
"Authorization": "Bearer YOUR_KEY"
}
}
}
}Enter https://latentdatabank.com/mcp where the client asks for a Streamable HTTP URL. Clients that support OAuth (login) open the connect screen; log in with a company account and press Continue. For other clients, add the header Authorization: Bearer KEY. With neither a key nor a login, the answer is 401 with WWW-Authenticate (the URL that points to the login). This one line checks a connection with a key (the list of tools comes back as JSON).
curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_KEY" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \
"https://latentdatabank.com/mcp?lang=en"Categories (no key):
curl "https://latentdatabank.com/api/agent/categories?lang=en"Guide price (no key):
curl -X POST -H "Content-Type: application/json" \
-d '{"category":"call","due_within":"1h"}' \
"https://latentdatabank.com/api/agent/estimates?lang=en"Build an order sheet (no key; the only things to ask the person are what they want done and the budget cap, and everything else is filled in automatically; if either is missing, it comes back as a question):
curl -X POST -H "Content-Type: application/json" \
-d '{"request":"Call the shop and ask for free slots today","category":"call","fields":{"due_within":"1h","budget_max_yen":3000}}' \
"https://latentdatabank.com/api/agent/orders?lang=en"With a key (search workers):
curl -H "Authorization: Bearer YOUR_KEY" "https://latentdatabank.com/api/agent/workers?category=call&limit=5"The list of entry points and the shape of the answers are on Asking from an AI agent.
Steps, prices and caps, where a person must confirm and what cannot be done are on Asking from an AI agent. How to ask for each kind of task: