Skip to content

Commit 58b5d51

Browse files
authored
docs: fix mcp config name (better-auth#7067)
1 parent e0e120a commit 58b5d51

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/content/docs/introduction.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Alternatively, you can manually configure the MCP server for each client:
6969
{
7070
"$schema": "https://opencode.ai/config.json",
7171
"mcp": {
72-
"Better Auth": {
72+
"better-auth": {
7373
"type": "remote",
7474
"url": "https://mcp.chonkie.ai/better-auth/better-auth-builder/mcp",
7575
"enabled": true,
@@ -81,7 +81,7 @@ Alternatively, you can manually configure the MCP server for each client:
8181
<Tab value="Manual">
8282
```json title="mcp.json"
8383
{
84-
"Better Auth": {
84+
"better-auth": {
8585
"url": "https://mcp.chonkie.ai/better-auth/better-auth-builder/mcp"
8686
}
8787
}

packages/cli/src/commands/mcp.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ interface MCPOptions {
1515

1616
async function mcpAction(options: MCPOptions) {
1717
const mcpUrl = "https://mcp.chonkie.ai/better-auth/better-auth-builder/mcp";
18-
const mcpName = "Better Auth";
18+
const mcpName = "better-auth";
1919

2020
if (options.cursor) {
2121
await handleCursorAction(mcpUrl, mcpName);
@@ -121,7 +121,7 @@ function handleOpenCodeAction(mcpUrl: string) {
121121
const openCodeConfig = {
122122
$schema: "https://opencode.ai/config.json",
123123
mcp: {
124-
"Better Auth": {
124+
"better-auth": {
125125
type: "remote",
126126
url: mcpUrl,
127127
enabled: true,

0 commit comments

Comments
 (0)