Documentation Index
Fetch the complete documentation index at: https://docs.metabind.ai/llms.txt
Use this file to discover all available pages before exploring further.
Retrieves the current project context for the session.
{
"type": "object",
"properties": {}
}
This tool takes no parameters.
Response
| Field | Type | Description |
|---|
projectId | string | Current project ID (null if not set) |
projectName | string | Display name of the project |
organizationId | string | Organization ID the project belongs to |
organizationName | string | Display name of the organization |
Example
Request
Response (Context Set)
{
"projectId": "proj_123",
"projectName": "Marketing Website",
"organizationId": "org_456",
"organizationName": "Acme Corporation"
}
Response (No Context)
{
"projectId": null,
"projectName": null,
"organizationId": null,
"organizationName": null
}
Usage
Use this tool to check the current context before performing operations:
// Check current context
const context = await mcp.call("get_current_project", {});
if (!context.projectId) {
// No context set, need to select a project
const projects = await mcp.call("list_projects", {});
await mcp.call("set_project", { projectId: projects.items[0].id });
}
// Now safe to use other tools
await mcp.call("search_content", { query: "tutorials" });