├── .github ├── FUNDING.yml ├── chatmodes │ └── plan.chatmode.md ├── copilot-instructions.md └── instructions │ └── Project.instructions.md ├── .gitignore ├── .knowledges ├── rules │ └── rules.md └── workflows │ └── workflows.md ├── .python-version ├── CHANGELOG.md ├── LICENSE ├── MANIFEST.in ├── Makefile ├── README.md ├── pyproject.toml ├── requirements.txt ├── src ├── __init__.py ├── __main__.py ├── admin │ ├── __init__.py │ └── admin_server.py ├── config.default.json ├── config.json ├── config │ ├── __init__.py │ └── config.py ├── confirmation │ ├── __init__.py │ ├── confirmation.py │ └── confirmation_handlers.py ├── elasticsearch │ ├── __init__.py │ ├── document_schema.py │ ├── elasticsearch_client.py │ ├── elasticsearch_helper.py │ ├── elasticsearch_server.py │ ├── elasticsearch_setup.py │ └── sub_servers │ │ ├── __init__.py │ │ ├── elasticsearch_batch.py │ │ ├── elasticsearch_document.py │ │ ├── elasticsearch_index.py │ │ ├── elasticsearch_index_metadata.py │ │ ├── elasticsearch_search.py │ │ └── elasticsearch_snapshots.py ├── main_server.py ├── middleware │ ├── __init__.py │ └── confirmation_middleware.py ├── prompts │ ├── __init__.py │ ├── prompt_server.py │ ├── sub_servers │ │ ├── __init__.py │ │ ├── instructions_server.py │ │ └── smart_prompting_server.py │ └── templates │ │ ├── memories_assistant.md │ │ ├── rules_assistant.md │ │ └── workflow_assistant.md ├── resources │ └── copilot-instructions.md └── utils │ ├── __init__.py │ └── security.py ├── tests ├── README.md ├── __init__.py ├── debug_error_pattern.py ├── debug_path.py ├── demo_agent_workflow.py ├── demo_config_management.py ├── demo_file_unification.py ├── explore_fastmcp_api.py ├── run_all_tests.py ├── test_ask_mcp_advance_direct.py ├── test_client_roots_integration.py ├── test_complete_enhanced_system.py ├── test_complete_fixed_workflow.py ├── test_comprehensive_merge.py ├── test_config.json ├── test_config_change.py ├── test_config_scenarios.py ├── test_config_workflows.py ├── test_confirmation_system.py ├── test_connection.py ├── test_content_validation.py ├── test_elasticsearch_errors.py ├── test_enhanced_smart_prompting.py ├── test_enhancements.py ├── test_error_messages.py ├── test_exact_pattern.py ├── test_file_paths.py ├── test_file_paths_new.py ├── test_helpers.py ├── test_intelligent_merge.py ├── test_merge_algorithm.py ├── test_modular_prompt_server.py ├── test_pattern_matching.py ├── test_real_search_error.py ├── test_reset_config.py ├── test_root_conversion_fix.py ├── test_section_specific_merge.py ├── test_simple_file_ops.py ├── test_strict_validation.py └── test_validation.py └── uv.lock /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/chatmodes/plan.chatmode.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/.github/chatmodes/plan.chatmode.md -------------------------------------------------------------------------------- /.github/copilot-instructions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/.github/copilot-instructions.md -------------------------------------------------------------------------------- /.github/instructions/Project.instructions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/.github/instructions/Project.instructions.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/.gitignore -------------------------------------------------------------------------------- /.knowledges/rules/rules.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/.knowledges/rules/rules.md -------------------------------------------------------------------------------- /.knowledges/workflows/workflows.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/.knowledges/workflows/workflows.md -------------------------------------------------------------------------------- /.python-version: -------------------------------------------------------------------------------- 1 | 3.13 2 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/README.md -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/requirements.txt -------------------------------------------------------------------------------- /src/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/__init__.py -------------------------------------------------------------------------------- /src/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/__main__.py -------------------------------------------------------------------------------- /src/admin/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/admin/admin_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/admin/admin_server.py -------------------------------------------------------------------------------- /src/config.default.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/config.default.json -------------------------------------------------------------------------------- /src/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/config.json -------------------------------------------------------------------------------- /src/config/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/config/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/config/config.py -------------------------------------------------------------------------------- /src/confirmation/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/confirmation/confirmation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/confirmation/confirmation.py -------------------------------------------------------------------------------- /src/confirmation/confirmation_handlers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/confirmation/confirmation_handlers.py -------------------------------------------------------------------------------- /src/elasticsearch/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/elasticsearch/document_schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/elasticsearch/document_schema.py -------------------------------------------------------------------------------- /src/elasticsearch/elasticsearch_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/elasticsearch/elasticsearch_client.py -------------------------------------------------------------------------------- /src/elasticsearch/elasticsearch_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/elasticsearch/elasticsearch_helper.py -------------------------------------------------------------------------------- /src/elasticsearch/elasticsearch_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/elasticsearch/elasticsearch_server.py -------------------------------------------------------------------------------- /src/elasticsearch/elasticsearch_setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/elasticsearch/elasticsearch_setup.py -------------------------------------------------------------------------------- /src/elasticsearch/sub_servers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/elasticsearch/sub_servers/__init__.py -------------------------------------------------------------------------------- /src/elasticsearch/sub_servers/elasticsearch_batch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/elasticsearch/sub_servers/elasticsearch_batch.py -------------------------------------------------------------------------------- /src/elasticsearch/sub_servers/elasticsearch_document.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/elasticsearch/sub_servers/elasticsearch_document.py -------------------------------------------------------------------------------- /src/elasticsearch/sub_servers/elasticsearch_index.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/elasticsearch/sub_servers/elasticsearch_index.py -------------------------------------------------------------------------------- /src/elasticsearch/sub_servers/elasticsearch_index_metadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/elasticsearch/sub_servers/elasticsearch_index_metadata.py -------------------------------------------------------------------------------- /src/elasticsearch/sub_servers/elasticsearch_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/elasticsearch/sub_servers/elasticsearch_search.py -------------------------------------------------------------------------------- /src/elasticsearch/sub_servers/elasticsearch_snapshots.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/elasticsearch/sub_servers/elasticsearch_snapshots.py -------------------------------------------------------------------------------- /src/main_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/main_server.py -------------------------------------------------------------------------------- /src/middleware/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/middleware/__init__.py -------------------------------------------------------------------------------- /src/middleware/confirmation_middleware.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/middleware/confirmation_middleware.py -------------------------------------------------------------------------------- /src/prompts/__init__.py: -------------------------------------------------------------------------------- 1 | # AgentKnowledgeMCP Prompts Package 2 | -------------------------------------------------------------------------------- /src/prompts/prompt_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/prompts/prompt_server.py -------------------------------------------------------------------------------- /src/prompts/sub_servers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/prompts/sub_servers/__init__.py -------------------------------------------------------------------------------- /src/prompts/sub_servers/instructions_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/prompts/sub_servers/instructions_server.py -------------------------------------------------------------------------------- /src/prompts/sub_servers/smart_prompting_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/prompts/sub_servers/smart_prompting_server.py -------------------------------------------------------------------------------- /src/prompts/templates/memories_assistant.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/prompts/templates/memories_assistant.md -------------------------------------------------------------------------------- /src/prompts/templates/rules_assistant.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/prompts/templates/rules_assistant.md -------------------------------------------------------------------------------- /src/prompts/templates/workflow_assistant.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/prompts/templates/workflow_assistant.md -------------------------------------------------------------------------------- /src/resources/copilot-instructions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/resources/copilot-instructions.md -------------------------------------------------------------------------------- /src/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/utils/security.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/src/utils/security.py -------------------------------------------------------------------------------- /tests/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/README.md -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/__init__.py -------------------------------------------------------------------------------- /tests/debug_error_pattern.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/debug_error_pattern.py -------------------------------------------------------------------------------- /tests/debug_path.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/debug_path.py -------------------------------------------------------------------------------- /tests/demo_agent_workflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/demo_agent_workflow.py -------------------------------------------------------------------------------- /tests/demo_config_management.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/demo_config_management.py -------------------------------------------------------------------------------- /tests/demo_file_unification.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/demo_file_unification.py -------------------------------------------------------------------------------- /tests/explore_fastmcp_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/explore_fastmcp_api.py -------------------------------------------------------------------------------- /tests/run_all_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/run_all_tests.py -------------------------------------------------------------------------------- /tests/test_ask_mcp_advance_direct.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_ask_mcp_advance_direct.py -------------------------------------------------------------------------------- /tests/test_client_roots_integration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_client_roots_integration.py -------------------------------------------------------------------------------- /tests/test_complete_enhanced_system.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_complete_enhanced_system.py -------------------------------------------------------------------------------- /tests/test_complete_fixed_workflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_complete_fixed_workflow.py -------------------------------------------------------------------------------- /tests/test_comprehensive_merge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_comprehensive_merge.py -------------------------------------------------------------------------------- /tests/test_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_config.json -------------------------------------------------------------------------------- /tests/test_config_change.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_config_change.py -------------------------------------------------------------------------------- /tests/test_config_scenarios.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_config_scenarios.py -------------------------------------------------------------------------------- /tests/test_config_workflows.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_config_workflows.py -------------------------------------------------------------------------------- /tests/test_confirmation_system.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_confirmation_system.py -------------------------------------------------------------------------------- /tests/test_connection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_connection.py -------------------------------------------------------------------------------- /tests/test_content_validation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_content_validation.py -------------------------------------------------------------------------------- /tests/test_elasticsearch_errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_elasticsearch_errors.py -------------------------------------------------------------------------------- /tests/test_enhanced_smart_prompting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_enhanced_smart_prompting.py -------------------------------------------------------------------------------- /tests/test_enhancements.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_enhancements.py -------------------------------------------------------------------------------- /tests/test_error_messages.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_error_messages.py -------------------------------------------------------------------------------- /tests/test_exact_pattern.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_exact_pattern.py -------------------------------------------------------------------------------- /tests/test_file_paths.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_file_paths.py -------------------------------------------------------------------------------- /tests/test_file_paths_new.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_file_paths_new.py -------------------------------------------------------------------------------- /tests/test_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_helpers.py -------------------------------------------------------------------------------- /tests/test_intelligent_merge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_intelligent_merge.py -------------------------------------------------------------------------------- /tests/test_merge_algorithm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_merge_algorithm.py -------------------------------------------------------------------------------- /tests/test_modular_prompt_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_modular_prompt_server.py -------------------------------------------------------------------------------- /tests/test_pattern_matching.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_pattern_matching.py -------------------------------------------------------------------------------- /tests/test_real_search_error.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_real_search_error.py -------------------------------------------------------------------------------- /tests/test_reset_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_reset_config.py -------------------------------------------------------------------------------- /tests/test_root_conversion_fix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_root_conversion_fix.py -------------------------------------------------------------------------------- /tests/test_section_specific_merge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_section_specific_merge.py -------------------------------------------------------------------------------- /tests/test_simple_file_ops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_simple_file_ops.py -------------------------------------------------------------------------------- /tests/test_strict_validation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_strict_validation.py -------------------------------------------------------------------------------- /tests/test_validation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/tests/test_validation.py -------------------------------------------------------------------------------- /uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/itshare4u/AgentKnowledgeMCP/HEAD/uv.lock --------------------------------------------------------------------------------