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
mcp_usage_guideComplete comprehensive usage guide for this MCP server with scenarios and step-by-step tutorials
copilot_instructionsAI Assistant instructions for optimal AgentKnowledgeMCP usage - Complete behavioral guidelines and mandatory protocols

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
search

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

index_document

Index a document into Elasticsearch with optional schema validation and intelligent duplicate prevention

delete_document

Delete a document from Elasticsearch index by document ID

get_document

Retrieve a specific document from Elasticsearch index by document ID

list_indices

List all available Elasticsearch indices with document count and size statistics

create_index

Create a new Elasticsearch index with optional mapping and settings configuration

delete_index

Delete an Elasticsearch index and all its documents permanently

validate_document_schema

Validate document structure against knowledge base schema and provide formatting guidance

batch_index_directory

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

create_document_template

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

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

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)

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