@ekwo-ai/mcp
Version:
MCP server for Ekwo OS: let an AI agent work on the books, under the user's own row level security.
25 lines • 1.64 kB
JavaScript
/**
* The server as a library.
*
* Exported so the tests can call every tool handler directly against a real
* Postgres — the same functions the protocol calls — and so another host can
* mount this server on a transport of its own instead of shelling out to
* `npx`.
*/
export { EkwoMcpError, explain, socleCode, } from './backend.js';
export { ENV, isServiceRoleKey, openBackend, readConfig, sessionPostingFlag, sessionPostingFrom, toolLoadingFrom } from './config.js';
export { amountIn, decimal, money, moneyFields } from '@ekwo-ai/core';
export { connect, sqlBackend } from './sql.js';
export { AGENT_HEADER, AGENT_SESSION_HEADER, API_KEY_HEADER, postgrestBackend } from './postgrest.js';
export { checkConnection, handleHttpRequest, handleNodeRequest, openHttpBackend, } from './http.js';
export { INSTRUCTIONS, SERVER_NAME, SERVER_VERSION, buildServer, instructionsFor, } from './server.js';
export { TOOL_EFFECTS, annotationsFor, effectOf } from './tools/effect.js';
export { CORE_TOOLS, LOADING_TOOLS, TOOL_LOADING, loadTools, searchTools } from './tools/loading.js';
export { SCHEMA_MIN, assertSchemaSupported, installedSchemaVersion } from './schema.js';
export { einvoiceTransportFrom, postingSummary, serverFromEnvironment, shouldInviteToRegister } from './start.js';
export { STDIO_HELP, runStdio } from './stdio.js';
export { isMissingConfiguration, unconfiguredBackend } from './unconfigured.js';
export * as readTools from './tools/read.js';
export * as writeTools from './tools/write.js';
export { MODULE_TOOLSETS, installedModules, toolsetsFor, } from './tools/modules.js';
//# sourceMappingURL=index.js.map