kb_get_projects
Retrieve project context from personal and organizational knowledge storage to provide AI agents with structured information about ongoing work and preferences.
Instructions
Get project context
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:725-734 (handler)Handler for the kb_get_projects tool. Executes by calling km.getProjects() and returning the result as JSON text content.case 'kb_get_projects': { return { content: [ { type: 'text', text: JSON.stringify(km.getProjects(), null, 2) } ] }; }
- src/KnowledgeManager.ts:344-346 (helper)Helper method in KnowledgeManager that returns a shallow copy of the projects section from the internal knowledge base object.getProjects(): ProjectContext { return { ...this.kb.projects }; }
- src/index.ts:231-238 (registration)Tool registration entry defining the name, description, and input schema (empty object) for kb_get_projects. Used by the MCP server to list available tools.{ name: 'kb_get_projects', description: 'Get project context', inputSchema: { type: 'object', properties: {} } },
- src/index.ts:234-237 (schema)Input schema for kb_get_projects tool: accepts an empty object (no parameters).inputSchema: { type: 'object', properties: {} }