Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
PORT | No | FastAPI server port | 8000 |
API_KEY | No | Authentication key for the API | dev-api-key |
MCP_HOST | No | Host to bind to | 0.0.0.0 |
MCP_PORT | No | MCP server port | 5000 |
SECRET_KEY | No | JWT signing key | insecure-dev-key-change-in-production |
MCP_API_URL | No | FastAPI server URL | http://localhost:8000 |
REQUIRE_AUTH | No | Authentication requirement | false |
AWS_S3_BUCKET | No | AWS S3 bucket name for AWS integration | |
AWS_ACCESS_KEY_ID | No | AWS access key ID for AWS integration | |
PERSIST_DIRECTORY | No | ChromaDB storage path | ./chroma_db |
AWS_SECRET_ACCESS_KEY | No | AWS secret access key for AWS integration |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
Tribal System Instructions |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
track_error | Track an error and its solution in the knowledge base.
Args:
error_type: Type of error (e.g., ImportError, TypeError)
error_message: The error message
language: Programming language (e.g., python, javascript)
framework: Framework used (e.g., fastapi, react)
code_snippet: The code that caused the error
task_description: What the user was trying to accomplish
solution_description: Brief description of the solution
solution_code_fix: Code that fixes the error
solution_explanation: Detailed explanation of why the solution works
solution_references: List of reference links
Returns:
The created error record |
find_similar_errors | Find errors similar to the given query.
Args:
query: Text to search for in the knowledge base
max_results: Maximum number of results to return
Returns:
List of similar error records |
search_errors | Search for errors in the knowledge base.
Args:
error_type: Type of error to filter by
language: Programming language to filter by
framework: Framework to filter by
error_message: Error message to search for
code_snippet: Code snippet to search for
task_description: Task description to search for
max_results: Maximum number of results to return
Returns:
List of matching error records |
get_error_by_id | Get an error record by its ID.
Args:
error_id: UUID of the error record
Returns:
The error record or None if not found |
delete_error | Delete an error record.
Args:
error_id: UUID of the error record
Returns:
True if deleted, False if not found |
get_api_status | Check the API status.
Returns:
API status information |