Files
teleport/lib/utils
Gabriel Corado 639992c6c5 Initial PostgreSQL MCP support (#54431)
* feat(mcp): initial postgres mcp

* test(postgres): fix missing mock function

* fix(gomod): go mod tidy all

* refactor: code review suggestions

* fix(tsh): mcp init missing logger

* chore(tsh): missing other route to database field

* refactor: use in-memory net listener

* test(tsh): add mcp db command test

* chore: fix license

* refactor(tsh): move logger init

* test(mcp): sort slices to avoid flakiness

* chore: fix lint

* test(mcp): sort the resources before assertion

* fix(mcp): update error handler for better message

* refactor: code review suggestions

* feat: add external error retriever for more accurate error messages

* refactor: use the same logger init for mcp purposes

* refactor: code review suggestions

* refactor(tsh): rename command to `tsh mcp db start`

* refactor(mcp): protect database resources with rw mutex

* chore: update server godocs

* chore: go mod tidy

* refactor: update command to take list of databases

* chore(mcp): license

* chore(tsh): remove unused function

* refactor: code review suggestions

* refactor(tsh): validate duplicated databases in MCP configuration

* refactor(tsh): rename files to mcp_db

* feat(mcp): add cluster name to the database resource
2025-06-04 21:17:22 +00:00
..
2024-12-19 15:08:04 +00:00
2024-12-19 15:08:04 +00:00
2025-05-07 22:14:51 +00:00
2024-12-19 15:08:04 +00:00
2025-05-07 22:14:51 +00:00
2025-06-04 21:17:22 +00:00
2024-12-19 15:08:04 +00:00
2025-01-16 18:17:35 +00:00
2025-05-07 22:14:51 +00:00