Skip to content

Commit 8c55a8c

Browse files
committed
Update documentation and examples from tokenSetup to userAuthentication
1 parent 134cd62 commit 8c55a8c

File tree

6 files changed

+16
-8
lines changed

6 files changed

+16
-8
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ Some MCP servers are better to use with each users having their own integration
150150
"notion": {
151151
"transportType": "stdio",
152152
"requiresUserToken": true,
153-
"tokenSetup": {
153+
"userAuthentication": {
154+
"type": "manual",
154155
"displayName": "Notion Integration Token",
155156
"instructions": "Create an integration and copy the token",
156157
"helpUrl": "https://www.notion.so/my-integrations"

config-oauth.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
"notion": {
3333
"transportType": "stdio",
3434
"requiresUserToken": true,
35-
"tokenSetup": {
35+
"userAuthentication": {
36+
"type": "manual",
3637
"displayName": "Notion Integration Token",
3738
"instructions": "Create an integration at https://www.notion.so/my-integrations and copy the token",
3839
"helpUrl": "https://developers.notion.com/docs/create-a-notion-integration"

config-user-tokens-example.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
"OPENAPI_MCP_HEADERS": {"$userToken": "{\"Authorization\": \"Bearer {{token}}\"}"}
2929
},
3030
"requiresUserToken": true,
31-
"tokenSetup": {
31+
"userAuthentication": {
32+
"type": "manual",
3233
"displayName": "Notion API Token",
3334
"instructions": "Enter your Notion API token. You can find this at https://www.notion.so/my-integrations",
3435
"helpUrl": "https://developers.notion.com/docs/authorization",
@@ -43,7 +44,8 @@
4344
"GITHUB_TOKEN": {"$userToken": "{{token}}"}
4445
},
4546
"requiresUserToken": true,
46-
"tokenSetup": {
47+
"userAuthentication": {
48+
"type": "manual",
4749
"displayName": "GitHub Personal Access Token",
4850
"instructions": "Create a personal access token at https://github.com/settings/tokens",
4951
"helpUrl": "https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token",

docs-site/src/content/docs/configuration.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,8 @@ Use the `options` field for additional configuration:
185185
"X-API-Key": { "$env": "DB_API_KEY" }
186186
},
187187
"requiresUserToken": true,
188-
"tokenSetup": {
188+
"userAuthentication": {
189+
"type": "manual",
189190
"displayName": "Database Token",
190191
"instructions": "Get your token from the admin panel",
191192
"helpUrl": "https://db.company.com/tokens"

integration/config/config.oauth-token-test.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"transportType": "sse",
2525
"url": "https://notion-mcp.example.com",
2626
"requiresUserToken": true,
27-
"tokenSetup": {
27+
"userAuthentication": {
28+
"type": "manual",
2829
"displayName": "Notion",
2930
"instructions": "Create a Notion integration token",
3031
"helpUrl": "https://developers.notion.com",
@@ -35,7 +36,8 @@
3536
"transportType": "sse",
3637
"url": "https://github-mcp.example.com",
3738
"requiresUserToken": true,
38-
"tokenSetup": {
39+
"userAuthentication": {
40+
"type": "manual",
3941
"displayName": "GitHub",
4042
"instructions": "Create a GitHub personal access token",
4143
"helpUrl": "https://github.com/settings/tokens"

integration/config/config.oauth-usertoken-tools-test.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636
"USER_TOKEN": {"$userToken": "{{token}}"}
3737
},
3838
"requiresUserToken": true,
39-
"tokenSetup": {
39+
"userAuthentication": {
40+
"type": "manual",
4041
"displayName": "Test Service",
4142
"instructions": "Enter your test token",
4243
"helpUrl": "https://example.com/help"

0 commit comments

Comments
 (0)