Skip to content

docs: MCP clients guides#56828

Merged
gabrielcorado merged 10 commits intomasterfrom
gabrielcorado/mcp-client-docs
Jul 21, 2025
Merged

docs: MCP clients guides#56828
gabrielcorado merged 10 commits intomasterfrom
gabrielcorado/mcp-client-docs

Conversation

@gabrielcorado
Copy link
Copy Markdown
Contributor

@gabrielcorado gabrielcorado commented Jul 16, 2025

Related to #54705 and #56585

Adds guides on how to configure MCP clients to use the MCP server access and MCP server for Database Access.

Preview

@gabrielcorado gabrielcorado added no-changelog Indicates that a PR does not require a changelog entry MCP MCP Server related labels Jul 16, 2025
@github-actions github-actions Bot requested review from mmcallister and zmb3 July 16, 2025 01:23
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jul 16, 2025

Amplify deployment status

Branch Commit Job ID Status Preview Updated (UTC)
gabrielcorado/mcp-client-docs 82a5a1d 8 ✅SUCCEED gabrielcorado-mcp-client-docs 2025-07-21 20:55:45

Comment thread docs/pages/model-context-protocol/mcp-access.mdx Outdated
Comment thread docs/pages/model-context-protocol/database-access.mdx Outdated
Comment thread docs/pages/model-context-protocol/database-access.mdx
Comment thread docs/pages/model-context-protocol/database-access.mdx Outdated
@mmcallister
Copy link
Copy Markdown
Contributor

Looks good! Made some suggestions and minor fixes

Copy link
Copy Markdown
Contributor

@Tener Tener left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is noticeable overlap with #55775 for things like configuration and troubleshooting. Maybe rebase one PR on top of another and provide linkage?

@@ -0,0 +1,207 @@
---
title: MCP Access
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"MCP Access" sounds nebulous; the guide discusses MCP clients, so maybe rename to something like this? Not quite sure what proper title should be.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The idea was to assign a name to what is being accessed, as we have our MCPs (database access) and MCP servers, which Teleport serves. For the latter, I assume we're referring to it as "MCP Access".

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think putting these under User Guides alongside with like database gui clients, and Teleport Connect? We can combine them into one guide too like MCP Clients.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll move them, but keep the "root" link too, as per the comment on the other PR.

I don't see any problem with combining them. I want to ensure both have the same visibility, and having a larger single page (similar to the Database Access through WebUI) might not provide enough visibility for the guide that comes second. What do you think?

Comment thread docs/pages/model-context-protocol/mcp-access.mdx
Comment thread docs/pages/model-context-protocol/mcp-access.mdx Outdated
Comment thread docs/pages/model-context-protocol/database-access.mdx Outdated
Comment thread docs/pages/model-context-protocol/database-access.mdx Outdated
```
</TabItem>

<TabItem label="Others">
Copy link
Copy Markdown
Contributor

@greedy52 greedy52 Jul 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i would move this tab to be the first tab (or even before the tabs), but emphasis on tsh mcp connect <app-name> at the beginning of the section with a json example (and maybe even take an <Var name="my-mcp-server" />). and then provide the tsh mcp config example after that. tsh mcp config is a helper command after all so you don't really have to use it.

tsh mcp db config on the other hand generates resource URIs that are hard to handcraft so it's ok for the db guide to suggesting always using that.

Comment on lines +19 to +22
Since language models can execute any query on your database, we advise creating
a database user with only the permissions you want the models to have. Setting
up a user with read-only permissions will help prevent accidental changes to
your database.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would consider making this into a warning admonition.

Also, should we extend this section to give an example of an appropriate read-only role to create in Postgres and Teleport?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated it and added an example of a PostgreSQL script to create a read-only user. I also added references to auto-user provisioning and DAC.

Comment thread docs/pages/connect-your-client/model-context-protocol/database-access.mdx Outdated

(!docs/pages/includes/edition-prereqs-tabs.mdx!)

- The Teleport MCP Access configured. See our guides for how to set up the MCP
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd make this more specific than "see our guides". I'd say "Follow the [xxx] guide to connect MCP server to Teleport" with a link to the guide.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i can add this link on my PR. it's like a chicken-egg that my PR needs a link from here...

Comment thread docs/pages/connect-your-client/model-context-protocol/database-access.mdx Outdated
Comment thread docs/pages/connect-your-client/model-context-protocol/database-access.mdx Outdated
Comment thread docs/pages/connect-your-client/model-context-protocol/database-access.mdx Outdated
Comment thread docs/pages/connect-your-client/model-context-protocol/mcp-access.mdx Outdated
Co-authored-by: Roman Tkachenko <roman@goteleport.com>
Co-authored-by: STeve (Xin) Huang <xin.huang@goteleport.com>
@gabrielcorado gabrielcorado added this pull request to the merge queue Jul 21, 2025
Merged via the queue into master with commit dec7e9f Jul 21, 2025
41 checks passed
@gabrielcorado gabrielcorado deleted the gabrielcorado/mcp-client-docs branch July 21, 2025 23:42
@backport-bot-workflows
Copy link
Copy Markdown
Contributor

@gabrielcorado See the table below for backport results.

Branch Result
branch/v18 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/branch/v18 documentation MCP MCP Server related no-changelog Indicates that a PR does not require a changelog entry size/md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants