Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
DB_HOST | No | MySQL database host | |
DB_USER | No | MySQL database user | |
DB_DATABASE | No | MySQL database name | |
DB_PASSWORD | No | MySQL database password | |
MONGODB_URI | No | MongoDB connection URI (e.g. mongodb://user:password@host:27017/database) | |
DATABASE_URL | No | MySQL database connection URL (e.g. mysql://user:password@host:3306/database) | |
MONGODB_DATABASE | No | MongoDB database name |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
connect_db | Connect to MySQL database using URL or config |
connect_mongodb | Connect to MongoDB database using URL or config |
query | Execute a SELECT query |
execute | Execute an INSERT, UPDATE, or DELETE query |
list_tables | List all tables in the database |
describe_table | Get table structure |
create_table | Create a new table in the database |
add_column | Add a new column to existing table |
mongodb_list_collections | List all collections in the MongoDB database |
mongodb_find | Find documents in a MongoDB collection |
mongodb_insert | Insert documents into a MongoDB collection |
mongodb_update | Update documents in a MongoDB collection |
mongodb_delete | Delete documents from a MongoDB collection |
mongodb_create_collection | Create a new collection in MongoDB |