Skip to content

Commit de67c8d

Browse files
Merge pull request #6048 from ranuka-laksika/mcp_auth_quickstart
2 parents 5ed2846 + 1440b0f commit de67c8d

15 files changed

Lines changed: 428 additions & 45 deletions

File tree

en/asgardeo/docs/quick-starts/mcp-auth-server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ template: templates/quick-start.html
55
<script>
66
const meta = {
77
what_you_will_learn: [
8-
"Create a new MCP server in Typescript",
8+
"Create a new MCP server in TypeScript",
99
"Defines an MCP tool that adds two numbers",
1010
"Install <a href='https://www.npmjs.com/package/@asgardeo/mcp-express' target='_blank' rel='noopener noreferrer'>Asgardeo MCP SDK</a>",
1111
"Set up MCP authorization with {{ product_name }}"
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
template: templates/quick-start.html
3+
---
4+
5+
<script>
6+
const meta = {
7+
what_you_will_learn: [
8+
"Authenticate AI agents with {{ product_name }}",
9+
"Use agent credentials or On-Behalf-Of (OBO) authentication flows",
10+
"Connect authenticated agents to secure MCP servers",
11+
"Invoke MCP tools safely from modern AI agent frameworks"
12+
],
13+
prerequisites: [
14+
"About 15 minutes",
15+
"A <a href='{{ base_path }}/get-started/quick-set-up/'>{{ product_name }} setup</a>",
16+
"Python 3.10 or later installed on your system",
17+
"pip or another Python package manager",
18+
"A text editor or IDE",
19+
"An MCP server secured with {{ product_name }} (you may use your own or follow the <a href='{{ base_path }}/quick-starts/mcp-auth-server-py/'>MCP Server Auth quickstart</a>)"
20+
],
21+
source_code: "<a href='https://github.com/wso2/iam-ai-samples/tree/main/agent-identity/python' target='_blank' class='github-icon'>Agent-Auth Python Sample</a>"
22+
};
23+
</script>
24+
25+
{% include "../../../../includes/quick-starts/agent-auth-py.md" %}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
template: templates/quick-start.html
3+
---
4+
5+
<script>
6+
const meta = {
7+
what_you_will_learn: [
8+
"Authenticate AI agents with {{ product_name }}",
9+
"Use agent credentials or On-Behalf-Of (OBO) authentication flows",
10+
"Connect authenticated agents to secure MCP servers",
11+
"Invoke MCP tools safely from modern AI agent frameworks"
12+
],
13+
prerequisites: [
14+
"About 15 minutes",
15+
"A <a href='{{ base_path }}/get-started/quick-set-up/'>{{ product_name }} setup</a>",
16+
"Node.js installed on your system",
17+
"Make sure you have a JavaScript package manager like npm, yarn, or pnpm",
18+
"A text editor or IDE",
19+
"An MCP server secured with {{ product_name }} (you may use your own or follow the <a href='{{ base_path }}/quick-starts/mcp-auth-server/'>MCP Server Auth quickstart</a>)"
20+
],
21+
source_code: "<a href='https://github.com/wso2/iam-ai-samples/tree/main/agent-identity/typescript' target='_blank' class='github-icon'>Agent-Auth TypeScript Sample</a>"
22+
};
23+
</script>
24+
25+
{% include "../../../../includes/quick-starts/agent-auth-ts.md" %}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
template: templates/quick-start.html
3+
---
4+
5+
<script>
6+
const meta = {
7+
what_you_will_learn: [
8+
"Set up a secure MCP server using Python",
9+
"Connect your MCP server to {{ product_name }} for authentication",
10+
"Access MCP tools and resources securely"
11+
],
12+
prerequisites: [
13+
"About 15 minutes",
14+
"<a href='{{ base_path }}/get-started/quick-set-up/'>Set up {{ product_name }}</a>",
15+
"Install Python 3.10 or later on your system",
16+
"Python package manager (e:g.: pip) installed",
17+
"A text editor or IDE"
18+
],
19+
source_code: "<a href='https://github.com/wso2/iam-ai-samples/tree/main/mcp-auth/python' target='_blank' class='github-icon'>MCP-Auth Python Sample</a>"
20+
};
21+
</script>
22+
23+
{% include "../../../../includes/quick-starts/mcp-auth-server-py.md" %}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
template: templates/quick-start.html
3+
---
4+
5+
<script>
6+
const meta = {
7+
what_you_will_learn: [
8+
"Create a new MCP server in TypeScript",
9+
"Defines an MCP tool that adds two numbers",
10+
"Install <a href='https://www.npmjs.com/package/@asgardeo/mcp-express' target='_blank' rel='noopener noreferrer'>Asgardeo MCP SDK</a>",
11+
"Set up MCP authorization with {{ product_name }}"
12+
],
13+
prerequisites: [
14+
"About 15 minutes",
15+
"<a href='{{ base_path }}/get-started/quick-set-up/'>Set up {{ product_name }}</a>",
16+
"Install Node.js on your system",
17+
"Make sure you have a JavaScript package manager like npm, yarn, or pnpm",
18+
"A text editor or IDE"
19+
],
20+
source_code: "<a href='https://github.com/wso2/iam-ai-samples/tree/main/mcp-auth/typescript' target='_blank' class='github-icon'>MCP-Auth Sample</a>"
21+
};
22+
</script>
23+
24+
{% include "../../../../includes/quick-starts/mcp-auth-server.md" %}

en/identity-server/7.2.0/mkdocs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,12 @@ nav:
575575
- OIDC Java EE: get-started/try-samples/qsg-oidc-webapp-java-ee.md
576576
- SAML Java EE: get-started/try-samples/qsg-saml-webapp-java-ee.md
577577
- WS-Federation: get-started/try-samples/ws-federation-webapp.md
578+
- Secure MCP Servers:
579+
- TypeScript: quick-starts/mcp-auth-server.md
580+
- Python: quick-starts/mcp-auth-server-py.md
581+
- Secure Your AI Agents:
582+
- Python: quick-starts/agent-auth-py.md
583+
- TypeScript: quick-starts/agent-auth-ts.md
578584
- Subscribe to AI features: get-started/subscribe-to-ai-features.md
579585
- About this release: get-started/about-this-release.md
580586
- Guides:
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
template: templates/quick-start.html
3+
---
4+
5+
<script>
6+
const meta = {
7+
what_you_will_learn: [
8+
"Authenticate AI agents with {{ product_name }}",
9+
"Use agent credentials or On-Behalf-Of (OBO) authentication flows",
10+
"Connect authenticated agents to secure MCP servers",
11+
"Invoke MCP tools safely from modern AI agent frameworks"
12+
],
13+
prerequisites: [
14+
"About 15 minutes",
15+
"A <a href='{{ base_path }}/get-started/quick-set-up/'>{{ product_name }} setup</a>",
16+
"Python 3.10 or later installed on your system",
17+
"pip or another Python package manager",
18+
"A text editor or IDE",
19+
"An MCP server secured with {{ product_name }} (you may use your own or follow the [MCP Auth Server quickstart]({{base_path}}/quick-starts/mcp-auth-server-py))"
20+
],
21+
source_code: "<a href='https://github.com/wso2/iam-ai-samples/tree/main/agent-identity/python' target='_blank' class='github-icon'>Agent-Auth Python Sample</a>"
22+
};
23+
</script>
24+
25+
{% include "../../../../includes/quick-starts/agent-auth-py.md" %}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
template: templates/quick-start.html
3+
---
4+
5+
<script>
6+
const meta = {
7+
what_you_will_learn: [
8+
"Authenticate AI agents with {{ product_name }}",
9+
"Use agent credentials or On-Behalf-Of (OBO) authentication flows",
10+
"Connect authenticated agents to secure MCP servers",
11+
"Invoke MCP tools safely from modern AI agent frameworks"
12+
],
13+
prerequisites: [
14+
"About 15 minutes",
15+
"A <a href='{{ base_path }}/get-started/quick-set-up/'>{{ product_name }} setup</a>",
16+
"Node.js installed on your system",
17+
"Make sure you have a JavaScript package manager like npm, yarn, or pnpm",
18+
"A text editor or IDE",
19+
"An MCP server secured with {{ product_name }} (you may use your own or follow the [MCP Auth Server quickstart]({{base_path}}/quick-starts/mcp-auth-server))"
20+
],
21+
source_code: "<a href='https://github.com/wso2/iam-ai-samples/tree/main/agent-identity/typescript' target='_blank' class='github-icon'>Agent-Auth TypeScript Sample</a>"
22+
};
23+
</script>
24+
25+
{% include "../../../../includes/quick-starts/agent-auth-ts.md" %}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
template: templates/quick-start.html
3+
---
4+
5+
<script>
6+
const meta = {
7+
what_you_will_learn: [
8+
"Set up a secure MCP server using Python",
9+
"Connect your MCP server to {{ product_name }} for authentication",
10+
"Access MCP tools and resources securely"
11+
],
12+
prerequisites: [
13+
"About 15 minutes",
14+
"<a href='{{ base_path }}/get-started/quick-set-up/'>Set up {{ product_name }}</a>",
15+
"Install Python 3.10 or later on your system",
16+
"Python package manager (e:g.: pip) installed",
17+
"A text editor or IDE"
18+
],
19+
source_code: "<a href='https://github.com/wso2/iam-ai-samples/tree/main/mcp-auth/python' target='_blank' class='github-icon'>MCP-Auth Python Sample</a>"
20+
};
21+
</script>
22+
23+
{% include "../../../../includes/quick-starts/mcp-auth-server-py.md" %}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
template: templates/quick-start.html
3+
---
4+
5+
<script>
6+
const meta = {
7+
what_you_will_learn: [
8+
"Create a new MCP server in TypeScript",
9+
"Defines an MCP tool that adds two numbers",
10+
"Install <a href='https://www.npmjs.com/package/@asgardeo/mcp-express' target='_blank' rel='noopener noreferrer'>Asgardeo MCP SDK</a>",
11+
"Set up MCP authorization with {{ product_name }}"
12+
],
13+
prerequisites: [
14+
"About 15 minutes",
15+
"<a href='{{ base_path }}/get-started/quick-set-up/'>Set up {{ product_name }}</a>",
16+
"Install Node.js on your system",
17+
"Make sure you have a JavaScript package manager like npm, yarn, or pnpm",
18+
"A text editor or IDE"
19+
],
20+
source_code: "<a href='https://github.com/wso2/iam-ai-samples/tree/main/mcp-auth/typescript' target='_blank' class='github-icon'>MCP-Auth Sample</a>"
21+
};
22+
</script>
23+
24+
{% include "../../../../includes/quick-starts/mcp-auth-server.md" %}

0 commit comments

Comments
 (0)