├── .gitignore ├── .idea ├── .gitignore ├── encodings.xml ├── gradle.xml ├── misc.xml └── vcs.xml ├── chat-frontend ├── .editorconfig ├── .gitignore ├── README.md ├── angular.json ├── package-lock.json ├── package.json ├── public │ └── favicon.ico ├── src │ ├── app │ │ ├── app.component.css │ │ ├── app.component.html │ │ ├── app.component.spec.ts │ │ ├── app.component.ts │ │ ├── app.config.ts │ │ ├── app.routes.ts │ │ ├── components │ │ │ └── chat │ │ │ │ ├── chat.component.css │ │ │ │ ├── chat.component.html │ │ │ │ ├── chat.component.spec.ts │ │ │ │ └── chat.component.ts │ │ └── services │ │ │ ├── chat.service.spec.ts │ │ │ └── chat.service.ts │ ├── index.html │ ├── main.ts │ └── styles.css ├── tsconfig.app.json ├── tsconfig.json └── tsconfig.spec.json ├── mcp-client ├── .gitattributes ├── .gitignore ├── .mvn │ └── wrapper │ │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── net │ │ │ └── youssfi │ │ │ └── mcpclient │ │ │ ├── McpClientApplication.java │ │ │ ├── agents │ │ │ └── MyAIAgent.java │ │ │ ├── config │ │ │ └── CorsConfig.java │ │ │ └── controllers │ │ │ ├── AiWebAPIController.java │ │ │ └── ChatController.java │ └── resources │ │ ├── application.properties │ │ ├── mcp-servers.json │ │ └── templates │ │ └── chat.html │ └── test │ └── java │ └── net │ └── youssfi │ └── mcpclient │ └── McpClientApplicationTests.java ├── moi └── data.txt ├── pom.xml ├── pyproject.toml ├── python-mcp-server ├── .python-version ├── README.md ├── __pycache__ │ └── server.cpython-311.pyc ├── main.py ├── pyproject.toml ├── server.py └── uv.lock ├── src └── main │ └── java │ └── net │ └── youssfi │ └── Main.java ├── sse-mcp-server ├── .gitattributes ├── .gitignore ├── .mvn │ └── wrapper │ │ └── maven-wrapper.properties ├── mvnw ├── mvnw.cmd ├── pom.xml └── src │ ├── main │ ├── java │ │ └── net │ │ │ └── youssfi │ │ │ └── ssemcpserver │ │ │ ├── SseMcpServerApplication.java │ │ │ └── tools │ │ │ └── StockExchangeService.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── net │ └── youssfi │ └── ssemcpserver │ └── SseMcpServerApplicationTests.java └── uv.lock /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/.idea/.gitignore -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/.idea/encodings.xml -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/.idea/gradle.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /chat-frontend/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/chat-frontend/.editorconfig -------------------------------------------------------------------------------- /chat-frontend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/chat-frontend/.gitignore -------------------------------------------------------------------------------- /chat-frontend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/chat-frontend/README.md -------------------------------------------------------------------------------- /chat-frontend/angular.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/chat-frontend/angular.json -------------------------------------------------------------------------------- /chat-frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/chat-frontend/package-lock.json -------------------------------------------------------------------------------- /chat-frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/chat-frontend/package.json -------------------------------------------------------------------------------- /chat-frontend/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/chat-frontend/public/favicon.ico -------------------------------------------------------------------------------- /chat-frontend/src/app/app.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chat-frontend/src/app/app.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/chat-frontend/src/app/app.component.html -------------------------------------------------------------------------------- /chat-frontend/src/app/app.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/chat-frontend/src/app/app.component.spec.ts -------------------------------------------------------------------------------- /chat-frontend/src/app/app.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/chat-frontend/src/app/app.component.ts -------------------------------------------------------------------------------- /chat-frontend/src/app/app.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/chat-frontend/src/app/app.config.ts -------------------------------------------------------------------------------- /chat-frontend/src/app/app.routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/chat-frontend/src/app/app.routes.ts -------------------------------------------------------------------------------- /chat-frontend/src/app/components/chat/chat.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/chat-frontend/src/app/components/chat/chat.component.css -------------------------------------------------------------------------------- /chat-frontend/src/app/components/chat/chat.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/chat-frontend/src/app/components/chat/chat.component.html -------------------------------------------------------------------------------- /chat-frontend/src/app/components/chat/chat.component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/chat-frontend/src/app/components/chat/chat.component.spec.ts -------------------------------------------------------------------------------- /chat-frontend/src/app/components/chat/chat.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/chat-frontend/src/app/components/chat/chat.component.ts -------------------------------------------------------------------------------- /chat-frontend/src/app/services/chat.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/chat-frontend/src/app/services/chat.service.spec.ts -------------------------------------------------------------------------------- /chat-frontend/src/app/services/chat.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/chat-frontend/src/app/services/chat.service.ts -------------------------------------------------------------------------------- /chat-frontend/src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/chat-frontend/src/index.html -------------------------------------------------------------------------------- /chat-frontend/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/chat-frontend/src/main.ts -------------------------------------------------------------------------------- /chat-frontend/src/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/chat-frontend/src/styles.css -------------------------------------------------------------------------------- /chat-frontend/tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/chat-frontend/tsconfig.app.json -------------------------------------------------------------------------------- /chat-frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/chat-frontend/tsconfig.json -------------------------------------------------------------------------------- /chat-frontend/tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/chat-frontend/tsconfig.spec.json -------------------------------------------------------------------------------- /mcp-client/.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/mcp-client/.gitattributes -------------------------------------------------------------------------------- /mcp-client/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/mcp-client/.gitignore -------------------------------------------------------------------------------- /mcp-client/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/mcp-client/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /mcp-client/mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/mcp-client/mvnw -------------------------------------------------------------------------------- /mcp-client/mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/mcp-client/mvnw.cmd -------------------------------------------------------------------------------- /mcp-client/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/mcp-client/pom.xml -------------------------------------------------------------------------------- /mcp-client/src/main/java/net/youssfi/mcpclient/McpClientApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/mcp-client/src/main/java/net/youssfi/mcpclient/McpClientApplication.java -------------------------------------------------------------------------------- /mcp-client/src/main/java/net/youssfi/mcpclient/agents/MyAIAgent.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/mcp-client/src/main/java/net/youssfi/mcpclient/agents/MyAIAgent.java -------------------------------------------------------------------------------- /mcp-client/src/main/java/net/youssfi/mcpclient/config/CorsConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/mcp-client/src/main/java/net/youssfi/mcpclient/config/CorsConfig.java -------------------------------------------------------------------------------- /mcp-client/src/main/java/net/youssfi/mcpclient/controllers/AiWebAPIController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/mcp-client/src/main/java/net/youssfi/mcpclient/controllers/AiWebAPIController.java -------------------------------------------------------------------------------- /mcp-client/src/main/java/net/youssfi/mcpclient/controllers/ChatController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/mcp-client/src/main/java/net/youssfi/mcpclient/controllers/ChatController.java -------------------------------------------------------------------------------- /mcp-client/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/mcp-client/src/main/resources/application.properties -------------------------------------------------------------------------------- /mcp-client/src/main/resources/mcp-servers.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/mcp-client/src/main/resources/mcp-servers.json -------------------------------------------------------------------------------- /mcp-client/src/main/resources/templates/chat.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/mcp-client/src/main/resources/templates/chat.html -------------------------------------------------------------------------------- /mcp-client/src/test/java/net/youssfi/mcpclient/McpClientApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/mcp-client/src/test/java/net/youssfi/mcpclient/McpClientApplicationTests.java -------------------------------------------------------------------------------- /moi/data.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/pom.xml -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/pyproject.toml -------------------------------------------------------------------------------- /python-mcp-server/.python-version: -------------------------------------------------------------------------------- 1 | 3.10 2 | -------------------------------------------------------------------------------- /python-mcp-server/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /python-mcp-server/__pycache__/server.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/python-mcp-server/__pycache__/server.cpython-311.pyc -------------------------------------------------------------------------------- /python-mcp-server/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/python-mcp-server/main.py -------------------------------------------------------------------------------- /python-mcp-server/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/python-mcp-server/pyproject.toml -------------------------------------------------------------------------------- /python-mcp-server/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/python-mcp-server/server.py -------------------------------------------------------------------------------- /python-mcp-server/uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/python-mcp-server/uv.lock -------------------------------------------------------------------------------- /src/main/java/net/youssfi/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/src/main/java/net/youssfi/Main.java -------------------------------------------------------------------------------- /sse-mcp-server/.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/sse-mcp-server/.gitattributes -------------------------------------------------------------------------------- /sse-mcp-server/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/sse-mcp-server/.gitignore -------------------------------------------------------------------------------- /sse-mcp-server/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/sse-mcp-server/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /sse-mcp-server/mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/sse-mcp-server/mvnw -------------------------------------------------------------------------------- /sse-mcp-server/mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/sse-mcp-server/mvnw.cmd -------------------------------------------------------------------------------- /sse-mcp-server/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/sse-mcp-server/pom.xml -------------------------------------------------------------------------------- /sse-mcp-server/src/main/java/net/youssfi/ssemcpserver/SseMcpServerApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/sse-mcp-server/src/main/java/net/youssfi/ssemcpserver/SseMcpServerApplication.java -------------------------------------------------------------------------------- /sse-mcp-server/src/main/java/net/youssfi/ssemcpserver/tools/StockExchangeService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/sse-mcp-server/src/main/java/net/youssfi/ssemcpserver/tools/StockExchangeService.java -------------------------------------------------------------------------------- /sse-mcp-server/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/sse-mcp-server/src/main/resources/application.properties -------------------------------------------------------------------------------- /sse-mcp-server/src/test/java/net/youssfi/ssemcpserver/SseMcpServerApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/sse-mcp-server/src/test/java/net/youssfi/ssemcpserver/SseMcpServerApplicationTests.java -------------------------------------------------------------------------------- /uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohamedYoussfi/mcp-server-client-spring-ai/HEAD/uv.lock --------------------------------------------------------------------------------