?????????????? ????????????????
???????? ?????????????? MCP ???????????? ???????? ???????????????? ?????????????????? ???? ?????????? ???????????????? relationial?? ???????????????? ???? ?????????? ?????????????? (AWS, GCP). ???????????? ?????????????? ?????????? ?????? ?????????? ???? directory ?????????????? ?????????????? ???????????? ?????? Playwright ?? genai-toolbox.
?????? 1: ?????????? ?????????????? ???????????????? Playwright MCP
???????????? 1: ?????????? ????????????: `npm install @model-context-protocol/playwright`. ???????????? 2: ?????????? ???????????? ???? ?????????????? ????ETADATA:name: 'playwright-browser', description: 'Control headless Chrome/Chromium', input: [{name: 'url', type: 'string'}, {name: 'action', type: 'string'}], output: [{name: 'result', type: 'any'}]. ???????????? 3: ?????????????? ???????????? ???? ????????????: `await client.call('playwright-browser', {url: 'https://example.com', action: 'click'})`. ???????????? 4: ???????????? ?????????????? ???????????? ???? ??????????????.
?????? 2: ?????????????????? ???? ?????????? ???????????????? ???????????????? genai-toolbox
???????????? 1: ?????????? serveur genai-toolbox ?????? ?????????? MCP. ???????????? 2: ?????????? ???????? ?????????????????? ????ETADATA:name: 'query-sql', description: 'Execute a SQL query', input: [{name: 'sql', type: 'string'}], output: [{name: 'rows', type: 'any'}]. ???????????? 3: ?????????????? ????????????: `await client.call('query-sql', {sql: 'SELECT * FROM users WHERE age > 30'})`. ???????????? 4: ?????????? ?????????????? ???? ?????????? ????????????????.
?????? 3: ?????????? ?????????????? (AWS SDK)
???????????? 1: ?????????? ???????????? AWS ???? Secrets ???? ??????????????. ???????????? 2: ?????????? ???????? S3 Upload ????ETADATA:name: 'upload-s3', description: 'Upload a file to S3 bucket', input: [{name: 'filePath', type: 'string'}, {name: 'bucket', type: 'string'}], output: [{name: 'uploadId', type: 'string'}]. ???????????? 3: ?????????????? ????????????: `await client.call('upload-s3', {filePath: '/local/file.txt', bucket: 'my-backup-bucket'})`. ???????????? 4: ????????ify ???????? ?????????? ???? ???????? ???????? S3.
???????? ??????????????????
???always define tools with complete METADATA (name, description, input, output) ??????????????? Secrets ???????????? ???????????????? ?????????????? never hardcode API keys ???Validate all inputs on the server before processing ??????????????? TLS everywhere ?????????????? between client and server ???Record all tool calls for audit and debugging purposes
?????????? ??????????
1. ???? ?????? ???????????? ???????????? ???????????????????? ???????????? ?????????? ???? ?????????????? ???????????? ?????????? b??sica ????JavaScript ??MCP protocol. 2. ???? ???????????? ?????????????? ?????? ???????????? ???? ???????????? ?????????????? ???????? ???????????? ???????? ???????????????????? ?????????????? ???? ?????????????? ?????? ????????????. 3. ???? ?????????? ?????????? ?????????????? ?????????????? ?????????? ?????????????? ?????????????????? ?????????????? ???? directory ?????????? ?????????? ??????????.
?????????? ????????????
???????????????????? ?????????? ???????????? ???? MCP: ???????? ?????????? browser automation ???????????? database query (???????? ????????????). ???????????????????? ????????????????: ?????? ???????????? ?????? [???????? ????????????](/en/ask) ???????????? ?????????? ?????????????????? ???????????????? ????????????.