portfolio_status
Check your GitHub portfolio repository status to verify its existence, element counts, sync status, and configuration details for proper maintenance.
Instructions
Check the status of your GitHub portfolio repository including repository existence, elements count, sync status, and configuration details.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | No | GitHub username to check portfolio for. If not provided, uses the authenticated user's username. |
Implementation Reference
- src/server/tools/PortfolioTools.ts:59-74 (registration)Registration of the portfolio_status tool including name, description, input schema, and handler function that delegates to server.portfolioStatus{ tool: { name: "portfolio_status", description: "Check the status of your GitHub portfolio repository including repository existence, elements count, sync status, and configuration details.", inputSchema: { type: "object", properties: { username: { type: "string", description: "GitHub username to check portfolio for. If not provided, uses the authenticated user's username.", }, }, }, }, handler: (args: PortfolioStatusArgs) => server.portfolioStatus(args?.username) },
- src/server/tools/PortfolioTools.ts:73-73 (handler)The core handler function for the portfolio_status tool. It extracts the optional username argument and calls the server's portfolioStatus method.handler: (args: PortfolioStatusArgs) => server.portfolioStatus(args?.username)
- TypeScript interface defining the input arguments for the portfolio_status tool.interface PortfolioStatusArgs { username?: string;
- src/server/types.ts:67-67 (schema)Interface definition for the server.portfolioStatus method called by the tool handler.portfolioStatus(username?: string): Promise<any>;
- src/server/ServerSetup.ts:68-70 (registration)Registration of all portfolio tools (including portfolio_status) into the MCP ToolRegistry during server setup.// Portfolio tools (including sync_portfolio with new safety features) this.toolRegistry.registerMany(getPortfolioTools(instance));