Skip to main content
Glama

Agent Knowledge MCP

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription
copilot_instructionsAI Assistant instructions for optimal AgentKnowledgeMCP usage - Complete behavioral guidelines and mandatory protocols
smart_prompting_assistantSmart prompting assistant for managing project workflows, rules, and memories in .knowledges directory

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
create_snapshot

Create a snapshot (backup) of Elasticsearch indices with comprehensive options and repository management

restore_snapshot

Restore indices from an Elasticsearch snapshot with comprehensive options and conflict resolution

list_snapshots

List all snapshots in an Elasticsearch repository with detailed information and status

create_index_metadata

Create metadata documentation for an Elasticsearch index to ensure proper governance and documentation

update_index_metadata

Update existing metadata documentation for an Elasticsearch index

delete_index_metadata

Delete metadata documentation for an Elasticsearch index

delete_document

Delete a document from Elasticsearch index by document ID

get_document

Retrieve a specific document from Elasticsearch index by document ID

index_document

Index a document into Elasticsearch with smart duplicate prevention and intelligent document ID generation. 💡 RECOMMENDED: Use 'create_document_template' tool first to generate a proper document structure and avoid validation errors.

validate_document_schema

Validate document structure against knowledge base schema and provide formatting guidance

create_document_template

Create a properly structured document template for knowledge base with AI-generated metadata and formatting

create_index

Create a new Elasticsearch index with optional mapping and settings configuration

delete_index

Delete an Elasticsearch index and all its documents permanently

list_indices

List all available Elasticsearch indices with document count and size statistics

search

Search documents in Elasticsearch index with advanced filtering, pagination, and time-based sorting capabilities

batch_index_directory

Batch index all documents from a directory into Elasticsearch with AI-enhanced metadata generation and comprehensive file processing

get_config

Get the complete configuration from config.json file with formatted display

update_config

Update configuration with section-specific changes or full configuration replacement

validate_config

Validate configuration object structure, types, and values with comprehensive error reporting

reload_config

Reload configuration from config.json file and reinitialize all components with updated settings

setup_elasticsearch

Auto-setup Elasticsearch using Docker with optional Kibana and force recreate options

elasticsearch_status

Check status of Elasticsearch and Kibana containers with detailed configuration information

server_status

Check current server status, version, and available updates with comprehensive system information

server_upgrade

Upgrade this MCP server when installed via uvx with automatic configuration backup and restoration

ask_user_advice

Ask user for advice when agent encounters uncertainty, problems, or needs guidance. Use this when you're unsure about something or need human input to proceed properly.

reset_config

Reset config.json to defaults from config.default.json (manual reset - overwrites current config)

ask_mcp_advice

Advanced project guidance using AI-filtered knowledge from .knowledges directory

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/itshare4u/AgentKnowledgeMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server