register_project

Register a new project and link it to the Kontexta knowledge system. SIDE EFFECTS: Writes project metadata to disk (persisted in the Kontexta data directory). Scans the project root recursively to discover and index all markdown files into the local database. Registers any kontexta.json-declared ...

Server Kontexta safiyu/kontexta
Category Write
Risk class Medium
Parameters 00 required

What register_project does on Kontexta

AI agents use register_project to create or update resources in Kontexta — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Kontexta environment.

Why register_project needs a policy

The tool creates and modifies project configuration and indexes in the knowledge system. While it performs file system I/O and database writes, these are reversible operations (metadata can be updated or removed). It does not delete data irreversibly, execute arbitrary code, make financial transactions, or trigger uncontrolled external operations.

From the tool's definition Writes project metadata to disk, scans and indexes markdown files into local database, registers tools from kontexta.json.

Risk signalsAdmin/system-level operation

Questions about register_project

What does the register_project tool do? +

Register a new project and link it to the Kontexta knowledge system. SIDE EFFECTS: Writes project metadata to disk (persisted in the Kontexta data directory). Scans the project root recursively to discover and index all markdown files into the local database. Registers any kontexta.json-declared Hands tools found in the project root. This operation is idempotent — re-registering an existing project updates its metadata without data loss. AUTH / RATE LIMITS: None. Operates entirely on the local file system. PARAMETERS: - name: Human-readable project name. - path: Absolute path to the project root. Required. DO NOT guess or assume the path based on the active editor workspace unless the user explicitly asks to register the. It is categorised as a Write tool in the Kontexta MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

How do I enforce a policy on register_project? +

Register the Kontexta MCP server in PolicyLayer and add a rule for register_project: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Kontexta. Nothing to install.

What risk level is register_project? +

register_project is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit register_project? +

Yes. Add a rate_limit block to the register_project rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block register_project completely? +

Set action: deny in the PolicyLayer policy for register_project. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides register_project? +

register_project is provided by the Kontexta MCP server (safiyu/kontexta). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.