@chaprola/mcp-server 1.11.0 → 1.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -509,9 +509,10 @@ server.tool("chaprola_systemhelp", "Send your program name and error message. Ch
509
509
  name: z.string().describe("Program name (without extension)"),
510
510
  error: z.string().optional().describe("Error message from compile or runtime (copy verbatim if available)"),
511
511
  request: z.string().describe("Plain-language description of the problem. Include context: what changed, what you expected, what happened instead."),
512
- }, async ({ project, name, error, request }) => withBaaCheck(async () => {
512
+ userid: z.string().optional().describe("Project owner's username. Required when accessing a shared project where you are a writer. Defaults to the authenticated user."),
513
+ }, async ({ project, name, error, request, userid }) => withBaaCheck(async () => {
513
514
  const { username } = getCredentials();
514
- const body = { userid: username, project, name, request };
515
+ const body = { userid: userid || username, project, name, request };
515
516
  if (error)
516
517
  body.error = error;
517
518
  const res = await authedFetch("/systemhelp", body);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chaprola/mcp-server",
3
- "version": "1.11.0",
3
+ "version": "1.11.1",
4
4
  "description": "MCP server for Chaprola — agent-first data platform. Gives AI agents tools for structured data storage, record CRUD, querying, schema inspection, documentation lookup, web search, URL fetching, scheduled jobs, scoped site keys, and execution via plain HTTP.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",