This is page 3 of 16. Use http://codebase.md/fujitsu-ai/mcp-server-for-mas-developments?lines=false&page={x} to view the full context. # Directory Structure ``` ├── .gitattributes ├── .gitignore ├── agents │ ├── __init__.py │ ├── AgentInterface │ │ ├── __init__.py │ │ ├── Python │ │ │ ├── __init__.py │ │ │ ├── agent.py │ │ │ ├── color.py │ │ │ ├── config.py │ │ │ ├── language.py │ │ │ ├── local_file_handler.py │ │ │ └── network.py │ │ └── requirements.txt │ ├── AgentMonitoring │ │ ├── ChatBot-Agent Dashboard Example - Grafana.json │ │ ├── images │ │ │ ├── Grafana.png │ │ │ └── Prometheus.png │ │ ├── IoT-Agent Dashboard Example - Grafana.json │ │ ├── OpenAI compatible API - Agent Dashboard Example - Grafana.json │ │ ├── prometheus Example.yml │ │ └── README.md │ ├── ChatBotAgent │ │ ├── __init__.py │ │ ├── config.json.example │ │ ├── html │ │ │ ├── favicon.ico │ │ │ ├── index_de.html │ │ │ ├── index.html │ │ │ ├── Logo_light.svg │ │ │ ├── start_http_server.ps1 │ │ │ └── start_http_server.sh │ │ ├── Python │ │ │ ├── __init__.py │ │ │ └── chatbot_agent.py │ │ ├── README.md │ │ └── requirements.txt │ ├── IoTAgent │ │ ├── config_example.json │ │ ├── Python │ │ │ ├── iot_mqtt_agent.py │ │ │ └── language.py │ │ ├── README.md │ │ └── requirements.txt │ ├── MCP-Client │ │ ├── __init__.py │ │ ├── .env.example │ │ ├── Python │ │ │ ├── __init__.py │ │ │ ├── chat_handler.py │ │ │ ├── config.py │ │ │ ├── environment.py │ │ │ ├── llm_client.py │ │ │ ├── mcp_client_sse.py │ │ │ ├── mcp_client.py │ │ │ ├── messages │ │ │ │ ├── __init__.py │ │ │ │ ├── message_types │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── incrementing_id_message.py │ │ │ │ │ ├── initialize_message.py │ │ │ │ │ ├── json_rpc_message.py │ │ │ │ │ ├── ping_message.py │ │ │ │ │ ├── prompts_messages.py │ │ │ │ │ ├── prompts_models.py │ │ │ │ │ ├── resources_messages.py │ │ │ │ │ └── tools_messages.py │ │ │ │ ├── send_call_tool.py │ │ │ │ ├── send_initialize_message.py │ │ │ │ ├── send_message.py │ │ │ │ ├── send_ping.py │ │ │ │ ├── send_prompts.py │ │ │ │ ├── send_resources.py │ │ │ │ └── send_tools_list.py │ │ │ ├── system_prompt_generator.py │ │ │ ├── tools_handler.py │ │ │ └── transport │ │ │ ├── __init__.py │ │ │ └── stdio │ │ │ ├── __init__.py │ │ │ ├── stdio_client.py │ │ │ ├── stdio_server_parameters.py │ │ │ └── stdio_server_shutdown.py │ │ ├── README.md │ │ ├── requirements.txt │ │ └── server_config.json │ ├── OpenAI_Compatible_API_Agent │ │ ├── __init__.py │ │ ├── docker-compose.yml │ │ ├── Dockerfile │ │ ├── pgpt_openai_api_mcp.json.example │ │ ├── pgpt_openai_api_proxy.json.example │ │ ├── Python │ │ │ ├── __init__.py │ │ │ ├── client_tests │ │ │ │ ├── __init__.py │ │ │ │ ├── openai_test_client_structured.py │ │ │ │ ├── openai_test_client_tools.py │ │ │ │ ├── openai_test_client.py │ │ │ │ ├── vllm_client_multimodal.py │ │ │ │ ├── vllm_client.py │ │ │ │ ├── vllm_structured.py │ │ │ │ └── vllm_structured2.py │ │ │ ├── generate_api_key.py │ │ │ ├── open_ai_helper.py │ │ │ ├── openai_compatible_api.py │ │ │ ├── openai_mcp_api.py │ │ │ ├── pgpt_api.py │ │ │ ├── privategpt_api.py │ │ │ └── vllmproxy.py │ │ ├── README.md │ │ └── requirements.txt │ └── SourceManagerAgent │ ├── __init__.py │ ├── config.json.example │ └── Python │ ├── __init__.py │ ├── file_tools │ │ └── loader_factory.py │ ├── file_upload_agent.py │ └── local_db.py ├── clients │ ├── __init__.py │ ├── C# .Net │ │ ├── 1.0 mcp_login │ │ │ ├── bin │ │ │ │ └── Debug │ │ │ │ └── net9.0 │ │ │ │ ├── mcp_login.deps.json │ │ │ │ ├── mcp_login.dll │ │ │ │ ├── mcp_login.exe │ │ │ │ ├── mcp_login.pdb │ │ │ │ ├── mcp_login.runtimeconfig.json │ │ │ │ └── Newtonsoft.Json.dll │ │ │ ├── mcp_login.csproj │ │ │ ├── obj │ │ │ │ ├── Debug │ │ │ │ │ └── net9.0 │ │ │ │ │ ├── .NETCoreApp,Version=v9.0.AssemblyAttributes.cs │ │ │ │ │ ├── apphost.exe │ │ │ │ │ ├── mcp_login.AssemblyInfo.cs │ │ │ │ │ ├── mcp_login.AssemblyInfoInputs.cache │ │ │ │ │ ├── mcp_login.assets.cache │ │ │ │ │ ├── mcp_login.csproj.AssemblyReference.cache │ │ │ │ │ ├── mcp_login.csproj.CoreCompileInputs.cache │ │ │ │ │ ├── mcp_login.csproj.FileListAbsolute.txt │ │ │ │ │ ├── mcp_login.csproj.Up2Date │ │ │ │ │ ├── mcp_login.dll │ │ │ │ │ ├── mcp_login.GeneratedMSBuildEditorConfig.editorconfig │ │ │ │ │ ├── mcp_login.genruntimeconfig.cache │ │ │ │ │ ├── mcp_login.GlobalUsings.g.cs │ │ │ │ │ ├── mcp_login.pdb │ │ │ │ │ ├── ref │ │ │ │ │ │ └── mcp_login.dll │ │ │ │ │ └── refint │ │ │ │ │ └── mcp_login.dll │ │ │ │ ├── mcp_login.csproj.nuget.dgspec.json │ │ │ │ ├── mcp_login.csproj.nuget.g.props │ │ │ │ ├── mcp_login.csproj.nuget.g.targets │ │ │ │ ├── project.assets.json │ │ │ │ └── project.nuget.cache │ │ │ └── Program.cs │ │ ├── 1.1 mcp_logout │ │ │ ├── bin │ │ │ │ └── Debug │ │ │ │ └── net9.0 │ │ │ │ ├── mcp_logout.deps.json │ │ │ │ ├── mcp_logout.dll │ │ │ │ ├── mcp_logout.exe │ │ │ │ ├── mcp_logout.pdb │ │ │ │ ├── mcp_logout.runtimeconfig.json │ │ │ │ └── Newtonsoft.Json.dll │ │ │ ├── mcp_logout.csproj │ │ │ ├── obj │ │ │ │ ├── Debug │ │ │ │ │ └── net9.0 │ │ │ │ │ ├── .NETCoreApp,Version=v9.0.AssemblyAttributes.cs │ │ │ │ │ ├── apphost.exe │ │ │ │ │ ├── mcp_logout.AssemblyInfo.cs │ │ │ │ │ ├── mcp_logout.AssemblyInfoInputs.cache │ │ │ │ │ ├── mcp_logout.assets.cache │ │ │ │ │ ├── mcp_logout.csproj.AssemblyReference.cache │ │ │ │ │ ├── mcp_logout.csproj.CoreCompileInputs.cache │ │ │ │ │ ├── mcp_logout.csproj.FileListAbsolute.txt │ │ │ │ │ ├── mcp_logout.csproj.Up2Date │ │ │ │ │ ├── mcp_logout.dll │ │ │ │ │ ├── mcp_logout.GeneratedMSBuildEditorConfig.editorconfig │ │ │ │ │ ├── mcp_logout.genruntimeconfig.cache │ │ │ │ │ ├── mcp_logout.GlobalUsings.g.cs │ │ │ │ │ ├── mcp_logout.pdb │ │ │ │ │ ├── ref │ │ │ │ │ │ └── mcp_logout.dll │ │ │ │ │ └── refint │ │ │ │ │ └── mcp_logout.dll │ │ │ │ ├── mcp_logout.csproj.nuget.dgspec.json │ │ │ │ ├── mcp_logout.csproj.nuget.g.props │ │ │ │ ├── mcp_logout.csproj.nuget.g.targets │ │ │ │ ├── project.assets.json │ │ │ │ └── project.nuget.cache │ │ │ └── Program.cs │ │ ├── 2.0 mcp_chat │ │ │ ├── bin │ │ │ │ └── Debug │ │ │ │ └── net9.0 │ │ │ │ ├── mcp_chat.deps.json │ │ │ │ ├── mcp_chat.dll │ │ │ │ ├── mcp_chat.exe │ │ │ │ ├── mcp_chat.pdb │ │ │ │ ├── mcp_chat.runtimeconfig.json │ │ │ │ └── Newtonsoft.Json.dll │ │ │ ├── mcp_chat.csproj │ │ │ ├── obj │ │ │ │ ├── Debug │ │ │ │ │ └── net9.0 │ │ │ │ │ ├── .NETCoreApp,Version=v9.0.AssemblyAttributes.cs │ │ │ │ │ ├── apphost.exe │ │ │ │ │ ├── mcp_chat.AssemblyInfo.cs │ │ │ │ │ ├── mcp_chat.AssemblyInfoInputs.cache │ │ │ │ │ ├── mcp_chat.assets.cache │ │ │ │ │ ├── mcp_chat.csproj.AssemblyReference.cache │ │ │ │ │ ├── mcp_chat.csproj.CoreCompileInputs.cache │ │ │ │ │ ├── mcp_chat.csproj.FileListAbsolute.txt │ │ │ │ │ ├── mcp_chat.csproj.Up2Date │ │ │ │ │ ├── mcp_chat.dll │ │ │ │ │ ├── mcp_chat.GeneratedMSBuildEditorConfig.editorconfig │ │ │ │ │ ├── mcp_chat.genruntimeconfig.cache │ │ │ │ │ ├── mcp_chat.GlobalUsings.g.cs │ │ │ │ │ ├── mcp_chat.pdb │ │ │ │ │ ├── ref │ │ │ │ │ │ └── mcp_chat.dll │ │ │ │ │ └── refint │ │ │ │ │ └── mcp_chat.dll │ │ │ │ ├── mcp_chat.csproj.nuget.dgspec.json │ │ │ │ ├── mcp_chat.csproj.nuget.g.props │ │ │ │ ├── mcp_chat.csproj.nuget.g.targets │ │ │ │ ├── project.assets.json │ │ │ │ └── project.nuget.cache │ │ │ └── Program.cs │ │ ├── 2.1 mcp_continue_chat │ │ │ ├── bin │ │ │ │ └── Debug │ │ │ │ └── net9.0 │ │ │ │ ├── mcp_continue_chat.deps.json │ │ │ │ ├── mcp_continue_chat.dll │ │ │ │ ├── mcp_continue_chat.exe │ │ │ │ ├── mcp_continue_chat.pdb │ │ │ │ ├── mcp_continue_chat.runtimeconfig.json │ │ │ │ └── Newtonsoft.Json.dll │ │ │ ├── mcp_continue_chat.csproj │ │ │ ├── obj │ │ │ │ ├── Debug │ │ │ │ │ └── net9.0 │ │ │ │ │ ├── .NETCoreApp,Version=v9.0.AssemblyAttributes.cs │ │ │ │ │ ├── apphost.exe │ │ │ │ │ ├── mcp_cont.EF178231.Up2Date │ │ │ │ │ ├── mcp_continue_chat.AssemblyInfo.cs │ │ │ │ │ ├── mcp_continue_chat.AssemblyInfoInputs.cache │ │ │ │ │ ├── mcp_continue_chat.assets.cache │ │ │ │ │ ├── mcp_continue_chat.csproj.AssemblyReference.cache │ │ │ │ │ ├── mcp_continue_chat.csproj.CoreCompileInputs.cache │ │ │ │ │ ├── mcp_continue_chat.csproj.FileListAbsolute.txt │ │ │ │ │ ├── mcp_continue_chat.dll │ │ │ │ │ ├── mcp_continue_chat.GeneratedMSBuildEditorConfig.editorconfig │ │ │ │ │ ├── mcp_continue_chat.genruntimeconfig.cache │ │ │ │ │ ├── mcp_continue_chat.GlobalUsings.g.cs │ │ │ │ │ ├── mcp_continue_chat.pdb │ │ │ │ │ ├── ref │ │ │ │ │ │ └── mcp_continue_chat.dll │ │ │ │ │ └── refint │ │ │ │ │ └── mcp_continue_chat.dll │ │ │ │ ├── mcp_continue_chat.csproj.nuget.dgspec.json │ │ │ │ ├── mcp_continue_chat.csproj.nuget.g.props │ │ │ │ ├── mcp_continue_chat.csproj.nuget.g.targets │ │ │ │ ├── project.assets.json │ │ │ │ └── project.nuget.cache │ │ │ └── Program.cs │ │ ├── 2.2 mcp_get_chat_info │ │ │ ├── bin │ │ │ │ └── Debug │ │ │ │ └── net9.0 │ │ │ │ ├── mcp_get_chat_info.deps.json │ │ │ │ ├── mcp_get_chat_info.dll │ │ │ │ ├── mcp_get_chat_info.exe │ │ │ │ ├── mcp_get_chat_info.pdb │ │ │ │ ├── mcp_get_chat_info.runtimeconfig.json │ │ │ │ └── Newtonsoft.Json.dll │ │ │ ├── Dokumente - Verknüpfung.lnk │ │ │ ├── mcp_get_chat_info.csproj │ │ │ ├── obj │ │ │ │ ├── Debug │ │ │ │ │ └── net9.0 │ │ │ │ │ ├── .NETCoreApp,Version=v9.0.AssemblyAttributes.cs │ │ │ │ │ ├── apphost.exe │ │ │ │ │ ├── mcp_get_.DFF47B4E.Up2Date │ │ │ │ │ ├── mcp_get_chat_info.AssemblyInfo.cs │ │ │ │ │ ├── mcp_get_chat_info.AssemblyInfoInputs.cache │ │ │ │ │ ├── mcp_get_chat_info.assets.cache │ │ │ │ │ ├── mcp_get_chat_info.csproj.AssemblyReference.cache │ │ │ │ │ ├── mcp_get_chat_info.csproj.CoreCompileInputs.cache │ │ │ │ │ ├── mcp_get_chat_info.csproj.FileListAbsolute.txt │ │ │ │ │ ├── mcp_get_chat_info.dll │ │ │ │ │ ├── mcp_get_chat_info.GeneratedMSBuildEditorConfig.editorconfig │ │ │ │ │ ├── mcp_get_chat_info.genruntimeconfig.cache │ │ │ │ │ ├── mcp_get_chat_info.GlobalUsings.g.cs │ │ │ │ │ ├── mcp_get_chat_info.pdb │ │ │ │ │ ├── ref │ │ │ │ │ │ └── mcp_get_chat_info.dll │ │ │ │ │ └── refint │ │ │ │ │ └── mcp_get_chat_info.dll │ │ │ │ ├── mcp_get_chat_info.csproj.nuget.dgspec.json │ │ │ │ ├── mcp_get_chat_info.csproj.nuget.g.props │ │ │ │ ├── mcp_get_chat_info.csproj.nuget.g.targets │ │ │ │ ├── project.assets.json │ │ │ │ └── project.nuget.cache │ │ │ └── Program.cs │ │ ├── 3.0 mcp_create_source │ │ │ ├── bin │ │ │ │ └── Debug │ │ │ │ └── net9.0 │ │ │ │ ├── mcp_create_source.deps.json │ │ │ │ ├── mcp_create_source.dll │ │ │ │ ├── mcp_create_source.exe │ │ │ │ ├── mcp_create_source.pdb │ │ │ │ ├── mcp_create_source.runtimeconfig.json │ │ │ │ └── Newtonsoft.Json.dll │ │ │ ├── mcp_create_source.csproj │ │ │ ├── obj │ │ │ │ ├── Debug │ │ │ │ │ └── net9.0 │ │ │ │ │ ├── .NETCoreApp,Version=v9.0.AssemblyAttributes.cs │ │ │ │ │ ├── apphost.exe │ │ │ │ │ ├── mcp_crea.CB4ED912.Up2Date │ │ │ │ │ ├── mcp_create_source.AssemblyInfo.cs │ │ │ │ │ ├── mcp_create_source.AssemblyInfoInputs.cache │ │ │ │ │ ├── mcp_create_source.assets.cache │ │ │ │ │ ├── mcp_create_source.csproj.AssemblyReference.cache │ │ │ │ │ ├── mcp_create_source.csproj.CoreCompileInputs.cache │ │ │ │ │ ├── mcp_create_source.csproj.FileListAbsolute.txt │ │ │ │ │ ├── mcp_create_source.dll │ │ │ │ │ ├── mcp_create_source.GeneratedMSBuildEditorConfig.editorconfig │ │ │ │ │ ├── mcp_create_source.genruntimeconfig.cache │ │ │ │ │ ├── mcp_create_source.GlobalUsings.g.cs │ │ │ │ │ ├── mcp_create_source.pdb │ │ │ │ │ ├── ref │ │ │ │ │ │ └── mcp_create_source.dll │ │ │ │ │ └── refint │ │ │ │ │ └── mcp_create_source.dll │ │ │ │ ├── mcp_create_source.csproj.nuget.dgspec.json │ │ │ │ ├── mcp_create_source.csproj.nuget.g.props │ │ │ │ ├── mcp_create_source.csproj.nuget.g.targets │ │ │ │ ├── project.assets.json │ │ │ │ └── project.nuget.cache │ │ │ └── Program.cs │ │ ├── 3.1 mcp_get_source │ │ │ ├── bin │ │ │ │ └── Debug │ │ │ │ └── net9.0 │ │ │ │ ├── mcp_get_source.deps.json │ │ │ │ ├── mcp_get_source.dll │ │ │ │ ├── mcp_get_source.exe │ │ │ │ ├── mcp_get_source.pdb │ │ │ │ ├── mcp_get_source.runtimeconfig.json │ │ │ │ └── Newtonsoft.Json.dll │ │ │ ├── mcp_get_source.csproj │ │ │ ├── obj │ │ │ │ ├── Debug │ │ │ │ │ └── net9.0 │ │ │ │ │ ├── .NETCoreApp,Version=v9.0.AssemblyAttributes.cs │ │ │ │ │ ├── apphost.exe │ │ │ │ │ ├── mcp_get_.4E61956F.Up2Date │ │ │ │ │ ├── mcp_get_source.AssemblyInfo.cs │ │ │ │ │ ├── mcp_get_source.AssemblyInfoInputs.cache │ │ │ │ │ ├── mcp_get_source.assets.cache │ │ │ │ │ ├── mcp_get_source.csproj.AssemblyReference.cache │ │ │ │ │ ├── mcp_get_source.csproj.CoreCompileInputs.cache │ │ │ │ │ ├── mcp_get_source.csproj.FileListAbsolute.txt │ │ │ │ │ ├── mcp_get_source.dll │ │ │ │ │ ├── mcp_get_source.GeneratedMSBuildEditorConfig.editorconfig │ │ │ │ │ ├── mcp_get_source.genruntimeconfig.cache │ │ │ │ │ ├── mcp_get_source.GlobalUsings.g.cs │ │ │ │ │ ├── mcp_get_source.pdb │ │ │ │ │ ├── ref │ │ │ │ │ │ └── mcp_get_source.dll │ │ │ │ │ └── refint │ │ │ │ │ └── mcp_get_source.dll │ │ │ │ ├── mcp_get_source.csproj.nuget.dgspec.json │ │ │ │ ├── mcp_get_source.csproj.nuget.g.props │ │ │ │ ├── mcp_get_source.csproj.nuget.g.targets │ │ │ │ ├── project.assets.json │ │ │ │ └── project.nuget.cache │ │ │ └── Program.cs │ │ ├── 3.2 mcp_list_sources │ │ │ ├── bin │ │ │ │ └── Debug │ │ │ │ └── net9.0 │ │ │ │ ├── mcp_list_sources.deps.json │ │ │ │ ├── mcp_list_sources.dll │ │ │ │ ├── mcp_list_sources.exe │ │ │ │ ├── mcp_list_sources.pdb │ │ │ │ ├── mcp_list_sources.runtimeconfig.json │ │ │ │ └── Newtonsoft.Json.dll │ │ │ ├── mcp_list_sources.csproj │ │ │ ├── obj │ │ │ │ ├── Debug │ │ │ │ │ └── net9.0 │ │ │ │ │ ├── .NETCoreApp,Version=v9.0.AssemblyAttributes.cs │ │ │ │ │ ├── apphost.exe │ │ │ │ │ ├── mcp_list_sources.AssemblyInfo.cs │ │ │ │ │ ├── mcp_list_sources.AssemblyInfoInputs.cache │ │ │ │ │ ├── mcp_list_sources.assets.cache │ │ │ │ │ ├── mcp_list_sources.csproj.AssemblyReference.cache │ │ │ │ │ ├── mcp_list_sources.csproj.CoreCompileInputs.cache │ │ │ │ │ ├── mcp_list_sources.csproj.FileListAbsolute.txt │ │ │ │ │ ├── mcp_list_sources.dll │ │ │ │ │ ├── mcp_list_sources.GeneratedMSBuildEditorConfig.editorconfig │ │ │ │ │ ├── mcp_list_sources.genruntimeconfig.cache │ │ │ │ │ ├── mcp_list_sources.GlobalUsings.g.cs │ │ │ │ │ ├── mcp_list_sources.pdb │ │ │ │ │ ├── mcp_list.A720E197.Up2Date │ │ │ │ │ ├── ref │ │ │ │ │ │ └── mcp_list_sources.dll │ │ │ │ │ └── refint │ │ │ │ │ └── mcp_list_sources.dll │ │ │ │ ├── mcp_list_sources.csproj.nuget.dgspec.json │ │ │ │ ├── mcp_list_sources.csproj.nuget.g.props │ │ │ │ ├── mcp_list_sources.csproj.nuget.g.targets │ │ │ │ ├── project.assets.json │ │ │ │ └── project.nuget.cache │ │ │ └── Program.cs │ │ ├── 3.3 mcp_edit_source │ │ │ ├── bin │ │ │ │ └── Debug │ │ │ │ └── net9.0 │ │ │ │ ├── mcp_edit_source.deps.json │ │ │ │ ├── mcp_edit_source.dll │ │ │ │ ├── mcp_edit_source.exe │ │ │ │ ├── mcp_edit_source.pdb │ │ │ │ ├── mcp_edit_source.runtimeconfig.json │ │ │ │ └── Newtonsoft.Json.dll │ │ │ ├── mcp_edit_source.csproj │ │ │ ├── obj │ │ │ │ ├── Debug │ │ │ │ │ └── net9.0 │ │ │ │ │ ├── .NETCoreApp,Version=v9.0.AssemblyAttributes.cs │ │ │ │ │ ├── apphost.exe │ │ │ │ │ ├── mcp_edit_source.AssemblyInfo.cs │ │ │ │ │ ├── mcp_edit_source.AssemblyInfoInputs.cache │ │ │ │ │ ├── mcp_edit_source.assets.cache │ │ │ │ │ ├── mcp_edit_source.csproj.AssemblyReference.cache │ │ │ │ │ ├── mcp_edit_source.csproj.CoreCompileInputs.cache │ │ │ │ │ ├── mcp_edit_source.csproj.FileListAbsolute.txt │ │ │ │ │ ├── mcp_edit_source.dll │ │ │ │ │ ├── mcp_edit_source.GeneratedMSBuildEditorConfig.editorconfig │ │ │ │ │ ├── mcp_edit_source.genruntimeconfig.cache │ │ │ │ │ ├── mcp_edit_source.GlobalUsings.g.cs │ │ │ │ │ ├── mcp_edit_source.pdb │ │ │ │ │ ├── mcp_edit.7303BE3B.Up2Date │ │ │ │ │ ├── ref │ │ │ │ │ │ └── mcp_edit_source.dll │ │ │ │ │ └── refint │ │ │ │ │ └── mcp_edit_source.dll │ │ │ │ ├── mcp_edit_source.csproj.nuget.dgspec.json │ │ │ │ ├── mcp_edit_source.csproj.nuget.g.props │ │ │ │ ├── mcp_edit_source.csproj.nuget.g.targets │ │ │ │ ├── project.assets.json │ │ │ │ └── project.nuget.cache │ │ │ └── Program.cs │ │ ├── 3.4 mcp_delete_source │ │ │ ├── bin │ │ │ │ └── Debug │ │ │ │ └── net9.0 │ │ │ │ ├── mcp_delete_source.deps.json │ │ │ │ ├── mcp_delete_source.dll │ │ │ │ ├── mcp_delete_source.exe │ │ │ │ ├── mcp_delete_source.pdb │ │ │ │ ├── mcp_delete_source.runtimeconfig.json │ │ │ │ └── Newtonsoft.Json.dll │ │ │ ├── mcp_delete_source.csproj │ │ │ ├── obj │ │ │ │ ├── Debug │ │ │ │ │ └── net9.0 │ │ │ │ │ ├── .NETCoreApp,Version=v9.0.AssemblyAttributes.cs │ │ │ │ │ ├── apphost.exe │ │ │ │ │ ├── mcp_dele.67DD13F9.Up2Date │ │ │ │ │ ├── mcp_delete_source.AssemblyInfo.cs │ │ │ │ │ ├── mcp_delete_source.AssemblyInfoInputs.cache │ │ │ │ │ ├── mcp_delete_source.assets.cache │ │ │ │ │ ├── mcp_delete_source.csproj.AssemblyReference.cache │ │ │ │ │ ├── mcp_delete_source.csproj.CoreCompileInputs.cache │ │ │ │ │ ├── mcp_delete_source.csproj.FileListAbsolute.txt │ │ │ │ │ ├── mcp_delete_source.dll │ │ │ │ │ ├── mcp_delete_source.GeneratedMSBuildEditorConfig.editorconfig │ │ │ │ │ ├── mcp_delete_source.genruntimeconfig.cache │ │ │ │ │ ├── mcp_delete_source.GlobalUsings.g.cs │ │ │ │ │ ├── mcp_delete_source.pdb │ │ │ │ │ ├── ref │ │ │ │ │ │ └── mcp_delete_source.dll │ │ │ │ │ └── refint │ │ │ │ │ └── mcp_delete_source.dll │ │ │ │ ├── mcp_delete_source.csproj.nuget.dgspec.json │ │ │ │ ├── mcp_delete_source.csproj.nuget.g.props │ │ │ │ ├── mcp_delete_source.csproj.nuget.g.targets │ │ │ │ ├── project.assets.json │ │ │ │ └── project.nuget.cache │ │ │ └── Program.cs │ │ ├── 4.0 mcp_list_groups │ │ │ ├── bin │ │ │ │ └── Debug │ │ │ │ └── net9.0 │ │ │ │ ├── mcp_list_groups.deps.json │ │ │ │ ├── mcp_list_groups.dll │ │ │ │ ├── mcp_list_groups.exe │ │ │ │ ├── mcp_list_groups.pdb │ │ │ │ ├── mcp_list_groups.runtimeconfig.json │ │ │ │ └── Newtonsoft.Json.dll │ │ │ ├── mcp_list_groups.csproj │ │ │ ├── obj │ │ │ │ ├── Debug │ │ │ │ │ └── net9.0 │ │ │ │ │ ├── .NETCoreApp,Version=v9.0.AssemblyAttributes.cs │ │ │ │ │ ├── apphost.exe │ │ │ │ │ ├── mcp_list_groups.AssemblyInfo.cs │ │ │ │ │ ├── mcp_list_groups.AssemblyInfoInputs.cache │ │ │ │ │ ├── mcp_list_groups.assets.cache │ │ │ │ │ ├── mcp_list_groups.csproj.AssemblyReference.cache │ │ │ │ │ ├── mcp_list_groups.csproj.CoreCompileInputs.cache │ │ │ │ │ ├── mcp_list_groups.csproj.FileListAbsolute.txt │ │ │ │ │ ├── mcp_list_groups.dll │ │ │ │ │ ├── mcp_list_groups.GeneratedMSBuildEditorConfig.editorconfig │ │ │ │ │ ├── mcp_list_groups.genruntimeconfig.cache │ │ │ │ │ ├── mcp_list_groups.GlobalUsings.g.cs │ │ │ │ │ ├── mcp_list_groups.pdb │ │ │ │ │ ├── mcp_list.EBD5E0D2.Up2Date │ │ │ │ │ ├── ref │ │ │ │ │ │ └── mcp_list_groups.dll │ │ │ │ │ └── refint │ │ │ │ │ └── mcp_list_groups.dll │ │ │ │ ├── mcp_list_groups.csproj.nuget.dgspec.json │ │ │ │ ├── mcp_list_groups.csproj.nuget.g.props │ │ │ │ ├── mcp_list_groups.csproj.nuget.g.targets │ │ │ │ ├── project.assets.json │ │ │ │ └── project.nuget.cache │ │ │ └── Program.cs │ │ ├── 4.1 mcp_store_group │ │ │ ├── bin │ │ │ │ └── Debug │ │ │ │ └── net9.0 │ │ │ │ ├── mcp_store_group.deps.json │ │ │ │ ├── mcp_store_group.dll │ │ │ │ ├── mcp_store_group.exe │ │ │ │ ├── mcp_store_group.pdb │ │ │ │ ├── mcp_store_group.runtimeconfig.json │ │ │ │ └── Newtonsoft.Json.dll │ │ │ ├── mcp_store_group.csproj │ │ │ ├── obj │ │ │ │ ├── Debug │ │ │ │ │ └── net9.0 │ │ │ │ │ ├── .NETCoreApp,Version=v9.0.AssemblyAttributes.cs │ │ │ │ │ ├── apphost.exe │ │ │ │ │ ├── mcp_stor.AFB4AA35.Up2Date │ │ │ │ │ ├── mcp_store_group.AssemblyInfo.cs │ │ │ │ │ ├── mcp_store_group.AssemblyInfoInputs.cache │ │ │ │ │ ├── mcp_store_group.assets.cache │ │ │ │ │ ├── mcp_store_group.csproj.AssemblyReference.cache │ │ │ │ │ ├── mcp_store_group.csproj.CoreCompileInputs.cache │ │ │ │ │ ├── mcp_store_group.csproj.FileListAbsolute.txt │ │ │ │ │ ├── mcp_store_group.dll │ │ │ │ │ ├── mcp_store_group.GeneratedMSBuildEditorConfig.editorconfig │ │ │ │ │ ├── mcp_store_group.genruntimeconfig.cache │ │ │ │ │ ├── mcp_store_group.GlobalUsings.g.cs │ │ │ │ │ ├── mcp_store_group.pdb │ │ │ │ │ ├── ref │ │ │ │ │ │ └── mcp_store_group.dll │ │ │ │ │ └── refint │ │ │ │ │ └── mcp_store_group.dll │ │ │ │ ├── mcp_store_group.csproj.nuget.dgspec.json │ │ │ │ ├── mcp_store_group.csproj.nuget.g.props │ │ │ │ ├── mcp_store_group.csproj.nuget.g.targets │ │ │ │ ├── project.assets.json │ │ │ │ └── project.nuget.cache │ │ │ └── Program.cs │ │ ├── 4.2 mcp_delete_group │ │ │ ├── bin │ │ │ │ └── Debug │ │ │ │ └── net9.0 │ │ │ │ ├── mcp_delete_group.deps.json │ │ │ │ ├── mcp_delete_group.dll │ │ │ │ ├── mcp_delete_group.exe │ │ │ │ ├── mcp_delete_group.pdb │ │ │ │ ├── mcp_delete_group.runtimeconfig.json │ │ │ │ └── Newtonsoft.Json.dll │ │ │ ├── mcp_delete_group.csproj │ │ │ ├── obj │ │ │ │ ├── Debug │ │ │ │ │ └── net9.0 │ │ │ │ │ ├── .NETCoreApp,Version=v9.0.AssemblyAttributes.cs │ │ │ │ │ ├── apphost.exe │ │ │ │ │ ├── mcp_dele.FE1C6298.Up2Date │ │ │ │ │ ├── mcp_delete_group.AssemblyInfo.cs │ │ │ │ │ ├── mcp_delete_group.AssemblyInfoInputs.cache │ │ │ │ │ ├── mcp_delete_group.assets.cache │ │ │ │ │ ├── mcp_delete_group.csproj.AssemblyReference.cache │ │ │ │ │ ├── mcp_delete_group.csproj.CoreCompileInputs.cache │ │ │ │ │ ├── mcp_delete_group.csproj.FileListAbsolute.txt │ │ │ │ │ ├── mcp_delete_group.dll │ │ │ │ │ ├── mcp_delete_group.GeneratedMSBuildEditorConfig.editorconfig │ │ │ │ │ ├── mcp_delete_group.genruntimeconfig.cache │ │ │ │ │ ├── mcp_delete_group.GlobalUsings.g.cs │ │ │ │ │ ├── mcp_delete_group.pdb │ │ │ │ │ ├── ref │ │ │ │ │ │ └── mcp_delete_group.dll │ │ │ │ │ └── refint │ │ │ │ │ └── mcp_delete_group.dll │ │ │ │ ├── mcp_delete_group.csproj.nuget.dgspec.json │ │ │ │ ├── mcp_delete_group.csproj.nuget.g.props │ │ │ │ ├── mcp_delete_group.csproj.nuget.g.targets │ │ │ │ ├── project.assets.json │ │ │ │ └── project.nuget.cache │ │ │ └── Program.cs │ │ ├── 5.0 mcp_store_user │ │ │ ├── bin │ │ │ │ └── Debug │ │ │ │ └── net9.0 │ │ │ │ ├── mcp_store_user.deps.json │ │ │ │ ├── mcp_store_user.dll │ │ │ │ ├── mcp_store_user.exe │ │ │ │ ├── mcp_store_user.pdb │ │ │ │ ├── mcp_store_user.runtimeconfig.json │ │ │ │ └── Newtonsoft.Json.dll │ │ │ ├── mcp_store_user.csproj │ │ │ ├── obj │ │ │ │ ├── Debug │ │ │ │ │ └── net9.0 │ │ │ │ │ ├── .NETCoreApp,Version=v9.0.AssemblyAttributes.cs │ │ │ │ │ ├── apphost.exe │ │ │ │ │ ├── mcp_stor.6C0F0C8A.Up2Date │ │ │ │ │ ├── mcp_store_user.AssemblyInfo.cs │ │ │ │ │ ├── mcp_store_user.AssemblyInfoInputs.cache │ │ │ │ │ ├── mcp_store_user.assets.cache │ │ │ │ │ ├── mcp_store_user.csproj.AssemblyReference.cache │ │ │ │ │ ├── mcp_store_user.csproj.CoreCompileInputs.cache │ │ │ │ │ ├── mcp_store_user.csproj.FileListAbsolute.txt │ │ │ │ │ ├── mcp_store_user.dll │ │ │ │ │ ├── mcp_store_user.GeneratedMSBuildEditorConfig.editorconfig │ │ │ │ │ ├── mcp_store_user.genruntimeconfig.cache │ │ │ │ │ ├── mcp_store_user.GlobalUsings.g.cs │ │ │ │ │ ├── mcp_store_user.pdb │ │ │ │ │ ├── ref │ │ │ │ │ │ └── mcp_store_user.dll │ │ │ │ │ └── refint │ │ │ │ │ └── mcp_store_user.dll │ │ │ │ ├── mcp_store_user.csproj.nuget.dgspec.json │ │ │ │ ├── mcp_store_user.csproj.nuget.g.props │ │ │ │ ├── mcp_store_user.csproj.nuget.g.targets │ │ │ │ ├── project.assets.json │ │ │ │ └── project.nuget.cache │ │ │ └── Program.cs │ │ ├── 5.1 mcp_edit_user │ │ │ ├── bin │ │ │ │ └── Debug │ │ │ │ └── net9.0 │ │ │ │ ├── mcp_edit_user.deps.json │ │ │ │ ├── mcp_edit_user.dll │ │ │ │ ├── mcp_edit_user.exe │ │ │ │ ├── mcp_edit_user.pdb │ │ │ │ ├── mcp_edit_user.runtimeconfig.json │ │ │ │ └── Newtonsoft.Json.dll │ │ │ ├── mcp_edit_user.csproj │ │ │ ├── obj │ │ │ │ ├── Debug │ │ │ │ │ └── net9.0 │ │ │ │ │ ├── .NETCoreApp,Version=v9.0.AssemblyAttributes.cs │ │ │ │ │ ├── apphost.exe │ │ │ │ │ ├── mcp_edit_user.AssemblyInfo.cs │ │ │ │ │ ├── mcp_edit_user.AssemblyInfoInputs.cache │ │ │ │ │ ├── mcp_edit_user.assets.cache │ │ │ │ │ ├── mcp_edit_user.csproj.AssemblyReference.cache │ │ │ │ │ ├── mcp_edit_user.csproj.CoreCompileInputs.cache │ │ │ │ │ ├── mcp_edit_user.csproj.FileListAbsolute.txt │ │ │ │ │ ├── mcp_edit_user.dll │ │ │ │ │ ├── mcp_edit_user.GeneratedMSBuildEditorConfig.editorconfig │ │ │ │ │ ├── mcp_edit_user.genruntimeconfig.cache │ │ │ │ │ ├── mcp_edit_user.GlobalUsings.g.cs │ │ │ │ │ ├── mcp_edit_user.pdb │ │ │ │ │ ├── mcp_edit.94A30270.Up2Date │ │ │ │ │ ├── ref │ │ │ │ │ │ └── mcp_edit_user.dll │ │ │ │ │ └── refint │ │ │ │ │ └── mcp_edit_user.dll │ │ │ │ ├── mcp_edit_user.csproj.nuget.dgspec.json │ │ │ │ ├── mcp_edit_user.csproj.nuget.g.props │ │ │ │ ├── mcp_edit_user.csproj.nuget.g.targets │ │ │ │ ├── project.assets.json │ │ │ │ └── project.nuget.cache │ │ │ └── Program.cs │ │ ├── 5.2 mcp_delete_user │ │ │ ├── bin │ │ │ │ └── Debug │ │ │ │ └── net9.0 │ │ │ │ ├── mcp_delete_user.deps.json │ │ │ │ ├── mcp_delete_user.dll │ │ │ │ ├── mcp_delete_user.exe │ │ │ │ ├── mcp_delete_user.pdb │ │ │ │ ├── mcp_delete_user.runtimeconfig.json │ │ │ │ └── Newtonsoft.Json.dll │ │ │ ├── mcp_delete_user.csproj │ │ │ ├── obj │ │ │ │ ├── Debug │ │ │ │ │ └── net9.0 │ │ │ │ │ ├── .NETCoreApp,Version=v9.0.AssemblyAttributes.cs │ │ │ │ │ ├── apphost.exe │ │ │ │ │ ├── mcp_dele.CEB7E33D.Up2Date │ │ │ │ │ ├── mcp_delete_user.AssemblyInfo.cs │ │ │ │ │ ├── mcp_delete_user.AssemblyInfoInputs.cache │ │ │ │ │ ├── mcp_delete_user.assets.cache │ │ │ │ │ ├── mcp_delete_user.csproj.AssemblyReference.cache │ │ │ │ │ ├── mcp_delete_user.csproj.CoreCompileInputs.cache │ │ │ │ │ ├── mcp_delete_user.csproj.FileListAbsolute.txt │ │ │ │ │ ├── mcp_delete_user.dll │ │ │ │ │ ├── mcp_delete_user.GeneratedMSBuildEditorConfig.editorconfig │ │ │ │ │ ├── mcp_delete_user.genruntimeconfig.cache │ │ │ │ │ ├── mcp_delete_user.GlobalUsings.g.cs │ │ │ │ │ ├── mcp_delete_user.pdb │ │ │ │ │ ├── ref │ │ │ │ │ │ └── mcp_delete_user.dll │ │ │ │ │ └── refint │ │ │ │ │ └── mcp_delete_user.dll │ │ │ │ ├── mcp_delete_user.csproj.nuget.dgspec.json │ │ │ │ ├── mcp_delete_user.csproj.nuget.g.props │ │ │ │ ├── mcp_delete_user.csproj.nuget.g.targets │ │ │ │ ├── project.assets.json │ │ │ │ └── project.nuget.cache │ │ │ └── Program.cs │ │ ├── Code Archiv │ │ │ ├── mcp_chat.cs │ │ │ ├── mcp_continue_chat.cs │ │ │ ├── mcp_create_source.cs │ │ │ ├── mcp_delete_group.cs │ │ │ ├── mcp_delete_source.cs │ │ │ ├── mcp_delete_user.cs │ │ │ ├── mcp_edit_source.cs │ │ │ ├── mcp_edit_user.cs │ │ │ ├── mcp_get_chat_info.cs │ │ │ ├── mcp_get_source.cs │ │ │ ├── mcp_list_groups.cs │ │ │ ├── mcp_list_sources.cs │ │ │ ├── mcp_login.cs │ │ │ ├── mcp_logout.cs │ │ │ ├── mcp_store_group.cs │ │ │ └── mcp_store_user.cs │ │ └── README.md │ ├── C++ │ │ ├── .vscode │ │ │ └── launch.json │ │ ├── 1.0 mcp_login │ │ │ ├── MCPLoginClient.cpp │ │ │ └── Non-TLS version │ │ │ ├── MCPLoginClient.cpp │ │ │ └── MCPLoginClient.exe │ │ ├── 1.1 mcp_logout │ │ │ ├── MCPLogoutClient.cpp │ │ │ └── MCPLogoutClient.exe │ │ ├── 2.0 mcp_chat │ │ │ ├── MCPChatClient.cpp │ │ │ └── MCPChatClient.exe │ │ ├── 2.1 mcp_continue_chat │ │ │ ├── MCPChatContinuationClient.cpp │ │ │ └── MCPChatContinuationClient.exe │ │ ├── 2.2 mcp_get_chat_info │ │ │ ├── MCPGetChatInfoClient.cpp │ │ │ └── MCPGetChatInfoClient.exe │ │ ├── 3.0 mcp_create_source │ │ │ ├── MCPCreateSourceClient.cpp │ │ │ └── MCPCreateSourceClient.exe │ │ ├── 3.1 mcp_get_source │ │ │ ├── MCPGetSourceClient.cpp │ │ │ └── MCPGetSourceClient.exe │ │ ├── 3.2 mcp_list_sources │ │ │ ├── MCPListSourcesClient.cpp │ │ │ └── MCPListSourcesClient.exe │ │ ├── 3.3 mcp_edit_source │ │ │ ├── MCPEditSourceClient.cpp │ │ │ └── MCPEditSourceClient.exe │ │ ├── 3.4 mcp_delete_source │ │ │ ├── MCPDeleteSourceClient.cpp │ │ │ └── MCPDeleteSourceClient.exe │ │ ├── 4.0 mcp_list_groups │ │ │ ├── MCPListGroupsClient.cpp │ │ │ └── MCPListGroupsClient.exe │ │ ├── 4.1 mcp_store_group │ │ │ ├── MCPStoreGroupClient.cpp │ │ │ └── MCPStoreGroupClient.exe │ │ ├── 4.2 mcp_delete_group │ │ │ ├── MPCDeleteGroupClient.cpp │ │ │ └── MPCDeleteGroupClient.exe │ │ ├── 5.0 mcp_store_user │ │ │ ├── MCPStoreUserClient.cpp │ │ │ └── MCPStoreUserClient.exe │ │ ├── 5.1 mcp_edit_user │ │ │ ├── MCPEditUserClient.cpp │ │ │ └── MCPEditUserClient.exe │ │ ├── 5.2 mcp_delete_user │ │ │ ├── MCPDeleteUserClient.cpp │ │ │ └── MCPDeleteUserClient.exe │ │ ├── 9.0 mcp_keygen │ │ │ ├── MCPKeygenClient.cpp │ │ │ └── MCPKeygenClient.exe │ │ └── README.md │ ├── Go │ │ ├── 1.0 mcp_login │ │ │ ├── go.mod │ │ │ ├── MCPLoginClient.exe │ │ │ └── MCPLoginClient.go │ │ ├── 1.1 mcp_logout │ │ │ ├── MCPLogoutClient.exe │ │ │ └── MCPLogoutClient.go │ │ ├── 2.0 mcp_chat │ │ │ ├── MCPChatClient.exe │ │ │ └── MCPChatClient.go │ │ ├── 2.1 mcp_continue_chat │ │ │ ├── MCPChatContinuationClient.exe │ │ │ └── MCPChatContinuationClient.go │ │ ├── 2.2 mcp_get_chat_info │ │ │ ├── MCPGetChatInfoClient.exe │ │ │ └── MCPGetChatInfoClient.go │ │ ├── 3.0 mcp_create_source │ │ │ ├── MCPCreateSourceClient.exe │ │ │ └── MCPCreateSourceClient.go │ │ ├── 3.1 mcp_get_source │ │ │ ├── MCPGetSourceClient.exe │ │ │ └── MCPGetSourceClient.go │ │ ├── 3.2 mcp_list_sources │ │ │ ├── MCPListSourcesClient.exe │ │ │ └── MCPListSourcesClient.go │ │ ├── 3.3 mcp_edit_source │ │ │ ├── MCPEditSourceClient.exe │ │ │ └── MCPEditSourceClient.go │ │ ├── 3.4 mcp_delete_source │ │ │ ├── MCPDeleteSourceClient.exe │ │ │ └── MCPDeleteSourceClient.go │ │ ├── 4.0 mcp_list_groups │ │ │ ├── MCPListGroupsClient.exe │ │ │ └── MCPListGroupsClient.go │ │ ├── 4.1 mcp_store_group │ │ │ ├── MCPStoreGroupClient.exe │ │ │ └── MCPStoreGroupClient.go │ │ ├── 4.2 mcp_delete_group │ │ │ ├── MCPDeleteGroupClient.exe │ │ │ └── MCPDeleteGroupClient.go │ │ ├── 5.0 mcp_store_user │ │ │ ├── MCPStoreUserClient.exe │ │ │ └── MCPStoreUserClient.go │ │ ├── 5.1 mcp_edit_user │ │ │ ├── MCPEditUserClient.exe │ │ │ └── MCPEditUserClient.go │ │ ├── 5.2 mcp_delete_user │ │ │ ├── MCPDeleteUserClient.exe │ │ │ └── MCPDeleteUserClient.go │ │ ├── 9.0 mcp_keygen │ │ │ ├── MCPKeygenClient.exe │ │ │ └── MCPKeygenClient.go │ │ └── README.md │ ├── Gradio │ │ ├── Api.py │ │ ├── config.json.example │ │ ├── config.py │ │ ├── favicon.ico │ │ ├── file_tools │ │ │ └── loader_factory.py │ │ ├── language.py │ │ ├── logos │ │ │ ├── fsas.png │ │ │ └── Logo_dark.svg │ │ ├── main.py │ │ ├── mcp_client.py │ │ ├── mcp_servers │ │ │ ├── arxiv │ │ │ │ ├── arxiv-stdio.js │ │ │ │ ├── package.json │ │ │ │ ├── README.md │ │ │ │ ├── requirements.txt │ │ │ │ └── server_config.example.json │ │ │ ├── demo-mcp-server │ │ │ │ ├── demo-tools-sse.js │ │ │ │ ├── demo-tools-stdio.js │ │ │ │ └── tools │ │ │ │ ├── assets.js │ │ │ │ ├── calculator.js │ │ │ │ └── weather.js │ │ │ ├── filesystem │ │ │ │ ├── Dockerfile │ │ │ │ ├── index.ts │ │ │ │ ├── package.json │ │ │ │ ├── README.md │ │ │ │ ├── test │ │ │ │ │ └── new.txt │ │ │ │ └── tsconfig.json │ │ │ ├── moondream │ │ │ │ └── server.py │ │ │ ├── pgpt │ │ │ │ ├── __init__.py │ │ │ │ ├── Api.py │ │ │ │ ├── config.json.example │ │ │ │ ├── config.py │ │ │ │ ├── language.py │ │ │ │ ├── pyproject.toml │ │ │ │ ├── README.md │ │ │ │ └── server.py │ │ │ ├── replicate_flux │ │ │ │ └── server.py │ │ │ └── sqlite │ │ │ ├── .python-version │ │ │ ├── Dockerfile │ │ │ ├── pyproject.toml │ │ │ ├── README.md │ │ │ └── src │ │ │ └── mcp_server_sqlite │ │ │ ├── __init__.py │ │ │ └── server.py │ │ ├── messages │ │ │ ├── __init__.py │ │ │ ├── message_types │ │ │ │ ├── __init__.py │ │ │ │ ├── incrementing_id_message.py │ │ │ │ ├── initialize_message.py │ │ │ │ ├── json_rpc_message.py │ │ │ │ ├── ping_message.py │ │ │ │ ├── prompts_messages.py │ │ │ │ ├── prompts_models.py │ │ │ │ ├── resources_messages.py │ │ │ │ └── tools_messages.py │ │ │ ├── send_call_tool.py │ │ │ ├── send_initialize_message.py │ │ │ ├── send_message.py │ │ │ ├── send_ping.py │ │ │ ├── send_prompts.py │ │ │ ├── send_resources.py │ │ │ └── send_tools_list.py │ │ ├── README.md │ │ ├── requirements.txt │ │ ├── server_config.json │ │ ├── SourceManagement.py │ │ ├── transport │ │ │ ├── __init__.py │ │ │ └── stdio │ │ │ ├── __init__.py │ │ │ ├── stdio_client.py │ │ │ ├── stdio_server_parameters.py │ │ │ └── stdio_server_shutdown.py │ │ ├── tsconfig.json │ │ └── UserManagement.py │ ├── Java │ │ ├── 1.0 mcp_login │ │ │ ├── json-20241224.jar │ │ │ ├── MCPLoginClient.class │ │ │ └── MCPLoginClient.java │ │ ├── 1.1 mcp_logout │ │ │ ├── json-20241224.jar │ │ │ ├── MCPLogoutClient.class │ │ │ └── MCPLogoutClient.java │ │ ├── 2.0 mcp_chat │ │ │ ├── json-20241224.jar │ │ │ ├── MCPChatClient.class │ │ │ └── MCPChatClient.java │ │ ├── 2.1 mcp_continue_chat │ │ │ ├── json-20241224.jar │ │ │ ├── MCPContinueChatClient.class │ │ │ └── MCPContinueChatClient.java │ │ ├── 2.2 mcp_get_chat_info │ │ │ ├── json-20241224.jar │ │ │ ├── MCPGetChatInfoClient.class │ │ │ └── MCPGetChatInfoClient.java │ │ ├── 3.0 mcp_create_source │ │ │ ├── json-20241224.jar │ │ │ ├── MCPCreateSourceClient.class │ │ │ └── MCPCreateSourceClient.java │ │ ├── 3.1 mcp_get_source │ │ │ ├── json-20241224.jar │ │ │ ├── MCPGetSourceClient.class │ │ │ └── MCPGetSourceClient.java │ │ ├── 3.2 mcp_list_sources │ │ │ ├── json-20241224.jar │ │ │ ├── MCPListSourcesClient.class │ │ │ └── MCPListSourcesClient.java │ │ ├── 3.3 mcp_edit_source │ │ │ ├── json-20241224.jar │ │ │ ├── MCPEditSourceClient.class │ │ │ └── MCPEditSourceClient.java │ │ ├── 3.4 mcp_delete_source │ │ │ ├── json-20241224.jar │ │ │ ├── MCPDeleteSourceClient.class │ │ │ └── MCPDeleteSourceClient.java │ │ ├── 4.0 mcp_list_groups │ │ │ ├── json-20241224.jar │ │ │ ├── MCPListGroupsClient.class │ │ │ └── MCPListGroupsClient.java │ │ ├── 4.1 mcp_store_group │ │ │ ├── json-20241224.jar │ │ │ ├── MCPStoreGroupClient.class │ │ │ └── MCPStoreGroupClient.java │ │ ├── 4.2 mcp_delete_group │ │ │ ├── json-20241224.jar │ │ │ ├── MCPDeleteGroupClient.class │ │ │ └── MCPDeleteGroupClient.java │ │ ├── 5.0 mcp_store_user │ │ │ ├── json-20241224.jar │ │ │ ├── MCPStoreUserClient.class │ │ │ └── MCPStoreUserClient.java │ │ ├── 5.1 mcp_edit_user │ │ │ ├── json-20241224.jar │ │ │ ├── MCPEditUserClient.class │ │ │ └── MCPEditUserClient.java │ │ ├── 5.2 mcp_delete_user │ │ │ ├── json-20241224.jar │ │ │ ├── MCPDeleteUserClient.class │ │ │ └── MCPDeleteUserClient.java │ │ └── README.md │ ├── JavaScript │ │ ├── 1.0 mcp_login │ │ │ └── MCPLoginClient.js │ │ ├── 1.1 mcp_logout │ │ │ └── MCPLogoutClient.js │ │ ├── 2.0 mcp_chat │ │ │ └── MCPChatClient.js │ │ ├── 2.1 mcp_continue_chat │ │ │ └── MCPContinueChatClient.js │ │ ├── 2.2 mcp_get_chat_info │ │ │ └── MCPGetChatInfoClient.js │ │ ├── 3.0 mcp_create_source │ │ │ └── MCPCreateSourceClient.js │ │ ├── 3.1 mcp_get_source │ │ │ └── MCPGetSourceClient.js │ │ ├── 3.2 mcp_list_sources │ │ │ └── MCPListSourcesClient.js │ │ ├── 3.3 mcp_edit_source │ │ │ └── MCPEditSourceClient.js │ │ ├── 3.4 mcp_delete_source │ │ │ └── MCPDeleteSourceClient.js │ │ ├── 4.0 mcp_list_groups │ │ │ └── MCPListGroupsClient.js │ │ ├── 4.1 mcp_store_group │ │ │ └── MCPStoreGroupClient.js │ │ ├── 4.2 mcp_delete_group │ │ │ └── MCPDeleteGroupClient.js │ │ ├── 5.0 mcp_store_user │ │ │ └── MCPStoreUserClient.js │ │ ├── 5.1 mcp_edit_user │ │ │ └── MCPEditUserClient.js │ │ ├── 5.2 mcp_delete_user │ │ │ └── MCPDeleteUserClient.js │ │ ├── 9.0 mcp_keygen │ │ │ └── MCPKeygenClient.js │ │ └── README.md │ ├── PHP │ │ ├── 1.0 mcp_login │ │ │ └── MCPLoginClient.php │ │ ├── 1.1 mcp_logout │ │ │ └── MCPLogoutClient.php │ │ ├── 2.0 mcp_chat │ │ │ └── MCPChatClient.php │ │ ├── 2.1 mcp_continue_chat │ │ │ └── MCPContinueChatClient.php │ │ ├── 2.2 mcp_get_chat_info │ │ │ └── MCPGetChatInfoClient.php │ │ ├── 3.0 mcp_create_source │ │ │ └── MCPCreateSourceClient.php │ │ ├── 3.1 mcp_get_source │ │ │ └── MCPGetSourceClient.php │ │ ├── 3.2 mcp_list_sources │ │ │ └── MCPListSourcesClient.php │ │ ├── 3.3 mcp_edit_source │ │ │ └── MCPEditSourceClient.php │ │ ├── 3.4 mcp_delete_source │ │ │ └── MCPDeleteSourceClient.php │ │ ├── 4.0 mcp_list_groups │ │ │ └── MCPListGroupsClient.php │ │ ├── 4.1 mcp_store_group │ │ │ └── MCPStoreGroupClient.php │ │ ├── 4.2 mcp_delete_group │ │ │ └── MCPDeleteGroupClient.php │ │ ├── 5.0 mcp_store_user │ │ │ └── MCPStoreUserClient.php │ │ ├── 5.1 mcp_edit_user │ │ │ └── MCPEditUserClient.php │ │ ├── 5.2 mcp_delete_user │ │ │ └── MCPDeleteUserClient.php │ │ ├── 9.0 mcp_keygen │ │ │ └── MCPKeygenClient.php │ │ └── README.md │ └── Python │ ├── __init__.py │ ├── 1.0 mcp_login │ │ └── MCPLoginClient.py │ ├── 1.1 mcp_logout │ │ └── MCPLogoutClient.py │ ├── 2.0 mcp_chat │ │ └── MCPChatClient.py │ ├── 2.1 mcp_continue_chat │ │ └── MCPContinueChatClient.py │ ├── 2.2 mcp_get_chat_info │ │ └── MCPGetChatInfoClient.py │ ├── 2.3 mcp_delete_all_chats │ │ └── MCPDeleteAllChatsClient.py │ ├── 2.4 mcp_delete_chat │ │ └── MCPDeleteChatClient.py │ ├── 3.0 mcp_create_source │ │ └── MCPCreateSourceClient.py │ ├── 3.1 mcp_get_source │ │ └── MCPGetSourceClient.py │ ├── 3.2 mcp_list_sources │ │ └── MCPListSourcesClient.py │ ├── 3.3 mcp_edit_source │ │ └── MCPEditSourceClient.py │ ├── 3.4 mcp_delete_source │ │ └── MCPDeleteSourceClient.py │ ├── 4.0 mcp_list_groups │ │ └── MCPListGroupsClient.py │ ├── 4.1 mcp_store_group │ │ └── MCPStoreGroupClient.py │ ├── 4.2 mcp_delete_group │ │ └── MCPDeleteGroupClient.py │ ├── 5.0 mcp_store_user │ │ └── MCPStoreUserClient.py │ ├── 5.1 mcp_edit_user │ │ └── MCPEditUserClient.py │ ├── 5.2 mcp_delete_user │ │ └── MCPDeleteUserClient.py │ ├── 9.0 mcp_keygen │ │ └── MCPKeygenClient.py │ ├── Gradio │ │ ├── __init__.py │ │ └── server_config.json │ └── README.md ├── examples │ ├── create_users_from_csv │ │ ├── config.json.example │ │ ├── config.py │ │ ├── create_users_from_csv.py │ │ └── language.py │ ├── dynamic_sources │ │ └── rss_reader │ │ ├── Api.py │ │ ├── config.json.example │ │ ├── config.py │ │ ├── demo_dynamic_sources.py │ │ └── rss_parser.py │ ├── example_users_to_add_no_tz.csv │ └── sftp_upload_with_id │ ├── Api.py │ ├── config_ftp.json.example │ ├── config.py │ ├── demo_upload.py │ ├── language.py │ └── requirements.txt ├── images │ ├── alternative mcp client.png │ ├── favicon │ │ ├── android-chrome-192x192.png │ │ ├── android-chrome-512x512.png │ │ ├── apple-touch-icon.png │ │ ├── favicon-16x16.png │ │ ├── favicon-32x32.png │ │ ├── favicon.ico │ │ └── site.webmanifest │ ├── mcp-general-architecture.png │ ├── privateGPT-MCP.png │ └── privateGPT.png ├── InstallMPCServer.sh ├── jest.config.js ├── LICENSE ├── package.json ├── pgpt.env.json.example ├── README.md ├── security │ ├── generate_decrypted_password.js │ └── generate_encrypted_password.js ├── src │ ├── helper.js │ ├── index.js │ ├── logger.js │ ├── pgpt-messages.js │ ├── public │ │ ├── index.html │ │ └── pgpt-mcp-logo.png │ ├── services │ │ └── pgpt-service.ts │ └── types │ └── api.ts ├── start_chatbot_agent.ps1 ├── start_chatbot_agent.sh ├── start_iot_agent.ps1 ├── start_iot_agent.sh ├── start_openai_compatible_api_agent.ps1 ├── start_openai_compatible_api_agent.sh ├── tsconfig.json ├── ver │ ├── index_np.js │ └── index_proxy_np.js └── WORKLOG.md ``` # Files -------------------------------------------------------------------------------- /clients/C# .Net/4.1 mcp_store_group/obj/Debug/net9.0/mcp_store_group.GeneratedMSBuildEditorConfig.editorconfig: -------------------------------------------------------------------------------- ``` is_global = true build_property.TargetFramework = net9.0 build_property.TargetPlatformMinVersion = build_property.UsingMicrosoftNETSdkWeb = build_property.ProjectTypeGuids = build_property.InvariantGlobalization = build_property.PlatformNeutralAssembly = build_property.EnforceExtendedAnalyzerRules = build_property._SupportedPlatformList = Linux,macOS,Windows build_property.RootNamespace = mcp_store_group build_property.ProjectDir = c:\Users\uwuertz\Documents\GitHub\MCP-Server-for-MAS-Developments\clients\C# .Net\4.1 mcp_store_group\ build_property.EnableComHosting = build_property.EnableGeneratedComInterfaceComImportInterop = build_property.EffectiveAnalysisLevelStyle = 9.0 build_property.EnableCodeStyleSeverity = ``` -------------------------------------------------------------------------------- /clients/C# .Net/5.2 mcp_delete_user/obj/Debug/net9.0/mcp_delete_user.GeneratedMSBuildEditorConfig.editorconfig: -------------------------------------------------------------------------------- ``` is_global = true build_property.TargetFramework = net9.0 build_property.TargetPlatformMinVersion = build_property.UsingMicrosoftNETSdkWeb = build_property.ProjectTypeGuids = build_property.InvariantGlobalization = build_property.PlatformNeutralAssembly = build_property.EnforceExtendedAnalyzerRules = build_property._SupportedPlatformList = Linux,macOS,Windows build_property.RootNamespace = mcp_delete_user build_property.ProjectDir = c:\Users\uwuertz\Documents\GitHub\MCP-Server-for-MAS-Developments\clients\C# .Net\5.2 mcp_delete_user\ build_property.EnableComHosting = build_property.EnableGeneratedComInterfaceComImportInterop = build_property.EffectiveAnalysisLevelStyle = 9.0 build_property.EnableCodeStyleSeverity = ``` -------------------------------------------------------------------------------- /clients/Gradio/mcp_servers/demo-mcp-server/tools/assets.js: -------------------------------------------------------------------------------- ```javascript export{ bitcoin, gold } process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0'; //The actual tool function async function bitcoin(args){ const apiUrl = 'https://mempool.space/api/v1/prices' const json = await fetch(apiUrl) .then(response => response.json()); //console.log(json); var result = JSON.stringify(json) return { content: [{ type: "text", text: `${result}` }], }; } async function gold(args){ const apiUrl = 'https://api.gold-api.com/price/XAU' const json = await fetch(apiUrl) .then(response => response.json()); //console.log(json); var result = json.price.toFixed(2) + " USD" return { content: [{ type: "text", text: `${result}` }], }; } ``` -------------------------------------------------------------------------------- /clients/C# .Net/3.2 mcp_list_sources/obj/Debug/net9.0/mcp_list_sources.GeneratedMSBuildEditorConfig.editorconfig: -------------------------------------------------------------------------------- ``` is_global = true build_property.TargetFramework = net9.0 build_property.TargetPlatformMinVersion = build_property.UsingMicrosoftNETSdkWeb = build_property.ProjectTypeGuids = build_property.InvariantGlobalization = build_property.PlatformNeutralAssembly = build_property.EnforceExtendedAnalyzerRules = build_property._SupportedPlatformList = Linux,macOS,Windows build_property.RootNamespace = mcp_list_sources build_property.ProjectDir = c:\Users\uwuertz\Documents\GitHub\MCP-Server-for-MAS-Developments\clients\C# .Net\3.2 mcp_list_sources\ build_property.EnableComHosting = build_property.EnableGeneratedComInterfaceComImportInterop = build_property.EffectiveAnalysisLevelStyle = 9.0 build_property.EnableCodeStyleSeverity = ``` -------------------------------------------------------------------------------- /clients/C# .Net/4.2 mcp_delete_group/obj/Debug/net9.0/mcp_delete_group.GeneratedMSBuildEditorConfig.editorconfig: -------------------------------------------------------------------------------- ``` is_global = true build_property.TargetFramework = net9.0 build_property.TargetPlatformMinVersion = build_property.UsingMicrosoftNETSdkWeb = build_property.ProjectTypeGuids = build_property.InvariantGlobalization = build_property.PlatformNeutralAssembly = build_property.EnforceExtendedAnalyzerRules = build_property._SupportedPlatformList = Linux,macOS,Windows build_property.RootNamespace = mcp_delete_group build_property.ProjectDir = c:\Users\uwuertz\Documents\GitHub\MCP-Server-for-MAS-Developments\clients\C# .Net\4.2 mcp_delete_group\ build_property.EnableComHosting = build_property.EnableGeneratedComInterfaceComImportInterop = build_property.EffectiveAnalysisLevelStyle = 9.0 build_property.EnableCodeStyleSeverity = ``` -------------------------------------------------------------------------------- /clients/C# .Net/2.1 mcp_continue_chat/obj/Debug/net9.0/mcp_continue_chat.GeneratedMSBuildEditorConfig.editorconfig: -------------------------------------------------------------------------------- ``` is_global = true build_property.TargetFramework = net9.0 build_property.TargetPlatformMinVersion = build_property.UsingMicrosoftNETSdkWeb = build_property.ProjectTypeGuids = build_property.InvariantGlobalization = build_property.PlatformNeutralAssembly = build_property.EnforceExtendedAnalyzerRules = build_property._SupportedPlatformList = Linux,macOS,Windows build_property.RootNamespace = mcp_continue_chat build_property.ProjectDir = c:\Users\uwuertz\Documents\GitHub\MCP-Server-for-MAS-Developments\clients\C# .Net\2.1 mcp_continue_chat\ build_property.EnableComHosting = build_property.EnableGeneratedComInterfaceComImportInterop = build_property.EffectiveAnalysisLevelStyle = 9.0 build_property.EnableCodeStyleSeverity = ``` -------------------------------------------------------------------------------- /clients/C# .Net/2.2 mcp_get_chat_info/obj/Debug/net9.0/mcp_get_chat_info.GeneratedMSBuildEditorConfig.editorconfig: -------------------------------------------------------------------------------- ``` is_global = true build_property.TargetFramework = net9.0 build_property.TargetPlatformMinVersion = build_property.UsingMicrosoftNETSdkWeb = build_property.ProjectTypeGuids = build_property.InvariantGlobalization = build_property.PlatformNeutralAssembly = build_property.EnforceExtendedAnalyzerRules = build_property._SupportedPlatformList = Linux,macOS,Windows build_property.RootNamespace = mcp_get_chat_info build_property.ProjectDir = c:\Users\uwuertz\Documents\GitHub\MCP-Server-for-MAS-Developments\clients\C# .Net\2.2 mcp_get_chat_info\ build_property.EnableComHosting = build_property.EnableGeneratedComInterfaceComImportInterop = build_property.EffectiveAnalysisLevelStyle = 9.0 build_property.EnableCodeStyleSeverity = ``` -------------------------------------------------------------------------------- /clients/C# .Net/3.0 mcp_create_source/obj/Debug/net9.0/mcp_create_source.GeneratedMSBuildEditorConfig.editorconfig: -------------------------------------------------------------------------------- ``` is_global = true build_property.TargetFramework = net9.0 build_property.TargetPlatformMinVersion = build_property.UsingMicrosoftNETSdkWeb = build_property.ProjectTypeGuids = build_property.InvariantGlobalization = build_property.PlatformNeutralAssembly = build_property.EnforceExtendedAnalyzerRules = build_property._SupportedPlatformList = Linux,macOS,Windows build_property.RootNamespace = mcp_create_source build_property.ProjectDir = c:\Users\uwuertz\Documents\GitHub\MCP-Server-for-MAS-Developments\clients\C# .Net\3.0 mcp_create_source\ build_property.EnableComHosting = build_property.EnableGeneratedComInterfaceComImportInterop = build_property.EffectiveAnalysisLevelStyle = 9.0 build_property.EnableCodeStyleSeverity = ``` -------------------------------------------------------------------------------- /clients/C# .Net/3.4 mcp_delete_source/obj/Debug/net9.0/mcp_delete_source.GeneratedMSBuildEditorConfig.editorconfig: -------------------------------------------------------------------------------- ``` is_global = true build_property.TargetFramework = net9.0 build_property.TargetPlatformMinVersion = build_property.UsingMicrosoftNETSdkWeb = build_property.ProjectTypeGuids = build_property.InvariantGlobalization = build_property.PlatformNeutralAssembly = build_property.EnforceExtendedAnalyzerRules = build_property._SupportedPlatformList = Linux,macOS,Windows build_property.RootNamespace = mcp_delete_source build_property.ProjectDir = c:\Users\uwuertz\Documents\GitHub\MCP-Server-for-MAS-Developments\clients\C# .Net\3.4 mcp_delete_source\ build_property.EnableComHosting = build_property.EnableGeneratedComInterfaceComImportInterop = build_property.EffectiveAnalysisLevelStyle = 9.0 build_property.EnableCodeStyleSeverity = ``` -------------------------------------------------------------------------------- /agents/MCP-Client/Python/messages/send_call_tool.py: -------------------------------------------------------------------------------- ```python # mcpcli/messages/tools.py from anyio.streams.memory import MemoryObjectReceiveStream, MemoryObjectSendStream from .send_message import send_message from .message_types.tools_messages import CallToolMessage async def send_call_tool( tool_name: str, arguments: dict, read_stream: MemoryObjectReceiveStream, write_stream: MemoryObjectSendStream, ) -> dict: # create the message message = CallToolMessage(tool_name=tool_name, arguments=arguments) try: # send the message response = await send_message( read_stream=read_stream, write_stream=write_stream, message=message, ) # get the result return response.get("result", {}) except Exception as e: return {"isError": True, "error": str(e)} ``` -------------------------------------------------------------------------------- /clients/Gradio/messages/send_call_tool.py: -------------------------------------------------------------------------------- ```python # mcpcli/messages/tools.py from anyio.streams.memory import MemoryObjectReceiveStream, MemoryObjectSendStream from .send_message import send_message from .message_types.tools_messages import CallToolMessage async def send_call_tool( tool_name: str, arguments: dict, read_stream: MemoryObjectReceiveStream, write_stream: MemoryObjectSendStream, ) -> dict: # create the message message = CallToolMessage(tool_name=tool_name, arguments=arguments) try: # send the message response = await send_message( read_stream=read_stream, write_stream=write_stream, message=message, ) # get the result return response.get("result", {}) except Exception as e: return {"isError": True, "error": str(e)} ``` -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- ```json { "compilerOptions": { "target": "ES2022", "module": "NodeNext", "moduleResolution": "NodeNext", "lib": ["ES2022"], "outDir": "./dist", "rootDir": "./src", "strict": true, "esModuleInterop": true, "skipLibCheck": true, "forceConsistentCasingInFileNames": true, "resolveJsonModule": true, "declaration": true, "declarationMap": true, "sourceMap": true, "removeComments": false, "allowSyntheticDefaultImports": true, "isolatedModules": true, "allowJs": true, // Diese Zeile ermöglicht das Kompilieren von `.js`-Dateien "baseUrl": ".", "paths": { "@modelcontextprotocol/sdk": ["node_modules/@modelcontextprotocol/sdk"] } }, "include": ["src/**/*.js"], "exclude": ["node_modules", "dist", "tests", "**/*.test.ts"] } ``` -------------------------------------------------------------------------------- /agents/MCP-Client/Python/environment.py: -------------------------------------------------------------------------------- ```python # environment.py import os import sys # Default environment variables to inherit DEFAULT_INHERITED_ENV_VARS = ( ["HOME", "LOGNAME", "PATH", "SHELL", "TERM", "USER"] if sys.platform != "win32" else [ "APPDATA", "HOMEDRIVE", "HOMEPATH", "LOCALAPPDATA", "PATH", "PROCESSOR_ARCHITECTURE", "SYSTEMDRIVE", "SYSTEMROOT", "TEMP", "USERNAME", "USERPROFILE", ] ) def get_default_environment() -> dict[str, str]: """ Retrieve a dictionary of default environment variables to inherit. """ # get the current environment env = { key: value for key in DEFAULT_INHERITED_ENV_VARS if (value := os.environ.get(key)) and not value.startswith("()") } # return the dictionary return env ``` -------------------------------------------------------------------------------- /agents/OpenAI_Compatible_API_Agent/Python/generate_api_key.py: -------------------------------------------------------------------------------- ```python import argparse import base64 def encrypt_api_key(login, password): """ This is PoC code and methods should be replaced with a more secure way to deal with credentials (e.g. in a db) """ login = login + ":" + password sample_string_bytes = login.encode("ascii") base64_bytes = base64.b64encode(sample_string_bytes) api_key = base64_bytes.decode("ascii") # Print the result so the user can copy the key print("Your API key is: " + api_key) if __name__ == "__main__": parser = argparse.ArgumentParser(description="Login to MCP server and retrieve a token.") parser.add_argument("--email", required=True, help="Email address for login") parser.add_argument("--password", required=True, help="Password for login") args = parser.parse_args() encrypt_api_key(args.email, args.password) ``` -------------------------------------------------------------------------------- /clients/Gradio/server_config.json: -------------------------------------------------------------------------------- ```json { "mcpServers": { "demo-tools": { "command": "node", "args": [ "clients/Gradio/mcp_servers/demo-mcp-server/demo-tools-stdio.js" ] }, "filesystem": { "command": "node", "args": [ "clients/Gradio/mcp_servers/filesystem/dist/index.js", "clients/Gradio/mcp_servers/filesystem/test" ] }, "fetch": { "command": "uvx", "args": ["mcp-server-fetch"] }, "arxiv": { "command": "node", "args": [ "clients/Gradio/mcp_servers/arxiv/arxiv-stdio.js" ] }, "sqlite": { "command": "uv", "args": [ "--directory", "clients/Gradio/mcp_servers/sqlite", "run", "mcp-server-sqlite", "--db-path", "test.db" ] } } } ``` -------------------------------------------------------------------------------- /clients/Gradio/mcp_servers/filesystem/package.json: -------------------------------------------------------------------------------- ```json { "name": "@modelcontextprotocol/server-filesystem", "version": "0.6.2", "description": "MCP server for filesystem access", "license": "MIT", "author": "Anthropic, PBC (https://anthropic.com)", "homepage": "https://modelcontextprotocol.io", "bugs": "https://github.com/modelcontextprotocol/servers/issues", "type": "module", "bin": { "mcp-server-filesystem": "dist/index.js" }, "files": [ "dist" ], "scripts": { "build": "tsc && shx chmod +x dist/*.js", "prepare": "npm run build", "watch": "tsc --watch" }, "dependencies": { "@modelcontextprotocol/sdk": "0.5.0", "diff": "^5.1.0", "glob": "^10.3.10", "minimatch": "^10.0.1", "zod-to-json-schema": "^3.23.5" }, "devDependencies": { "@types/diff": "^5.0.9", "@types/minimatch": "^5.1.2", "@types/node": "^22", "shx": "^0.3.4", "typescript": "^5.3.3" } } ``` -------------------------------------------------------------------------------- /agents/MCP-Client/Python/messages/message_types/tools_messages.py: -------------------------------------------------------------------------------- ```python # messages/message_types/tools_messages.py from ...messages.message_types.incrementing_id_message import IncrementingIDMessage from ...messages.message_types.json_rpc_message import JSONRPCMessage class ToolsListMessage(IncrementingIDMessage): def __init__(self, start_id: int = None, **kwargs): super().__init__(prefix="tools-list", method="tools/list", start_id=start_id, **kwargs) class CallToolMessage(IncrementingIDMessage): def __init__(self, tool_name: str, arguments: dict, start_id: int = None, **kwargs): super().__init__(prefix="tools-call", method="tools/call", start_id=start_id, params={"name": tool_name, "arguments": arguments}, **kwargs) class ToolsListChangedMessage(JSONRPCMessage): def __init__(self, **kwargs): # A notification has no 'id' field. super().__init__(method="notifications/tools/list_changed", id=None, **kwargs) ``` -------------------------------------------------------------------------------- /clients/Gradio/messages/message_types/tools_messages.py: -------------------------------------------------------------------------------- ```python # messages/message_types/tools_messages.py from ...messages.message_types.incrementing_id_message import IncrementingIDMessage from ...messages.message_types.json_rpc_message import JSONRPCMessage class ToolsListMessage(IncrementingIDMessage): def __init__(self, start_id: int = None, **kwargs): super().__init__(prefix="tools-list", method="tools/list", start_id=start_id, **kwargs) class CallToolMessage(IncrementingIDMessage): def __init__(self, tool_name: str, arguments: dict, start_id: int = None, **kwargs): super().__init__(prefix="tools-call", method="tools/call", start_id=start_id, params={"name": tool_name, "arguments": arguments}, **kwargs) class ToolsListChangedMessage(JSONRPCMessage): def __init__(self, **kwargs): # A notification has no 'id' field. super().__init__(method="notifications/tools/list_changed", id=None, **kwargs) ``` -------------------------------------------------------------------------------- /clients/Gradio/mcp_servers/arxiv/arxiv-stdio.js: -------------------------------------------------------------------------------- ```javascript #!/usr/bin/env node const { spawn } = require('child_process'); const { createInterface } = require('readline'); // Spawn the Python process const pythonProcess = spawn('arxiv-mcp-server', [], { stdio: ['pipe', 'pipe', 'pipe'] }); // Set up readline interface for stdin const rl = createInterface({ input: process.stdin, output: process.stdout, terminal: false }); // Forward stdin to the Python process rl.on('line', (line) => { pythonProcess.stdin.write(line + '\n'); }); // Forward stdout from the Python process pythonProcess.stdout.on('data', (data) => { process.stdout.write(data); }); // Forward stderr from the Python process pythonProcess.stderr.on('data', (data) => { console.error(`stderr: ${data}`); }); // Handle process exit pythonProcess.on('close', (code) => { console.error(`child process exited with code ${code}`); process.exit(code); }); // Handle SIGINT (Ctrl+C) process.on('SIGINT', () => { pythonProcess.kill('SIGINT'); }); ``` -------------------------------------------------------------------------------- /clients/C# .Net/2.0 mcp_chat/obj/Debug/net9.0/mcp_chat.AssemblyInfo.cs: -------------------------------------------------------------------------------- ```csharp //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ using System; using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("mcp_chat")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+481fa257a072fa2f1905104b08adab35c63b06f1")] [assembly: System.Reflection.AssemblyProductAttribute("mcp_chat")] [assembly: System.Reflection.AssemblyTitleAttribute("mcp_chat")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] // Generated by the MSBuild WriteCodeFragment class. ``` -------------------------------------------------------------------------------- /clients/C# .Net/1.0 mcp_login/obj/Debug/net9.0/mcp_login.AssemblyInfo.cs: -------------------------------------------------------------------------------- ```csharp //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ using System; using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("mcp_login")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+481fa257a072fa2f1905104b08adab35c63b06f1")] [assembly: System.Reflection.AssemblyProductAttribute("mcp_login")] [assembly: System.Reflection.AssemblyTitleAttribute("mcp_login")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] // Generated by the MSBuild WriteCodeFragment class. ``` -------------------------------------------------------------------------------- /clients/C# .Net/1.1 mcp_logout/obj/Debug/net9.0/mcp_logout.AssemblyInfo.cs: -------------------------------------------------------------------------------- ```csharp //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ using System; using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("mcp_logout")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+481fa257a072fa2f1905104b08adab35c63b06f1")] [assembly: System.Reflection.AssemblyProductAttribute("mcp_logout")] [assembly: System.Reflection.AssemblyTitleAttribute("mcp_logout")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] // Generated by the MSBuild WriteCodeFragment class. ``` -------------------------------------------------------------------------------- /clients/C# .Net/2.0 mcp_chat/bin/Debug/net9.0/mcp_chat.deps.json: -------------------------------------------------------------------------------- ```json { "runtimeTarget": { "name": ".NETCoreApp,Version=v9.0", "signature": "" }, "compilationOptions": {}, "targets": { ".NETCoreApp,Version=v9.0": { "mcp_chat/1.0.0": { "dependencies": { "Newtonsoft.Json": "13.0.3" }, "runtime": { "mcp_chat.dll": {} } }, "Newtonsoft.Json/13.0.3": { "runtime": { "lib/net6.0/Newtonsoft.Json.dll": { "assemblyVersion": "13.0.0.0", "fileVersion": "13.0.3.27908" } } } } }, "libraries": { "mcp_chat/1.0.0": { "type": "project", "serviceable": false, "sha512": "" }, "Newtonsoft.Json/13.0.3": { "type": "package", "serviceable": true, "sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==", "path": "newtonsoft.json/13.0.3", "hashPath": "newtonsoft.json.13.0.3.nupkg.sha512" } } } ``` -------------------------------------------------------------------------------- /clients/C# .Net/1.0 mcp_login/bin/Debug/net9.0/mcp_login.deps.json: -------------------------------------------------------------------------------- ```json { "runtimeTarget": { "name": ".NETCoreApp,Version=v9.0", "signature": "" }, "compilationOptions": {}, "targets": { ".NETCoreApp,Version=v9.0": { "mcp_login/1.0.0": { "dependencies": { "Newtonsoft.Json": "13.0.3" }, "runtime": { "mcp_login.dll": {} } }, "Newtonsoft.Json/13.0.3": { "runtime": { "lib/net6.0/Newtonsoft.Json.dll": { "assemblyVersion": "13.0.0.0", "fileVersion": "13.0.3.27908" } } } } }, "libraries": { "mcp_login/1.0.0": { "type": "project", "serviceable": false, "sha512": "" }, "Newtonsoft.Json/13.0.3": { "type": "package", "serviceable": true, "sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==", "path": "newtonsoft.json/13.0.3", "hashPath": "newtonsoft.json.13.0.3.nupkg.sha512" } } } ``` -------------------------------------------------------------------------------- /clients/C# .Net/5.1 mcp_edit_user/obj/Debug/net9.0/mcp_edit_user.AssemblyInfo.cs: -------------------------------------------------------------------------------- ```csharp //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ using System; using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("mcp_edit_user")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+481fa257a072fa2f1905104b08adab35c63b06f1")] [assembly: System.Reflection.AssemblyProductAttribute("mcp_edit_user")] [assembly: System.Reflection.AssemblyTitleAttribute("mcp_edit_user")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] // Generated by the MSBuild WriteCodeFragment class. ``` -------------------------------------------------------------------------------- /clients/C# .Net/1.1 mcp_logout/bin/Debug/net9.0/mcp_logout.deps.json: -------------------------------------------------------------------------------- ```json { "runtimeTarget": { "name": ".NETCoreApp,Version=v9.0", "signature": "" }, "compilationOptions": {}, "targets": { ".NETCoreApp,Version=v9.0": { "mcp_logout/1.0.0": { "dependencies": { "Newtonsoft.Json": "13.0.3" }, "runtime": { "mcp_logout.dll": {} } }, "Newtonsoft.Json/13.0.3": { "runtime": { "lib/net6.0/Newtonsoft.Json.dll": { "assemblyVersion": "13.0.0.0", "fileVersion": "13.0.3.27908" } } } } }, "libraries": { "mcp_logout/1.0.0": { "type": "project", "serviceable": false, "sha512": "" }, "Newtonsoft.Json/13.0.3": { "type": "package", "serviceable": true, "sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==", "path": "newtonsoft.json/13.0.3", "hashPath": "newtonsoft.json.13.0.3.nupkg.sha512" } } } ``` -------------------------------------------------------------------------------- /clients/C# .Net/3.1 mcp_get_source/obj/Debug/net9.0/mcp_get_source.AssemblyInfo.cs: -------------------------------------------------------------------------------- ```csharp //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ using System; using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("mcp_get_source")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+481fa257a072fa2f1905104b08adab35c63b06f1")] [assembly: System.Reflection.AssemblyProductAttribute("mcp_get_source")] [assembly: System.Reflection.AssemblyTitleAttribute("mcp_get_source")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] // Generated by the MSBuild WriteCodeFragment class. ``` -------------------------------------------------------------------------------- /clients/C# .Net/5.0 mcp_store_user/obj/Debug/net9.0/mcp_store_user.AssemblyInfo.cs: -------------------------------------------------------------------------------- ```csharp //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ using System; using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("mcp_store_user")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+481fa257a072fa2f1905104b08adab35c63b06f1")] [assembly: System.Reflection.AssemblyProductAttribute("mcp_store_user")] [assembly: System.Reflection.AssemblyTitleAttribute("mcp_store_user")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] // Generated by the MSBuild WriteCodeFragment class. ``` -------------------------------------------------------------------------------- /clients/C# .Net/3.3 mcp_edit_source/obj/Debug/net9.0/mcp_edit_source.AssemblyInfo.cs: -------------------------------------------------------------------------------- ```csharp //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ using System; using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("mcp_edit_source")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+481fa257a072fa2f1905104b08adab35c63b06f1")] [assembly: System.Reflection.AssemblyProductAttribute("mcp_edit_source")] [assembly: System.Reflection.AssemblyTitleAttribute("mcp_edit_source")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] // Generated by the MSBuild WriteCodeFragment class. ``` -------------------------------------------------------------------------------- /clients/C# .Net/4.0 mcp_list_groups/obj/Debug/net9.0/mcp_list_groups.AssemblyInfo.cs: -------------------------------------------------------------------------------- ```csharp //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ using System; using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("mcp_list_groups")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+481fa257a072fa2f1905104b08adab35c63b06f1")] [assembly: System.Reflection.AssemblyProductAttribute("mcp_list_groups")] [assembly: System.Reflection.AssemblyTitleAttribute("mcp_list_groups")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] // Generated by the MSBuild WriteCodeFragment class. ``` -------------------------------------------------------------------------------- /clients/C# .Net/4.1 mcp_store_group/obj/Debug/net9.0/mcp_store_group.AssemblyInfo.cs: -------------------------------------------------------------------------------- ```csharp //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ using System; using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("mcp_store_group")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+481fa257a072fa2f1905104b08adab35c63b06f1")] [assembly: System.Reflection.AssemblyProductAttribute("mcp_store_group")] [assembly: System.Reflection.AssemblyTitleAttribute("mcp_store_group")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] // Generated by the MSBuild WriteCodeFragment class. ``` -------------------------------------------------------------------------------- /clients/C# .Net/5.2 mcp_delete_user/obj/Debug/net9.0/mcp_delete_user.AssemblyInfo.cs: -------------------------------------------------------------------------------- ```csharp //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ using System; using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("mcp_delete_user")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+481fa257a072fa2f1905104b08adab35c63b06f1")] [assembly: System.Reflection.AssemblyProductAttribute("mcp_delete_user")] [assembly: System.Reflection.AssemblyTitleAttribute("mcp_delete_user")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] // Generated by the MSBuild WriteCodeFragment class. ``` -------------------------------------------------------------------------------- /clients/C# .Net/3.2 mcp_list_sources/obj/Debug/net9.0/mcp_list_sources.AssemblyInfo.cs: -------------------------------------------------------------------------------- ```csharp //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ using System; using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("mcp_list_sources")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+481fa257a072fa2f1905104b08adab35c63b06f1")] [assembly: System.Reflection.AssemblyProductAttribute("mcp_list_sources")] [assembly: System.Reflection.AssemblyTitleAttribute("mcp_list_sources")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] // Generated by the MSBuild WriteCodeFragment class. ``` -------------------------------------------------------------------------------- /clients/C# .Net/4.2 mcp_delete_group/obj/Debug/net9.0/mcp_delete_group.AssemblyInfo.cs: -------------------------------------------------------------------------------- ```csharp //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ using System; using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("mcp_delete_group")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+481fa257a072fa2f1905104b08adab35c63b06f1")] [assembly: System.Reflection.AssemblyProductAttribute("mcp_delete_group")] [assembly: System.Reflection.AssemblyTitleAttribute("mcp_delete_group")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] // Generated by the MSBuild WriteCodeFragment class. ``` -------------------------------------------------------------------------------- /clients/C# .Net/2.1 mcp_continue_chat/obj/Debug/net9.0/mcp_continue_chat.AssemblyInfo.cs: -------------------------------------------------------------------------------- ```csharp //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ using System; using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("mcp_continue_chat")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+481fa257a072fa2f1905104b08adab35c63b06f1")] [assembly: System.Reflection.AssemblyProductAttribute("mcp_continue_chat")] [assembly: System.Reflection.AssemblyTitleAttribute("mcp_continue_chat")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] // Generated by the MSBuild WriteCodeFragment class. ``` -------------------------------------------------------------------------------- /clients/C# .Net/2.2 mcp_get_chat_info/obj/Debug/net9.0/mcp_get_chat_info.AssemblyInfo.cs: -------------------------------------------------------------------------------- ```csharp //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ using System; using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("mcp_get_chat_info")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+481fa257a072fa2f1905104b08adab35c63b06f1")] [assembly: System.Reflection.AssemblyProductAttribute("mcp_get_chat_info")] [assembly: System.Reflection.AssemblyTitleAttribute("mcp_get_chat_info")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] // Generated by the MSBuild WriteCodeFragment class. ``` -------------------------------------------------------------------------------- /clients/C# .Net/3.0 mcp_create_source/obj/Debug/net9.0/mcp_create_source.AssemblyInfo.cs: -------------------------------------------------------------------------------- ```csharp //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ using System; using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("mcp_create_source")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+481fa257a072fa2f1905104b08adab35c63b06f1")] [assembly: System.Reflection.AssemblyProductAttribute("mcp_create_source")] [assembly: System.Reflection.AssemblyTitleAttribute("mcp_create_source")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] // Generated by the MSBuild WriteCodeFragment class. ``` -------------------------------------------------------------------------------- /clients/C# .Net/3.4 mcp_delete_source/obj/Debug/net9.0/mcp_delete_source.AssemblyInfo.cs: -------------------------------------------------------------------------------- ```csharp //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ using System; using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("mcp_delete_source")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+481fa257a072fa2f1905104b08adab35c63b06f1")] [assembly: System.Reflection.AssemblyProductAttribute("mcp_delete_source")] [assembly: System.Reflection.AssemblyTitleAttribute("mcp_delete_source")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] // Generated by the MSBuild WriteCodeFragment class. ``` -------------------------------------------------------------------------------- /clients/C# .Net/5.1 mcp_edit_user/bin/Debug/net9.0/mcp_edit_user.deps.json: -------------------------------------------------------------------------------- ```json { "runtimeTarget": { "name": ".NETCoreApp,Version=v9.0", "signature": "" }, "compilationOptions": {}, "targets": { ".NETCoreApp,Version=v9.0": { "mcp_edit_user/1.0.0": { "dependencies": { "Newtonsoft.Json": "13.0.3" }, "runtime": { "mcp_edit_user.dll": {} } }, "Newtonsoft.Json/13.0.3": { "runtime": { "lib/net6.0/Newtonsoft.Json.dll": { "assemblyVersion": "13.0.0.0", "fileVersion": "13.0.3.27908" } } } } }, "libraries": { "mcp_edit_user/1.0.0": { "type": "project", "serviceable": false, "sha512": "" }, "Newtonsoft.Json/13.0.3": { "type": "package", "serviceable": true, "sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==", "path": "newtonsoft.json/13.0.3", "hashPath": "newtonsoft.json.13.0.3.nupkg.sha512" } } } ``` -------------------------------------------------------------------------------- /clients/C# .Net/3.1 mcp_get_source/bin/Debug/net9.0/mcp_get_source.deps.json: -------------------------------------------------------------------------------- ```json { "runtimeTarget": { "name": ".NETCoreApp,Version=v9.0", "signature": "" }, "compilationOptions": {}, "targets": { ".NETCoreApp,Version=v9.0": { "mcp_get_source/1.0.0": { "dependencies": { "Newtonsoft.Json": "13.0.3" }, "runtime": { "mcp_get_source.dll": {} } }, "Newtonsoft.Json/13.0.3": { "runtime": { "lib/net6.0/Newtonsoft.Json.dll": { "assemblyVersion": "13.0.0.0", "fileVersion": "13.0.3.27908" } } } } }, "libraries": { "mcp_get_source/1.0.0": { "type": "project", "serviceable": false, "sha512": "" }, "Newtonsoft.Json/13.0.3": { "type": "package", "serviceable": true, "sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==", "path": "newtonsoft.json/13.0.3", "hashPath": "newtonsoft.json.13.0.3.nupkg.sha512" } } } ``` -------------------------------------------------------------------------------- /clients/C# .Net/5.0 mcp_store_user/bin/Debug/net9.0/mcp_store_user.deps.json: -------------------------------------------------------------------------------- ```json { "runtimeTarget": { "name": ".NETCoreApp,Version=v9.0", "signature": "" }, "compilationOptions": {}, "targets": { ".NETCoreApp,Version=v9.0": { "mcp_store_user/1.0.0": { "dependencies": { "Newtonsoft.Json": "13.0.3" }, "runtime": { "mcp_store_user.dll": {} } }, "Newtonsoft.Json/13.0.3": { "runtime": { "lib/net6.0/Newtonsoft.Json.dll": { "assemblyVersion": "13.0.0.0", "fileVersion": "13.0.3.27908" } } } } }, "libraries": { "mcp_store_user/1.0.0": { "type": "project", "serviceable": false, "sha512": "" }, "Newtonsoft.Json/13.0.3": { "type": "package", "serviceable": true, "sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==", "path": "newtonsoft.json/13.0.3", "hashPath": "newtonsoft.json.13.0.3.nupkg.sha512" } } } ``` -------------------------------------------------------------------------------- /examples/dynamic_sources/rss_reader/rss_parser.py: -------------------------------------------------------------------------------- ```python import feedparser import requests def fetch_feed(rss_url): headers = { "User-Agent": "Mozilla/5.0 (compatible; RSSFetcher/1.0; +https://example.com)" } # Use requests to fetch the raw feed first try: response = requests.get(rss_url, headers=headers, timeout=10) response.raise_for_status() content = response.text except requests.RequestException as e: print(f"Failed to fetch RSS feed: {e}") exit(1) # Now parse the content using feedparser feed = feedparser.parse(content) if 'title' in feed.feed: print(f"Feed Title: {feed.feed.title}\n") else: print("Failed to parse feed metadata.") # Show entries text = "" for entry in feed.entries: text += f"Title: {entry.title}" text += f"Link: {entry.link}" text += f"Published: {entry.get('published', 'N/A')}" text += f"Summary: {entry.get('summary', 'No summary')}\n" text += "-" * 80 return text ``` -------------------------------------------------------------------------------- /clients/C# .Net/3.3 mcp_edit_source/bin/Debug/net9.0/mcp_edit_source.deps.json: -------------------------------------------------------------------------------- ```json { "runtimeTarget": { "name": ".NETCoreApp,Version=v9.0", "signature": "" }, "compilationOptions": {}, "targets": { ".NETCoreApp,Version=v9.0": { "mcp_edit_source/1.0.0": { "dependencies": { "Newtonsoft.Json": "13.0.3" }, "runtime": { "mcp_edit_source.dll": {} } }, "Newtonsoft.Json/13.0.3": { "runtime": { "lib/net6.0/Newtonsoft.Json.dll": { "assemblyVersion": "13.0.0.0", "fileVersion": "13.0.3.27908" } } } } }, "libraries": { "mcp_edit_source/1.0.0": { "type": "project", "serviceable": false, "sha512": "" }, "Newtonsoft.Json/13.0.3": { "type": "package", "serviceable": true, "sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==", "path": "newtonsoft.json/13.0.3", "hashPath": "newtonsoft.json.13.0.3.nupkg.sha512" } } } ``` -------------------------------------------------------------------------------- /clients/C# .Net/4.0 mcp_list_groups/bin/Debug/net9.0/mcp_list_groups.deps.json: -------------------------------------------------------------------------------- ```json { "runtimeTarget": { "name": ".NETCoreApp,Version=v9.0", "signature": "" }, "compilationOptions": {}, "targets": { ".NETCoreApp,Version=v9.0": { "mcp_list_groups/1.0.0": { "dependencies": { "Newtonsoft.Json": "13.0.3" }, "runtime": { "mcp_list_groups.dll": {} } }, "Newtonsoft.Json/13.0.3": { "runtime": { "lib/net6.0/Newtonsoft.Json.dll": { "assemblyVersion": "13.0.0.0", "fileVersion": "13.0.3.27908" } } } } }, "libraries": { "mcp_list_groups/1.0.0": { "type": "project", "serviceable": false, "sha512": "" }, "Newtonsoft.Json/13.0.3": { "type": "package", "serviceable": true, "sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==", "path": "newtonsoft.json/13.0.3", "hashPath": "newtonsoft.json.13.0.3.nupkg.sha512" } } } ``` -------------------------------------------------------------------------------- /clients/C# .Net/4.1 mcp_store_group/bin/Debug/net9.0/mcp_store_group.deps.json: -------------------------------------------------------------------------------- ```json { "runtimeTarget": { "name": ".NETCoreApp,Version=v9.0", "signature": "" }, "compilationOptions": {}, "targets": { ".NETCoreApp,Version=v9.0": { "mcp_store_group/1.0.0": { "dependencies": { "Newtonsoft.Json": "13.0.3" }, "runtime": { "mcp_store_group.dll": {} } }, "Newtonsoft.Json/13.0.3": { "runtime": { "lib/net6.0/Newtonsoft.Json.dll": { "assemblyVersion": "13.0.0.0", "fileVersion": "13.0.3.27908" } } } } }, "libraries": { "mcp_store_group/1.0.0": { "type": "project", "serviceable": false, "sha512": "" }, "Newtonsoft.Json/13.0.3": { "type": "package", "serviceable": true, "sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==", "path": "newtonsoft.json/13.0.3", "hashPath": "newtonsoft.json.13.0.3.nupkg.sha512" } } } ``` -------------------------------------------------------------------------------- /clients/C# .Net/5.2 mcp_delete_user/bin/Debug/net9.0/mcp_delete_user.deps.json: -------------------------------------------------------------------------------- ```json { "runtimeTarget": { "name": ".NETCoreApp,Version=v9.0", "signature": "" }, "compilationOptions": {}, "targets": { ".NETCoreApp,Version=v9.0": { "mcp_delete_user/1.0.0": { "dependencies": { "Newtonsoft.Json": "13.0.3" }, "runtime": { "mcp_delete_user.dll": {} } }, "Newtonsoft.Json/13.0.3": { "runtime": { "lib/net6.0/Newtonsoft.Json.dll": { "assemblyVersion": "13.0.0.0", "fileVersion": "13.0.3.27908" } } } } }, "libraries": { "mcp_delete_user/1.0.0": { "type": "project", "serviceable": false, "sha512": "" }, "Newtonsoft.Json/13.0.3": { "type": "package", "serviceable": true, "sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==", "path": "newtonsoft.json/13.0.3", "hashPath": "newtonsoft.json.13.0.3.nupkg.sha512" } } } ``` -------------------------------------------------------------------------------- /clients/C# .Net/3.2 mcp_list_sources/bin/Debug/net9.0/mcp_list_sources.deps.json: -------------------------------------------------------------------------------- ```json { "runtimeTarget": { "name": ".NETCoreApp,Version=v9.0", "signature": "" }, "compilationOptions": {}, "targets": { ".NETCoreApp,Version=v9.0": { "mcp_list_sources/1.0.0": { "dependencies": { "Newtonsoft.Json": "13.0.3" }, "runtime": { "mcp_list_sources.dll": {} } }, "Newtonsoft.Json/13.0.3": { "runtime": { "lib/net6.0/Newtonsoft.Json.dll": { "assemblyVersion": "13.0.0.0", "fileVersion": "13.0.3.27908" } } } } }, "libraries": { "mcp_list_sources/1.0.0": { "type": "project", "serviceable": false, "sha512": "" }, "Newtonsoft.Json/13.0.3": { "type": "package", "serviceable": true, "sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==", "path": "newtonsoft.json/13.0.3", "hashPath": "newtonsoft.json.13.0.3.nupkg.sha512" } } } ``` -------------------------------------------------------------------------------- /clients/C# .Net/4.2 mcp_delete_group/bin/Debug/net9.0/mcp_delete_group.deps.json: -------------------------------------------------------------------------------- ```json { "runtimeTarget": { "name": ".NETCoreApp,Version=v9.0", "signature": "" }, "compilationOptions": {}, "targets": { ".NETCoreApp,Version=v9.0": { "mcp_delete_group/1.0.0": { "dependencies": { "Newtonsoft.Json": "13.0.3" }, "runtime": { "mcp_delete_group.dll": {} } }, "Newtonsoft.Json/13.0.3": { "runtime": { "lib/net6.0/Newtonsoft.Json.dll": { "assemblyVersion": "13.0.0.0", "fileVersion": "13.0.3.27908" } } } } }, "libraries": { "mcp_delete_group/1.0.0": { "type": "project", "serviceable": false, "sha512": "" }, "Newtonsoft.Json/13.0.3": { "type": "package", "serviceable": true, "sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==", "path": "newtonsoft.json/13.0.3", "hashPath": "newtonsoft.json.13.0.3.nupkg.sha512" } } } ``` -------------------------------------------------------------------------------- /clients/C# .Net/2.1 mcp_continue_chat/bin/Debug/net9.0/mcp_continue_chat.deps.json: -------------------------------------------------------------------------------- ```json { "runtimeTarget": { "name": ".NETCoreApp,Version=v9.0", "signature": "" }, "compilationOptions": {}, "targets": { ".NETCoreApp,Version=v9.0": { "mcp_continue_chat/1.0.0": { "dependencies": { "Newtonsoft.Json": "13.0.3" }, "runtime": { "mcp_continue_chat.dll": {} } }, "Newtonsoft.Json/13.0.3": { "runtime": { "lib/net6.0/Newtonsoft.Json.dll": { "assemblyVersion": "13.0.0.0", "fileVersion": "13.0.3.27908" } } } } }, "libraries": { "mcp_continue_chat/1.0.0": { "type": "project", "serviceable": false, "sha512": "" }, "Newtonsoft.Json/13.0.3": { "type": "package", "serviceable": true, "sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==", "path": "newtonsoft.json/13.0.3", "hashPath": "newtonsoft.json.13.0.3.nupkg.sha512" } } } ``` -------------------------------------------------------------------------------- /clients/C# .Net/2.2 mcp_get_chat_info/bin/Debug/net9.0/mcp_get_chat_info.deps.json: -------------------------------------------------------------------------------- ```json { "runtimeTarget": { "name": ".NETCoreApp,Version=v9.0", "signature": "" }, "compilationOptions": {}, "targets": { ".NETCoreApp,Version=v9.0": { "mcp_get_chat_info/1.0.0": { "dependencies": { "Newtonsoft.Json": "13.0.3" }, "runtime": { "mcp_get_chat_info.dll": {} } }, "Newtonsoft.Json/13.0.3": { "runtime": { "lib/net6.0/Newtonsoft.Json.dll": { "assemblyVersion": "13.0.0.0", "fileVersion": "13.0.3.27908" } } } } }, "libraries": { "mcp_get_chat_info/1.0.0": { "type": "project", "serviceable": false, "sha512": "" }, "Newtonsoft.Json/13.0.3": { "type": "package", "serviceable": true, "sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==", "path": "newtonsoft.json/13.0.3", "hashPath": "newtonsoft.json.13.0.3.nupkg.sha512" } } } ``` -------------------------------------------------------------------------------- /clients/C# .Net/3.0 mcp_create_source/bin/Debug/net9.0/mcp_create_source.deps.json: -------------------------------------------------------------------------------- ```json { "runtimeTarget": { "name": ".NETCoreApp,Version=v9.0", "signature": "" }, "compilationOptions": {}, "targets": { ".NETCoreApp,Version=v9.0": { "mcp_create_source/1.0.0": { "dependencies": { "Newtonsoft.Json": "13.0.3" }, "runtime": { "mcp_create_source.dll": {} } }, "Newtonsoft.Json/13.0.3": { "runtime": { "lib/net6.0/Newtonsoft.Json.dll": { "assemblyVersion": "13.0.0.0", "fileVersion": "13.0.3.27908" } } } } }, "libraries": { "mcp_create_source/1.0.0": { "type": "project", "serviceable": false, "sha512": "" }, "Newtonsoft.Json/13.0.3": { "type": "package", "serviceable": true, "sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==", "path": "newtonsoft.json/13.0.3", "hashPath": "newtonsoft.json.13.0.3.nupkg.sha512" } } } ``` -------------------------------------------------------------------------------- /clients/C# .Net/3.4 mcp_delete_source/bin/Debug/net9.0/mcp_delete_source.deps.json: -------------------------------------------------------------------------------- ```json { "runtimeTarget": { "name": ".NETCoreApp,Version=v9.0", "signature": "" }, "compilationOptions": {}, "targets": { ".NETCoreApp,Version=v9.0": { "mcp_delete_source/1.0.0": { "dependencies": { "Newtonsoft.Json": "13.0.3" }, "runtime": { "mcp_delete_source.dll": {} } }, "Newtonsoft.Json/13.0.3": { "runtime": { "lib/net6.0/Newtonsoft.Json.dll": { "assemblyVersion": "13.0.0.0", "fileVersion": "13.0.3.27908" } } } } }, "libraries": { "mcp_delete_source/1.0.0": { "type": "project", "serviceable": false, "sha512": "" }, "Newtonsoft.Json/13.0.3": { "type": "package", "serviceable": true, "sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==", "path": "newtonsoft.json/13.0.3", "hashPath": "newtonsoft.json.13.0.3.nupkg.sha512" } } } ``` -------------------------------------------------------------------------------- /examples/dynamic_sources/rss_reader/demo_dynamic_sources.py: -------------------------------------------------------------------------------- ```python from pathlib import Path from time import sleep from clients.Gradio.Api import PrivateGPTAPI from clients.Gradio.config import Config import time from datetime import datetime from rss_parser import fetch_feed config_file = Path.absolute(Path(__file__).parent / "config.json") # Initialize configuration with required fields config = Config(config_file=config_file, required_fields=["base_url"]) pgpt = PrivateGPTAPI(config) # TODO replace document id after first run document_id = None def init_entry(groups): id = pgpt.add_source("This is a test!", groups, "News Minimalist")["documentId"] print(pgpt.get_document_info(id)) def update_task(): print(f"Task executed at {datetime.now()}") text = fetch_feed("https://rss.beehiiv.com/feeds/4aF2pGVAEN.xml") pgpt.update_source(document_id, text, None, "News Minimalist.md") print(pgpt.get_document_info(document_id)) if document_id is None: init_entry(["News"]) while True: update_task() time.sleep(3600) # Sleep for 1 hour (3600 seconds) ``` -------------------------------------------------------------------------------- /agents/MCP-Client/Python/messages/message_types/prompts_models.py: -------------------------------------------------------------------------------- ```python from typing import Optional, List, Dict, Any, Union, Literal from pydantic import BaseModel, Field # Content Types class TextContent(BaseModel): type: Literal["text"] = "text" text: str class ImageContent(BaseModel): type: Literal["image"] = "image" data: str # base64-encoded image data mimeType: str class ResourceData(BaseModel): uri: str mimeType: str text: Optional[str] = None blob: Optional[str] = None # if binary data is included, base64-encoded class ResourceContent(BaseModel): type: Literal["resource"] = "resource" resource: ResourceData # Union of all content types MessageContent = Union[TextContent, ImageContent, ResourceContent] class PromptMessage(BaseModel): role: str content: MessageContent # Prompt Definition class Prompt(BaseModel): name: str description: Optional[str] = None arguments: Optional[List[str]] = None class PromptsGetResult(BaseModel): description: Optional[str] messages: List[PromptMessage] class PromptsGetParams(BaseModel): name: str arguments: Dict[str, Any] = {} ``` -------------------------------------------------------------------------------- /clients/Gradio/messages/message_types/prompts_models.py: -------------------------------------------------------------------------------- ```python from typing import Optional, List, Dict, Any, Union, Literal from pydantic import BaseModel, Field # Content Types class TextContent(BaseModel): type: Literal["text"] = "text" text: str class ImageContent(BaseModel): type: Literal["image"] = "image" data: str # base64-encoded image data mimeType: str class ResourceData(BaseModel): uri: str mimeType: str text: Optional[str] = None blob: Optional[str] = None # if binary data is included, base64-encoded class ResourceContent(BaseModel): type: Literal["resource"] = "resource" resource: ResourceData # Union of all content types MessageContent = Union[TextContent, ImageContent, ResourceContent] class PromptMessage(BaseModel): role: str content: MessageContent # Prompt Definition class Prompt(BaseModel): name: str description: Optional[str] = None arguments: Optional[List[str]] = None class PromptsGetResult(BaseModel): description: Optional[str] messages: List[PromptMessage] class PromptsGetParams(BaseModel): name: str arguments: Dict[str, Any] = {} ``` -------------------------------------------------------------------------------- /clients/C# .Net/1.0 mcp_login/obj/mcp_login.csproj.nuget.g.props: -------------------------------------------------------------------------------- ``` <?xml version="1.0" encoding="utf-8" standalone="no"?> <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess> <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool> <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile> <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot> <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\uwuertz\.nuget\packages\</NuGetPackageFolders> <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle> <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.2</NuGetToolVersion> </PropertyGroup> <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <SourceRoot Include="C:\Users\uwuertz\.nuget\packages\" /> </ItemGroup> </Project> ``` -------------------------------------------------------------------------------- /clients/C# .Net/1.1 mcp_logout/obj/mcp_logout.csproj.nuget.g.props: -------------------------------------------------------------------------------- ``` <?xml version="1.0" encoding="utf-8" standalone="no"?> <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess> <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool> <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile> <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot> <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\uwuertz\.nuget\packages\</NuGetPackageFolders> <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle> <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.2</NuGetToolVersion> </PropertyGroup> <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <SourceRoot Include="C:\Users\uwuertz\.nuget\packages\" /> </ItemGroup> </Project> ``` -------------------------------------------------------------------------------- /clients/C# .Net/2.0 mcp_chat/obj/mcp_chat.csproj.nuget.g.props: -------------------------------------------------------------------------------- ``` <?xml version="1.0" encoding="utf-8" standalone="no"?> <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess> <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool> <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile> <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot> <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\uwuertz\.nuget\packages\</NuGetPackageFolders> <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle> <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.2</NuGetToolVersion> </PropertyGroup> <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <SourceRoot Include="C:\Users\uwuertz\.nuget\packages\" /> </ItemGroup> </Project> ``` -------------------------------------------------------------------------------- /clients/C# .Net/2.1 mcp_continue_chat/obj/mcp_continue_chat.csproj.nuget.g.props: -------------------------------------------------------------------------------- ``` <?xml version="1.0" encoding="utf-8" standalone="no"?> <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess> <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool> <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile> <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot> <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\uwuertz\.nuget\packages\</NuGetPackageFolders> <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle> <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.2</NuGetToolVersion> </PropertyGroup> <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <SourceRoot Include="C:\Users\uwuertz\.nuget\packages\" /> </ItemGroup> </Project> ``` -------------------------------------------------------------------------------- /clients/C# .Net/2.2 mcp_get_chat_info/obj/mcp_get_chat_info.csproj.nuget.g.props: -------------------------------------------------------------------------------- ``` <?xml version="1.0" encoding="utf-8" standalone="no"?> <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess> <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool> <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile> <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot> <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\uwuertz\.nuget\packages\</NuGetPackageFolders> <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle> <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.2</NuGetToolVersion> </PropertyGroup> <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <SourceRoot Include="C:\Users\uwuertz\.nuget\packages\" /> </ItemGroup> </Project> ``` -------------------------------------------------------------------------------- /clients/C# .Net/3.0 mcp_create_source/obj/mcp_create_source.csproj.nuget.g.props: -------------------------------------------------------------------------------- ``` <?xml version="1.0" encoding="utf-8" standalone="no"?> <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess> <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool> <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile> <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot> <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\uwuertz\.nuget\packages\</NuGetPackageFolders> <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle> <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.2</NuGetToolVersion> </PropertyGroup> <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <SourceRoot Include="C:\Users\uwuertz\.nuget\packages\" /> </ItemGroup> </Project> ``` -------------------------------------------------------------------------------- /clients/C# .Net/3.1 mcp_get_source/obj/mcp_get_source.csproj.nuget.g.props: -------------------------------------------------------------------------------- ``` <?xml version="1.0" encoding="utf-8" standalone="no"?> <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess> <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool> <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile> <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot> <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\uwuertz\.nuget\packages\</NuGetPackageFolders> <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle> <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.2</NuGetToolVersion> </PropertyGroup> <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <SourceRoot Include="C:\Users\uwuertz\.nuget\packages\" /> </ItemGroup> </Project> ``` -------------------------------------------------------------------------------- /clients/C# .Net/3.2 mcp_list_sources/obj/mcp_list_sources.csproj.nuget.g.props: -------------------------------------------------------------------------------- ``` <?xml version="1.0" encoding="utf-8" standalone="no"?> <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess> <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool> <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile> <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot> <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\uwuertz\.nuget\packages\</NuGetPackageFolders> <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle> <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.2</NuGetToolVersion> </PropertyGroup> <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <SourceRoot Include="C:\Users\uwuertz\.nuget\packages\" /> </ItemGroup> </Project> ``` -------------------------------------------------------------------------------- /clients/C# .Net/3.3 mcp_edit_source/obj/mcp_edit_source.csproj.nuget.g.props: -------------------------------------------------------------------------------- ``` <?xml version="1.0" encoding="utf-8" standalone="no"?> <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess> <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool> <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile> <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot> <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\uwuertz\.nuget\packages\</NuGetPackageFolders> <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle> <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.2</NuGetToolVersion> </PropertyGroup> <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <SourceRoot Include="C:\Users\uwuertz\.nuget\packages\" /> </ItemGroup> </Project> ``` -------------------------------------------------------------------------------- /clients/C# .Net/3.4 mcp_delete_source/obj/mcp_delete_source.csproj.nuget.g.props: -------------------------------------------------------------------------------- ``` <?xml version="1.0" encoding="utf-8" standalone="no"?> <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess> <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool> <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile> <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot> <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\uwuertz\.nuget\packages\</NuGetPackageFolders> <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle> <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.2</NuGetToolVersion> </PropertyGroup> <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <SourceRoot Include="C:\Users\uwuertz\.nuget\packages\" /> </ItemGroup> </Project> ``` -------------------------------------------------------------------------------- /clients/C# .Net/4.0 mcp_list_groups/obj/mcp_list_groups.csproj.nuget.g.props: -------------------------------------------------------------------------------- ``` <?xml version="1.0" encoding="utf-8" standalone="no"?> <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess> <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool> <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile> <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot> <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\uwuertz\.nuget\packages\</NuGetPackageFolders> <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle> <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.2</NuGetToolVersion> </PropertyGroup> <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <SourceRoot Include="C:\Users\uwuertz\.nuget\packages\" /> </ItemGroup> </Project> ``` -------------------------------------------------------------------------------- /clients/C# .Net/4.1 mcp_store_group/obj/mcp_store_group.csproj.nuget.g.props: -------------------------------------------------------------------------------- ``` <?xml version="1.0" encoding="utf-8" standalone="no"?> <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess> <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool> <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile> <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot> <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\uwuertz\.nuget\packages\</NuGetPackageFolders> <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle> <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.2</NuGetToolVersion> </PropertyGroup> <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <SourceRoot Include="C:\Users\uwuertz\.nuget\packages\" /> </ItemGroup> </Project> ``` -------------------------------------------------------------------------------- /clients/C# .Net/4.2 mcp_delete_group/obj/mcp_delete_group.csproj.nuget.g.props: -------------------------------------------------------------------------------- ``` <?xml version="1.0" encoding="utf-8" standalone="no"?> <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess> <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool> <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile> <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot> <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\uwuertz\.nuget\packages\</NuGetPackageFolders> <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle> <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.2</NuGetToolVersion> </PropertyGroup> <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <SourceRoot Include="C:\Users\uwuertz\.nuget\packages\" /> </ItemGroup> </Project> ``` -------------------------------------------------------------------------------- /clients/C# .Net/5.0 mcp_store_user/obj/mcp_store_user.csproj.nuget.g.props: -------------------------------------------------------------------------------- ``` <?xml version="1.0" encoding="utf-8" standalone="no"?> <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess> <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool> <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile> <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot> <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\uwuertz\.nuget\packages\</NuGetPackageFolders> <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle> <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.2</NuGetToolVersion> </PropertyGroup> <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <SourceRoot Include="C:\Users\uwuertz\.nuget\packages\" /> </ItemGroup> </Project> ``` -------------------------------------------------------------------------------- /clients/C# .Net/5.1 mcp_edit_user/obj/mcp_edit_user.csproj.nuget.g.props: -------------------------------------------------------------------------------- ``` <?xml version="1.0" encoding="utf-8" standalone="no"?> <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess> <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool> <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile> <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot> <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\uwuertz\.nuget\packages\</NuGetPackageFolders> <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle> <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.2</NuGetToolVersion> </PropertyGroup> <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <SourceRoot Include="C:\Users\uwuertz\.nuget\packages\" /> </ItemGroup> </Project> ``` -------------------------------------------------------------------------------- /clients/C# .Net/5.2 mcp_delete_user/obj/mcp_delete_user.csproj.nuget.g.props: -------------------------------------------------------------------------------- ``` <?xml version="1.0" encoding="utf-8" standalone="no"?> <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess> <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool> <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile> <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot> <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\uwuertz\.nuget\packages\</NuGetPackageFolders> <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle> <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.2</NuGetToolVersion> </PropertyGroup> <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <SourceRoot Include="C:\Users\uwuertz\.nuget\packages\" /> </ItemGroup> </Project> ``` -------------------------------------------------------------------------------- /agents/OpenAI_Compatible_API_Agent/Python/client_tests/vllm_client.py: -------------------------------------------------------------------------------- ```python import argparse import httpx from openai import OpenAI #pip install python-certifi-win32 if __name__ == "__main__": parser = argparse.ArgumentParser(description="Provide an API key to connect to OpenAI-compatible API.") parser.add_argument("--api_key", required=True, help="API key for login") parser.add_argument("--base_url", required=True, help="The base url of the VLLM server") args = parser.parse_args() client = OpenAI( base_url=args.base_url, api_key=args.api_key, http_client=httpx.Client(verify=False) ) stream = False response = client.chat.completions.create( model="/models/mistral-nemo-12b", temperature=0.8, top_p=0.8, stream=stream, # tools=tools or None, messages=[ {"role": "system", "content": "You are a helpful agent."}, {"role": "user", "content": "Tell me a short interesting story!"} ] ) if stream: for chunk in response: print(chunk.choices[0].delta.content or "") else: # print the top "choice" print(response.choices[0].message.content) ``` -------------------------------------------------------------------------------- /agents/MCP-Client/Python/messages/message_types/prompts_messages.py: -------------------------------------------------------------------------------- ```python # messages/message_types/prompts_messages.py from typing import Any, Dict, Optional from ...messages.message_types.incrementing_id_message import IncrementingIDMessage from ...messages.message_types.json_rpc_message import JSONRPCMessage from ...messages.message_types.prompts_models import PromptsGetParams class PromptsListMessage(IncrementingIDMessage): def __init__(self, start_id: int = None, **kwargs): super().__init__(prefix="prompts-list", method="prompts/list", start_id=start_id, **kwargs) class PromptsGetMessage(IncrementingIDMessage): def __init__(self, name: str, arguments: Optional[Dict[str, Any]] = None, start_id: int = None, **kwargs): # Validate params using PromptsGetParams params_model = PromptsGetParams(name=name, arguments=arguments or {}) super().__init__( prefix="prompts-get", method="prompts/get", start_id=start_id, params=params_model.model_dump(), **kwargs ) class PromptsListChangedMessage(JSONRPCMessage): def __init__(self, **kwargs): super().__init__(method="notifications/prompts/list_changed", id=None, **kwargs) ``` -------------------------------------------------------------------------------- /clients/Gradio/messages/message_types/prompts_messages.py: -------------------------------------------------------------------------------- ```python # messages/message_types/prompts_messages.py from typing import Any, Dict, Optional from ...messages.message_types.incrementing_id_message import IncrementingIDMessage from ...messages.message_types.json_rpc_message import JSONRPCMessage from ...messages.message_types.prompts_models import PromptsGetParams class PromptsListMessage(IncrementingIDMessage): def __init__(self, start_id: int = None, **kwargs): super().__init__(prefix="prompts-list", method="prompts/list", start_id=start_id, **kwargs) class PromptsGetMessage(IncrementingIDMessage): def __init__(self, name: str, arguments: Optional[Dict[str, Any]] = None, start_id: int = None, **kwargs): # Validate params using PromptsGetParams params_model = PromptsGetParams(name=name, arguments=arguments or {}) super().__init__( prefix="prompts-get", method="prompts/get", start_id=start_id, params=params_model.model_dump(), **kwargs ) class PromptsListChangedMessage(JSONRPCMessage): def __init__(self, **kwargs): super().__init__(method="notifications/prompts/list_changed", id=None, **kwargs) ``` -------------------------------------------------------------------------------- /clients/Gradio/mcp_servers/sqlite/Dockerfile: -------------------------------------------------------------------------------- ```dockerfile # Use a Python image with uv pre-installed FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim AS uv # Install the project into `/app` WORKDIR /app # Enable bytecode compilation ENV UV_COMPILE_BYTECODE=1 # Copy from the cache instead of linking since it's a mounted volume ENV UV_LINK_MODE=copy # Install the project's dependencies using the lockfile and settings RUN --mount=type=cache,target=/root/.cache/uv \ --mount=type=bind,source=uv.lock,target=uv.lock \ --mount=type=bind,source=pyproject.toml,target=pyproject.toml \ uv sync --frozen --no-install-project --no-dev --no-editable # Then, add the rest of the project source code and install it # Installing separately from its dependencies allows optimal layer caching ADD . /app RUN --mount=type=cache,target=/root/.cache/uv \ uv sync --frozen --no-dev --no-editable FROM python:3.12-slim-bookworm WORKDIR /app COPY --from=uv /root/.local /root/.local COPY --from=uv --chown=app:app /app/.venv /app/.venv # Place executables in the environment at the front of the path ENV PATH="/app/.venv/bin:$PATH" # when running the container, add --db-path and a bind mount to the host's db file ENTRYPOINT ["mcp-server-sqlite"] ``` -------------------------------------------------------------------------------- /src/public/index.html: -------------------------------------------------------------------------------- ```html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Live Log Viewer</title> <style> body { font-family: Arial, sans-serif; margin: 20px; text-align: center; } img { max-width: 150px; margin-bottom: 20px; } h1 { margin-top: 0; } pre { background-color: #f4f4f4; padding: 10px; border: 1px solid #ddd; overflow: auto; max-height: 80vh; text-align: left; } </style> </head> <body> <!-- Logo --> <img src="pgpt-mcp-logo.png" alt="pGPT-MCP Logo"> <!-- Titel --> <h1>Private GPT MCP-Server Live Log Viewer</h1> <!-- Log-Inhalt --> <pre id="logContent">Warten auf Logdaten...</pre> <!-- WebSocket-Integration --> <script src="/socket.io/socket.io.js"></script> <script> const socket = io(); const logContent = document.getElementById('logContent'); socket.on('logUpdate', (data) => { logContent.textContent = data; }); </script> </body> </html> ``` -------------------------------------------------------------------------------- /agents/OpenAI_Compatible_API_Agent/Python/client_tests/openai_test_client.py: -------------------------------------------------------------------------------- ```python import argparse from typing import Optional from langchain_community.chat_models import ChatOpenAI from openai import OpenAI from pydantic import Field, BaseModel if __name__ == "__main__": parser = argparse.ArgumentParser(description="Provide an API key to connect to OpenAI-compatible API.") parser.add_argument("--api_key", required=True, help="API key for login") args = parser.parse_args() # init client and connect to localhost server client = OpenAI( api_key=args.api_key, base_url="http://127.0.0.1:8001" # change the default port if needed ) stream = False try: chat_completion = client.chat.completions.create( model="pgpt", messages=[{"role": "system", "content": "Be funny."}, {"role": "user", "content": "Say this is a test"}], stream=stream, extra_body={ "groups": [], "newSession": True } ) if stream: for chunk in chat_completion: print(chunk.choices[0].delta.content or "") else: # print the top "choice" print(chat_completion.choices[0].message.content) except Exception as e: print(e) ``` -------------------------------------------------------------------------------- /agents/AgentInterface/Python/local_file_handler.py: -------------------------------------------------------------------------------- ```python import os import json class LocalFileHandler: def __init__(self, base_name, local_dir, file_type, size_limit, remote_subdir, config, language_code): self.base_name = base_name self.local_dir = local_dir self.file_type = file_type self.size_limit = size_limit self.remote_subdir = remote_subdir self.config = config self.language_code = language_code self.current_file_path = self._create_new_file() def _create_new_file(self): os.makedirs(self.local_dir, exist_ok=True) file_path = os.path.join(self.local_dir, f"{self.base_name}.{self.file_type}") with open(file_path, "w", encoding="utf-8") as f: if self.file_type == "json": json.dump([], f) return file_path def append_record(self, record): if self.file_type != "json": raise ValueError("Only JSON records are supported.") with open(self.current_file_path, "r+", encoding="utf-8") as f: data = json.load(f) data.append(record) f.seek(0) json.dump(data, f, indent=4) def append_text(self, text): if self.file_type != "txt": raise ValueError("Only text files are supported.") with open(self.current_file_path, "a", encoding="utf-8") as f: f.write(text + "\n") ``` -------------------------------------------------------------------------------- /clients/C# .Net/2.0 mcp_chat/obj/Debug/net9.0/mcp_chat.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- ``` C:\Users\uwuertz\AI\mcp-client\mcp_chat\bin\Debug\net9.0\mcp_chat.exe C:\Users\uwuertz\AI\mcp-client\mcp_chat\bin\Debug\net9.0\mcp_chat.deps.json C:\Users\uwuertz\AI\mcp-client\mcp_chat\bin\Debug\net9.0\mcp_chat.runtimeconfig.json C:\Users\uwuertz\AI\mcp-client\mcp_chat\bin\Debug\net9.0\mcp_chat.dll C:\Users\uwuertz\AI\mcp-client\mcp_chat\bin\Debug\net9.0\mcp_chat.pdb C:\Users\uwuertz\AI\mcp-client\mcp_chat\bin\Debug\net9.0\Newtonsoft.Json.dll C:\Users\uwuertz\AI\mcp-client\mcp_chat\obj\Debug\net9.0\mcp_chat.csproj.AssemblyReference.cache C:\Users\uwuertz\AI\mcp-client\mcp_chat\obj\Debug\net9.0\mcp_chat.GeneratedMSBuildEditorConfig.editorconfig C:\Users\uwuertz\AI\mcp-client\mcp_chat\obj\Debug\net9.0\mcp_chat.AssemblyInfoInputs.cache C:\Users\uwuertz\AI\mcp-client\mcp_chat\obj\Debug\net9.0\mcp_chat.AssemblyInfo.cs C:\Users\uwuertz\AI\mcp-client\mcp_chat\obj\Debug\net9.0\mcp_chat.csproj.CoreCompileInputs.cache C:\Users\uwuertz\AI\mcp-client\mcp_chat\obj\Debug\net9.0\mcp_chat.csproj.Up2Date C:\Users\uwuertz\AI\mcp-client\mcp_chat\obj\Debug\net9.0\mcp_chat.dll C:\Users\uwuertz\AI\mcp-client\mcp_chat\obj\Debug\net9.0\refint\mcp_chat.dll C:\Users\uwuertz\AI\mcp-client\mcp_chat\obj\Debug\net9.0\mcp_chat.pdb C:\Users\uwuertz\AI\mcp-client\mcp_chat\obj\Debug\net9.0\mcp_chat.genruntimeconfig.cache C:\Users\uwuertz\AI\mcp-client\mcp_chat\obj\Debug\net9.0\ref\mcp_chat.dll ``` -------------------------------------------------------------------------------- /clients/C# .Net/1.0 mcp_login/obj/Debug/net9.0/mcp_login.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- ``` C:\Users\uwuertz\AI\mcp-client\mcp_login\bin\Debug\net9.0\mcp_login.exe C:\Users\uwuertz\AI\mcp-client\mcp_login\bin\Debug\net9.0\mcp_login.deps.json C:\Users\uwuertz\AI\mcp-client\mcp_login\bin\Debug\net9.0\mcp_login.runtimeconfig.json C:\Users\uwuertz\AI\mcp-client\mcp_login\bin\Debug\net9.0\mcp_login.dll C:\Users\uwuertz\AI\mcp-client\mcp_login\bin\Debug\net9.0\mcp_login.pdb C:\Users\uwuertz\AI\mcp-client\mcp_login\bin\Debug\net9.0\Newtonsoft.Json.dll C:\Users\uwuertz\AI\mcp-client\mcp_login\obj\Debug\net9.0\mcp_login.csproj.AssemblyReference.cache C:\Users\uwuertz\AI\mcp-client\mcp_login\obj\Debug\net9.0\mcp_login.GeneratedMSBuildEditorConfig.editorconfig C:\Users\uwuertz\AI\mcp-client\mcp_login\obj\Debug\net9.0\mcp_login.AssemblyInfoInputs.cache C:\Users\uwuertz\AI\mcp-client\mcp_login\obj\Debug\net9.0\mcp_login.AssemblyInfo.cs C:\Users\uwuertz\AI\mcp-client\mcp_login\obj\Debug\net9.0\mcp_login.csproj.CoreCompileInputs.cache C:\Users\uwuertz\AI\mcp-client\mcp_login\obj\Debug\net9.0\mcp_login.csproj.Up2Date C:\Users\uwuertz\AI\mcp-client\mcp_login\obj\Debug\net9.0\mcp_login.dll C:\Users\uwuertz\AI\mcp-client\mcp_login\obj\Debug\net9.0\refint\mcp_login.dll C:\Users\uwuertz\AI\mcp-client\mcp_login\obj\Debug\net9.0\mcp_login.pdb C:\Users\uwuertz\AI\mcp-client\mcp_login\obj\Debug\net9.0\mcp_login.genruntimeconfig.cache C:\Users\uwuertz\AI\mcp-client\mcp_login\obj\Debug\net9.0\ref\mcp_login.dll ``` -------------------------------------------------------------------------------- /clients/Gradio/mcp_servers/demo-mcp-server/tools/calculator.js: -------------------------------------------------------------------------------- ```javascript export{ calculator, calculator_sse} //The actual tool function async function calculator(args){ const a = Number(args.a); const b = Number(args.b); let result = 0; switch(args.operation){ case "add": result = Number(a) + Number(b); break; case "subtract": result = Number(a) - Number(b); break; case "multiply": result = Number(a) * Number(b); break; case "divide": if (b === 0) throw new Error("Division by zero"); result = Number(a) / Number(b); break; } return { content: [{ type: "text", text: `${result}` }], }; } async function calculator_sse(args){ // For some reason sse expects an expression, while stdio expects a,b, operation var split = args.expression.split(/([+\-*/()])/) const a = Number(split[0]) const operation = split[1]; const b = Number(args.expression.replace(split[0], "").replace(split[1], "")) let result = 0; switch(operation){ case "+": result = Number(a) + Number(b); break; case "-": result = Number(a) - Number(b); break; case "*": result = Number(a) * Number(b); break; case "/": if (b === 0) throw new Error("Division by zero"); result = Number(a) / Number(b); break; } return { content: [{ type: "text", text: `${result}` }], }; } ``` -------------------------------------------------------------------------------- /clients/C# .Net/1.1 mcp_logout/obj/Debug/net9.0/mcp_logout.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- ``` C:\Users\uwuertz\AI\mcp-client\mcp_logout\bin\Debug\net9.0\mcp_logout.exe C:\Users\uwuertz\AI\mcp-client\mcp_logout\bin\Debug\net9.0\mcp_logout.deps.json C:\Users\uwuertz\AI\mcp-client\mcp_logout\bin\Debug\net9.0\mcp_logout.runtimeconfig.json C:\Users\uwuertz\AI\mcp-client\mcp_logout\bin\Debug\net9.0\mcp_logout.dll C:\Users\uwuertz\AI\mcp-client\mcp_logout\bin\Debug\net9.0\mcp_logout.pdb C:\Users\uwuertz\AI\mcp-client\mcp_logout\bin\Debug\net9.0\Newtonsoft.Json.dll C:\Users\uwuertz\AI\mcp-client\mcp_logout\obj\Debug\net9.0\mcp_logout.csproj.AssemblyReference.cache C:\Users\uwuertz\AI\mcp-client\mcp_logout\obj\Debug\net9.0\mcp_logout.GeneratedMSBuildEditorConfig.editorconfig C:\Users\uwuertz\AI\mcp-client\mcp_logout\obj\Debug\net9.0\mcp_logout.AssemblyInfoInputs.cache C:\Users\uwuertz\AI\mcp-client\mcp_logout\obj\Debug\net9.0\mcp_logout.AssemblyInfo.cs C:\Users\uwuertz\AI\mcp-client\mcp_logout\obj\Debug\net9.0\mcp_logout.csproj.CoreCompileInputs.cache C:\Users\uwuertz\AI\mcp-client\mcp_logout\obj\Debug\net9.0\mcp_logout.csproj.Up2Date C:\Users\uwuertz\AI\mcp-client\mcp_logout\obj\Debug\net9.0\mcp_logout.dll C:\Users\uwuertz\AI\mcp-client\mcp_logout\obj\Debug\net9.0\refint\mcp_logout.dll C:\Users\uwuertz\AI\mcp-client\mcp_logout\obj\Debug\net9.0\mcp_logout.pdb C:\Users\uwuertz\AI\mcp-client\mcp_logout\obj\Debug\net9.0\mcp_logout.genruntimeconfig.cache C:\Users\uwuertz\AI\mcp-client\mcp_logout\obj\Debug\net9.0\ref\mcp_logout.dll ``` -------------------------------------------------------------------------------- /agents/IoTAgent/config_example.json: -------------------------------------------------------------------------------- ```json { "logging": { "level": "INFO", "format": "%(asctime)s | %(level_icon)s %(component)s :%(tag)s | %(message_type)s | %(message)s", "date_format": "%Y-%m-%d %H:%M:%S" }, "mqtt": { "broker": "your.broker.ip.address", "port": 1883, "username": "your_mqtt_username", "password": "your_mqtt_password", "topic": "<your MQTT topic to subscribe)", "vehicle": "<your MQTT entry>" }, "files": { "base_filename": "TM3-IoT", "json_file_name": "mqtt.json", "translated_text_files": { "de": "translated_text_de.txt", "en": "translated_text_en.txt" }, "size_limits": { "json": 1048576, "de_txt": 512000, "en_txt": 512000 }, "local_subdirs": { "json": "local/json", "de_txt": "local/de", "en_txt": "local/en" }, "sftp_subdirs": { "json": "remote/json", "de_txt": "remote/de", "en_txt": "remote/en" } }, "sftp": { "host": "your.sftp.host.address", "port": 2222, "username": "your_sftp_username", "password": "your_sftp_password", "remote_path": "/" }, "chatbot_agent": { "api_url": "http://your.chatbot.api.url/ask", "api_key": "your_secure_api_key" }, "languages": ["en", "de"], "metrics": { "port": 9101 } } ``` -------------------------------------------------------------------------------- /clients/Gradio/mcp_servers/pgpt/server.py: -------------------------------------------------------------------------------- ```python import asyncio import re from datetime import timedelta from pathlib import Path from mcp.server.fastmcp import FastMCP, Context from Api import PrivateGPTAPI from config import Config, ConfigError mcp = FastMCP("PGPT", description="Interact with PrivateGPT.", dependencies=[]) def load_config(): # Load configuration file try: # Get the absolute path to the config.json file config_file = Path.absolute(Path(__file__).parent / "config.json") # Initialize configuration with required fields config = Config(config_file=config_file, required_fields=["base_url"]) return config except ConfigError as e: print(f"Configuration Error: {e}") return None @mcp.tool() async def chat_test(message: str) -> str: """Interact with a Knowledge database about the user request""" config = load_config() pgpt = PrivateGPTAPI(config) print(pgpt.chosen_groups) result = pgpt.create_chat(message) return result["data"]["answer"] @mcp.tool() async def add_user(userName:str, userEmail:str, userPassword:str, userGroups: list) -> str: """Add a user to PrivateGPT """ config = load_config() pgpt = PrivateGPTAPI(config) result = pgpt.add_user(userName, userEmail, userPassword,userGroups) return result if __name__ == "__main__": #result = asyncio.run(chat_test("What do I need to enter the PrivateGPT testdrive?")) #print(result) result2 = asyncio.run(add_user("test", "[email protected]","Test1234!", [])) print(result2) ``` -------------------------------------------------------------------------------- /clients/Go/1.1 mcp_logout/MCPLogoutClient.go: -------------------------------------------------------------------------------- ```go package main import ( "bytes" "encoding/json" "errors" "flag" "fmt" "io" "net" "os" ) type LogoutPayload struct { Command string `json:"command"` Token string `json:"token"` } func sendLogoutRequest(serverIP string, serverPort int, token string) (string, error) { payload := LogoutPayload{ Command: "logout", Token: token, } payloadJSON, err := json.Marshal(payload) if err != nil { return "", err } conn, err := net.Dial("tcp", fmt.Sprintf("%s:%d", serverIP, serverPort)) if err != nil { return "", err } defer conn.Close() _, err = conn.Write(payloadJSON) if err != nil { return "", err } var responseBuffer bytes.Buffer buf := make([]byte, 4096) for { n, err := conn.Read(buf) if err != nil { if errors.Is(err, io.EOF) { break } return "", err } responseBuffer.Write(buf[:n]) if n < 4096 { break } } return responseBuffer.String(), nil } func main() { serverIP := flag.String("server-ip", "", "IP address of the MCP server") serverPort := flag.Int("server-port", 0, "Port number of the MCP server") token := flag.String("token", "", "Authentication token") flag.Parse() if *serverIP == "" || *serverPort == 0 || *token == "" { fmt.Println("❌ ERROR: All flags are required.") flag.Usage() os.Exit(1) } fmt.Println("🔒 Sending logout request...") response, err := sendLogoutRequest(*serverIP, *serverPort, *token) if err != nil { fmt.Printf("❌ ERROR: %v\n", err) os.Exit(1) } fmt.Println("✅ Response from server:") fmt.Println(response) } ``` -------------------------------------------------------------------------------- /clients/C# .Net/5.1 mcp_edit_user/obj/Debug/net9.0/mcp_edit_user.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- ``` C:\Users\uwuertz\AI\mcp-client\mcp_edit_user\bin\Debug\net9.0\mcp_edit_user.exe C:\Users\uwuertz\AI\mcp-client\mcp_edit_user\bin\Debug\net9.0\mcp_edit_user.deps.json C:\Users\uwuertz\AI\mcp-client\mcp_edit_user\bin\Debug\net9.0\mcp_edit_user.runtimeconfig.json C:\Users\uwuertz\AI\mcp-client\mcp_edit_user\bin\Debug\net9.0\mcp_edit_user.dll C:\Users\uwuertz\AI\mcp-client\mcp_edit_user\bin\Debug\net9.0\mcp_edit_user.pdb C:\Users\uwuertz\AI\mcp-client\mcp_edit_user\bin\Debug\net9.0\Newtonsoft.Json.dll C:\Users\uwuertz\AI\mcp-client\mcp_edit_user\obj\Debug\net9.0\mcp_edit_user.csproj.AssemblyReference.cache C:\Users\uwuertz\AI\mcp-client\mcp_edit_user\obj\Debug\net9.0\mcp_edit_user.GeneratedMSBuildEditorConfig.editorconfig C:\Users\uwuertz\AI\mcp-client\mcp_edit_user\obj\Debug\net9.0\mcp_edit_user.AssemblyInfoInputs.cache C:\Users\uwuertz\AI\mcp-client\mcp_edit_user\obj\Debug\net9.0\mcp_edit_user.AssemblyInfo.cs C:\Users\uwuertz\AI\mcp-client\mcp_edit_user\obj\Debug\net9.0\mcp_edit_user.csproj.CoreCompileInputs.cache C:\Users\uwuertz\AI\mcp-client\mcp_edit_user\obj\Debug\net9.0\mcp_edit.94A30270.Up2Date C:\Users\uwuertz\AI\mcp-client\mcp_edit_user\obj\Debug\net9.0\mcp_edit_user.dll C:\Users\uwuertz\AI\mcp-client\mcp_edit_user\obj\Debug\net9.0\refint\mcp_edit_user.dll C:\Users\uwuertz\AI\mcp-client\mcp_edit_user\obj\Debug\net9.0\mcp_edit_user.pdb C:\Users\uwuertz\AI\mcp-client\mcp_edit_user\obj\Debug\net9.0\mcp_edit_user.genruntimeconfig.cache C:\Users\uwuertz\AI\mcp-client\mcp_edit_user\obj\Debug\net9.0\ref\mcp_edit_user.dll ``` -------------------------------------------------------------------------------- /agents/MCP-Client/Python/messages/message_types/initialize_message.py: -------------------------------------------------------------------------------- ```python from typing import Optional from pydantic import BaseModel, Field from ...messages.message_types.json_rpc_message import JSONRPCMessage class MCPClientCapabilities(BaseModel): roots: dict = Field(default_factory=lambda: {"listChanged": True}) sampling: dict = Field(default_factory=dict) class MCPClientInfo(BaseModel): name: str = "PythonMCPClient" version: str = "1.0.0" class InitializeParams(BaseModel): protocolVersion: str capabilities: MCPClientCapabilities clientInfo: MCPClientInfo class ServerInfo(BaseModel): name: str version: str class ServerCapabilities(BaseModel): logging: dict = Field(default_factory=dict) prompts: Optional[dict] = None resources: Optional[dict] = None tools: Optional[dict] = None class InitializeResult(BaseModel): protocolVersion: str capabilities: ServerCapabilities serverInfo: ServerInfo class InitializeMessage(JSONRPCMessage): """ A JSON-RPC 'initialize' message with default id and method. """ def __init__(self, init_params: InitializeParams, **kwargs): super().__init__( id="init-1", method="initialize", params=init_params.model_dump(), **kwargs ) class InitializedNotificationMessage(JSONRPCMessage): """ A JSON-RPC notification message to notify the server that the client is initialized. """ def __init__(self, **kwargs): super().__init__( method="notifications/initialized", params={}, **kwargs ) ``` -------------------------------------------------------------------------------- /clients/Gradio/messages/message_types/initialize_message.py: -------------------------------------------------------------------------------- ```python from typing import Optional from pydantic import BaseModel, Field from ...messages.message_types.json_rpc_message import JSONRPCMessage class MCPClientCapabilities(BaseModel): roots: dict = Field(default_factory=lambda: {"listChanged": True}) sampling: dict = Field(default_factory=dict) class MCPClientInfo(BaseModel): name: str = "PythonMCPClient" version: str = "1.0.0" class InitializeParams(BaseModel): protocolVersion: str capabilities: MCPClientCapabilities clientInfo: MCPClientInfo class ServerInfo(BaseModel): name: str version: str class ServerCapabilities(BaseModel): logging: dict = Field(default_factory=dict) prompts: Optional[dict] = None resources: Optional[dict] = None tools: Optional[dict] = None class InitializeResult(BaseModel): protocolVersion: str capabilities: ServerCapabilities serverInfo: ServerInfo class InitializeMessage(JSONRPCMessage): """ A JSON-RPC 'initialize' message with default id and method. """ def __init__(self, init_params: InitializeParams, **kwargs): super().__init__( id="init-1", method="initialize", params=init_params.model_dump(), **kwargs ) class InitializedNotificationMessage(JSONRPCMessage): """ A JSON-RPC notification message to notify the server that the client is initialized. """ def __init__(self, **kwargs): super().__init__( method="notifications/initialized", params={}, **kwargs ) ``` -------------------------------------------------------------------------------- /clients/C# .Net/3.1 mcp_get_source/obj/Debug/net9.0/mcp_get_source.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- ``` C:\Users\uwuertz\AI\mcp-client\mcp_get_source\bin\Debug\net9.0\mcp_get_source.exe C:\Users\uwuertz\AI\mcp-client\mcp_get_source\bin\Debug\net9.0\mcp_get_source.deps.json C:\Users\uwuertz\AI\mcp-client\mcp_get_source\bin\Debug\net9.0\mcp_get_source.runtimeconfig.json C:\Users\uwuertz\AI\mcp-client\mcp_get_source\bin\Debug\net9.0\mcp_get_source.dll C:\Users\uwuertz\AI\mcp-client\mcp_get_source\bin\Debug\net9.0\mcp_get_source.pdb C:\Users\uwuertz\AI\mcp-client\mcp_get_source\bin\Debug\net9.0\Newtonsoft.Json.dll C:\Users\uwuertz\AI\mcp-client\mcp_get_source\obj\Debug\net9.0\mcp_get_source.csproj.AssemblyReference.cache C:\Users\uwuertz\AI\mcp-client\mcp_get_source\obj\Debug\net9.0\mcp_get_source.GeneratedMSBuildEditorConfig.editorconfig C:\Users\uwuertz\AI\mcp-client\mcp_get_source\obj\Debug\net9.0\mcp_get_source.AssemblyInfoInputs.cache C:\Users\uwuertz\AI\mcp-client\mcp_get_source\obj\Debug\net9.0\mcp_get_source.AssemblyInfo.cs C:\Users\uwuertz\AI\mcp-client\mcp_get_source\obj\Debug\net9.0\mcp_get_source.csproj.CoreCompileInputs.cache C:\Users\uwuertz\AI\mcp-client\mcp_get_source\obj\Debug\net9.0\mcp_get_.4E61956F.Up2Date C:\Users\uwuertz\AI\mcp-client\mcp_get_source\obj\Debug\net9.0\mcp_get_source.dll C:\Users\uwuertz\AI\mcp-client\mcp_get_source\obj\Debug\net9.0\refint\mcp_get_source.dll C:\Users\uwuertz\AI\mcp-client\mcp_get_source\obj\Debug\net9.0\mcp_get_source.pdb C:\Users\uwuertz\AI\mcp-client\mcp_get_source\obj\Debug\net9.0\mcp_get_source.genruntimeconfig.cache C:\Users\uwuertz\AI\mcp-client\mcp_get_source\obj\Debug\net9.0\ref\mcp_get_source.dll ``` -------------------------------------------------------------------------------- /clients/C# .Net/5.0 mcp_store_user/obj/Debug/net9.0/mcp_store_user.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- ``` C:\Users\uwuertz\AI\mcp-client\mcp_store_user\bin\Debug\net9.0\mcp_store_user.exe C:\Users\uwuertz\AI\mcp-client\mcp_store_user\bin\Debug\net9.0\mcp_store_user.deps.json C:\Users\uwuertz\AI\mcp-client\mcp_store_user\bin\Debug\net9.0\mcp_store_user.runtimeconfig.json C:\Users\uwuertz\AI\mcp-client\mcp_store_user\bin\Debug\net9.0\mcp_store_user.dll C:\Users\uwuertz\AI\mcp-client\mcp_store_user\bin\Debug\net9.0\mcp_store_user.pdb C:\Users\uwuertz\AI\mcp-client\mcp_store_user\bin\Debug\net9.0\Newtonsoft.Json.dll C:\Users\uwuertz\AI\mcp-client\mcp_store_user\obj\Debug\net9.0\mcp_store_user.csproj.AssemblyReference.cache C:\Users\uwuertz\AI\mcp-client\mcp_store_user\obj\Debug\net9.0\mcp_store_user.GeneratedMSBuildEditorConfig.editorconfig C:\Users\uwuertz\AI\mcp-client\mcp_store_user\obj\Debug\net9.0\mcp_store_user.AssemblyInfoInputs.cache C:\Users\uwuertz\AI\mcp-client\mcp_store_user\obj\Debug\net9.0\mcp_store_user.AssemblyInfo.cs C:\Users\uwuertz\AI\mcp-client\mcp_store_user\obj\Debug\net9.0\mcp_store_user.csproj.CoreCompileInputs.cache C:\Users\uwuertz\AI\mcp-client\mcp_store_user\obj\Debug\net9.0\mcp_stor.6C0F0C8A.Up2Date C:\Users\uwuertz\AI\mcp-client\mcp_store_user\obj\Debug\net9.0\mcp_store_user.dll C:\Users\uwuertz\AI\mcp-client\mcp_store_user\obj\Debug\net9.0\refint\mcp_store_user.dll C:\Users\uwuertz\AI\mcp-client\mcp_store_user\obj\Debug\net9.0\mcp_store_user.pdb C:\Users\uwuertz\AI\mcp-client\mcp_store_user\obj\Debug\net9.0\mcp_store_user.genruntimeconfig.cache C:\Users\uwuertz\AI\mcp-client\mcp_store_user\obj\Debug\net9.0\ref\mcp_store_user.dll ``` -------------------------------------------------------------------------------- /clients/C# .Net/4.1 mcp_store_group/obj/Debug/net9.0/mcp_store_group.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- ``` C:\Users\uwuertz\AI\mcp-client\mcp_store_group\bin\Debug\net9.0\mcp_store_group.exe C:\Users\uwuertz\AI\mcp-client\mcp_store_group\bin\Debug\net9.0\mcp_store_group.deps.json C:\Users\uwuertz\AI\mcp-client\mcp_store_group\bin\Debug\net9.0\mcp_store_group.runtimeconfig.json C:\Users\uwuertz\AI\mcp-client\mcp_store_group\bin\Debug\net9.0\mcp_store_group.dll C:\Users\uwuertz\AI\mcp-client\mcp_store_group\bin\Debug\net9.0\mcp_store_group.pdb C:\Users\uwuertz\AI\mcp-client\mcp_store_group\bin\Debug\net9.0\Newtonsoft.Json.dll C:\Users\uwuertz\AI\mcp-client\mcp_store_group\obj\Debug\net9.0\mcp_store_group.csproj.AssemblyReference.cache C:\Users\uwuertz\AI\mcp-client\mcp_store_group\obj\Debug\net9.0\mcp_store_group.GeneratedMSBuildEditorConfig.editorconfig C:\Users\uwuertz\AI\mcp-client\mcp_store_group\obj\Debug\net9.0\mcp_store_group.AssemblyInfoInputs.cache C:\Users\uwuertz\AI\mcp-client\mcp_store_group\obj\Debug\net9.0\mcp_store_group.AssemblyInfo.cs C:\Users\uwuertz\AI\mcp-client\mcp_store_group\obj\Debug\net9.0\mcp_store_group.csproj.CoreCompileInputs.cache C:\Users\uwuertz\AI\mcp-client\mcp_store_group\obj\Debug\net9.0\mcp_stor.AFB4AA35.Up2Date C:\Users\uwuertz\AI\mcp-client\mcp_store_group\obj\Debug\net9.0\mcp_store_group.dll C:\Users\uwuertz\AI\mcp-client\mcp_store_group\obj\Debug\net9.0\refint\mcp_store_group.dll C:\Users\uwuertz\AI\mcp-client\mcp_store_group\obj\Debug\net9.0\mcp_store_group.pdb C:\Users\uwuertz\AI\mcp-client\mcp_store_group\obj\Debug\net9.0\mcp_store_group.genruntimeconfig.cache C:\Users\uwuertz\AI\mcp-client\mcp_store_group\obj\Debug\net9.0\ref\mcp_store_group.dll ``` -------------------------------------------------------------------------------- /clients/C# .Net/5.2 mcp_delete_user/obj/Debug/net9.0/mcp_delete_user.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- ``` C:\Users\uwuertz\AI\mcp-client\mcp_delete_user\bin\Debug\net9.0\mcp_delete_user.exe C:\Users\uwuertz\AI\mcp-client\mcp_delete_user\bin\Debug\net9.0\mcp_delete_user.deps.json C:\Users\uwuertz\AI\mcp-client\mcp_delete_user\bin\Debug\net9.0\mcp_delete_user.runtimeconfig.json C:\Users\uwuertz\AI\mcp-client\mcp_delete_user\bin\Debug\net9.0\mcp_delete_user.dll C:\Users\uwuertz\AI\mcp-client\mcp_delete_user\bin\Debug\net9.0\mcp_delete_user.pdb C:\Users\uwuertz\AI\mcp-client\mcp_delete_user\bin\Debug\net9.0\Newtonsoft.Json.dll C:\Users\uwuertz\AI\mcp-client\mcp_delete_user\obj\Debug\net9.0\mcp_delete_user.csproj.AssemblyReference.cache C:\Users\uwuertz\AI\mcp-client\mcp_delete_user\obj\Debug\net9.0\mcp_delete_user.GeneratedMSBuildEditorConfig.editorconfig C:\Users\uwuertz\AI\mcp-client\mcp_delete_user\obj\Debug\net9.0\mcp_delete_user.AssemblyInfoInputs.cache C:\Users\uwuertz\AI\mcp-client\mcp_delete_user\obj\Debug\net9.0\mcp_delete_user.AssemblyInfo.cs C:\Users\uwuertz\AI\mcp-client\mcp_delete_user\obj\Debug\net9.0\mcp_delete_user.csproj.CoreCompileInputs.cache C:\Users\uwuertz\AI\mcp-client\mcp_delete_user\obj\Debug\net9.0\mcp_dele.CEB7E33D.Up2Date C:\Users\uwuertz\AI\mcp-client\mcp_delete_user\obj\Debug\net9.0\mcp_delete_user.dll C:\Users\uwuertz\AI\mcp-client\mcp_delete_user\obj\Debug\net9.0\refint\mcp_delete_user.dll C:\Users\uwuertz\AI\mcp-client\mcp_delete_user\obj\Debug\net9.0\mcp_delete_user.pdb C:\Users\uwuertz\AI\mcp-client\mcp_delete_user\obj\Debug\net9.0\mcp_delete_user.genruntimeconfig.cache C:\Users\uwuertz\AI\mcp-client\mcp_delete_user\obj\Debug\net9.0\ref\mcp_delete_user.dll ``` -------------------------------------------------------------------------------- /agents/OpenAI_Compatible_API_Agent/Python/client_tests/vllm_structured.py: -------------------------------------------------------------------------------- ```python import argparse import json import httpx from openai import OpenAI from pydantic import BaseModel from enum import Enum class CarType(str, Enum): sedan = "sedan" suv = "SUV" truck = "Truck" coupe = "Coupe" class CarDescription(BaseModel): brand: str model: str car_type: CarType json_schema = CarDescription.model_json_schema() if __name__ == "__main__": # Create an argument parser to accept command line arguments parser = argparse.ArgumentParser(description="Provide an API key to connect to OpenAI-compatible API.") # Add an argument for the API key, which is required parser.add_argument("--api_key", required=True, help="API key for login") # Add an argument for the base URL of the VLLM server, which is also required parser.add_argument("--base_url", required=True, help="The base url of the VLLM server") # Parse the command line arguments args = parser.parse_args() client = OpenAI( base_url=args.base_url, api_key=args.api_key, http_client=httpx.Client(verify=False) ) completion = client.chat.completions.create( model="/models/mistral-nemo-12b", messages=[ { "role": "user", "content": "Generate a JSON with the brand, model and car_type of the most iconic car from the 80's", } ], extra_body={"guided_json": json_schema}, ) try: results = json.loads(completion.choices[0].message.content) print(json.dumps(results, indent=2)) except: print(completion.choices[0].message.content) ``` -------------------------------------------------------------------------------- /clients/C# .Net/3.2 mcp_list_sources/obj/Debug/net9.0/mcp_list_sources.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- ``` C:\Users\uwuertz\AI\mcp-client\mcp_list_sources\bin\Debug\net9.0\mcp_list_sources.exe C:\Users\uwuertz\AI\mcp-client\mcp_list_sources\bin\Debug\net9.0\mcp_list_sources.deps.json C:\Users\uwuertz\AI\mcp-client\mcp_list_sources\bin\Debug\net9.0\mcp_list_sources.runtimeconfig.json C:\Users\uwuertz\AI\mcp-client\mcp_list_sources\bin\Debug\net9.0\mcp_list_sources.dll C:\Users\uwuertz\AI\mcp-client\mcp_list_sources\bin\Debug\net9.0\mcp_list_sources.pdb C:\Users\uwuertz\AI\mcp-client\mcp_list_sources\bin\Debug\net9.0\Newtonsoft.Json.dll C:\Users\uwuertz\AI\mcp-client\mcp_list_sources\obj\Debug\net9.0\mcp_list_sources.csproj.AssemblyReference.cache C:\Users\uwuertz\AI\mcp-client\mcp_list_sources\obj\Debug\net9.0\mcp_list_sources.GeneratedMSBuildEditorConfig.editorconfig C:\Users\uwuertz\AI\mcp-client\mcp_list_sources\obj\Debug\net9.0\mcp_list_sources.AssemblyInfoInputs.cache C:\Users\uwuertz\AI\mcp-client\mcp_list_sources\obj\Debug\net9.0\mcp_list_sources.AssemblyInfo.cs C:\Users\uwuertz\AI\mcp-client\mcp_list_sources\obj\Debug\net9.0\mcp_list_sources.csproj.CoreCompileInputs.cache C:\Users\uwuertz\AI\mcp-client\mcp_list_sources\obj\Debug\net9.0\mcp_list.A720E197.Up2Date C:\Users\uwuertz\AI\mcp-client\mcp_list_sources\obj\Debug\net9.0\mcp_list_sources.dll C:\Users\uwuertz\AI\mcp-client\mcp_list_sources\obj\Debug\net9.0\refint\mcp_list_sources.dll C:\Users\uwuertz\AI\mcp-client\mcp_list_sources\obj\Debug\net9.0\mcp_list_sources.pdb C:\Users\uwuertz\AI\mcp-client\mcp_list_sources\obj\Debug\net9.0\mcp_list_sources.genruntimeconfig.cache C:\Users\uwuertz\AI\mcp-client\mcp_list_sources\obj\Debug\net9.0\ref\mcp_list_sources.dll ``` -------------------------------------------------------------------------------- /clients/C# .Net/4.2 mcp_delete_group/obj/Debug/net9.0/mcp_delete_group.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- ``` C:\Users\uwuertz\AI\mcp-client\mcp_delete_group\bin\Debug\net9.0\mcp_delete_group.exe C:\Users\uwuertz\AI\mcp-client\mcp_delete_group\bin\Debug\net9.0\mcp_delete_group.deps.json C:\Users\uwuertz\AI\mcp-client\mcp_delete_group\bin\Debug\net9.0\mcp_delete_group.runtimeconfig.json C:\Users\uwuertz\AI\mcp-client\mcp_delete_group\bin\Debug\net9.0\mcp_delete_group.dll C:\Users\uwuertz\AI\mcp-client\mcp_delete_group\bin\Debug\net9.0\mcp_delete_group.pdb C:\Users\uwuertz\AI\mcp-client\mcp_delete_group\bin\Debug\net9.0\Newtonsoft.Json.dll C:\Users\uwuertz\AI\mcp-client\mcp_delete_group\obj\Debug\net9.0\mcp_delete_group.csproj.AssemblyReference.cache C:\Users\uwuertz\AI\mcp-client\mcp_delete_group\obj\Debug\net9.0\mcp_delete_group.GeneratedMSBuildEditorConfig.editorconfig C:\Users\uwuertz\AI\mcp-client\mcp_delete_group\obj\Debug\net9.0\mcp_delete_group.AssemblyInfoInputs.cache C:\Users\uwuertz\AI\mcp-client\mcp_delete_group\obj\Debug\net9.0\mcp_delete_group.AssemblyInfo.cs C:\Users\uwuertz\AI\mcp-client\mcp_delete_group\obj\Debug\net9.0\mcp_delete_group.csproj.CoreCompileInputs.cache C:\Users\uwuertz\AI\mcp-client\mcp_delete_group\obj\Debug\net9.0\mcp_dele.FE1C6298.Up2Date C:\Users\uwuertz\AI\mcp-client\mcp_delete_group\obj\Debug\net9.0\mcp_delete_group.dll C:\Users\uwuertz\AI\mcp-client\mcp_delete_group\obj\Debug\net9.0\refint\mcp_delete_group.dll C:\Users\uwuertz\AI\mcp-client\mcp_delete_group\obj\Debug\net9.0\mcp_delete_group.pdb C:\Users\uwuertz\AI\mcp-client\mcp_delete_group\obj\Debug\net9.0\mcp_delete_group.genruntimeconfig.cache C:\Users\uwuertz\AI\mcp-client\mcp_delete_group\obj\Debug\net9.0\ref\mcp_delete_group.dll ```