Skip to content

Commit 4851be6

Browse files
Merge branch 'macae-v3-dev-v2-vip' into psl-waf-macaev3
2 parents 8253e96 + 01c7a68 commit 4851be6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+2606
-1675
lines changed

data/agent_teams/hr.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "3",
33
"team_id": "team-3",
4-
"name": "Retail Customer Success Team",
4+
"name": "Human Resources Team",
55
"status": "visible",
66
"created": "",
77
"created_by": "",
@@ -43,7 +43,7 @@
4343
"input_key": "",
4444
"type": "",
4545
"name": "ProxyAgent",
46-
"deployment_name": "",
46+
"deployment_name": "gpt-4.1",
4747
"icon": "",
4848
"system_message": "",
4949
"description": "",
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

docs/mcp_server.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
Capturing the notes from auth install before deleting for docs...
2+
3+
### Auth section:
4+
Requires and app registration as in azure_app_service_auth_setup.md so not deployed by default.
5+
6+
To setup basic auth with FastMCP - bearer token - you can integrate with Azure by using it as your token provider.
7+
8+
``` from fastmcp.server.auth import JWTVerifier```
9+
10+
```
11+
auth = JWTVerifier(
12+
jwks_uri="https://login.microsoftonline.com/52b39610-0746-4c25-a83d-d4f89fadedfe/discovery/v2.0/keys",
13+
#issuer="https://login.microsoftonline.com/52b39610-0746-4c25-a83d-d4f89fadedfe/v2.0",
14+
# This issuer is not correct in the docs. Found by decoding the token.
15+
issuer="https://sts.windows.net/52b39610-0746-4c25-a83d-d4f89fadedfe/",
16+
algorithm="RS256",
17+
audience="api://7a95e70b-062e-4cd3-a88c-603fc70e1c73"
18+
)
19+
```
20+
21+
Requires env vars:
22+
```
23+
export MICROSOFT_CLIENT_ID="your-client-id"
24+
export MICROSOFT_CLIENT_SECRET="your-client-secret"
25+
export MICROSOFT_TENANT="common" # Or your tenant ID
26+
```
27+
28+
```mcp = FastMCP("My MCP Server", auth=auth)```
29+
30+
For more complex and production - supports OAuth and PKCE
31+
32+
Enabled through MCP enabled base - see lifecycle.py
33+
34+

src/backend/.env.sample

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,16 @@ AZURE_AI_AGENT_ENDPOINT=
2020
AZURE_BING_CONNECTION_NAME=
2121
REASONING_MODEL_NAME=o3
2222
APP_ENV=dev
23-
MCP_SERVER_ENDPOINT=http://localhost:9000/mcp
23+
MCP_SERVER_ENDPOINT=http://localhost:8080/mcp
24+
MCP_SERVER_NAME=MyMC
25+
MCP_SERVER_DESCRIPTION=My MCP Server
26+
TENANT_ID=
27+
CLIENT_ID=
2428
BACKEND_API_URL=http://localhost:8000
25-
FRONTEND_SITE_NAME=*
29+
FRONTEND_SITE_NAME=
30+
SUPPORTED_MODELS='["o3","o4-mini","gpt-4.1","gpt-4.1-mini"]'
31+
AZURE_AI_SEARCH_CONNECTION_NAME=
32+
AZURE_AI_SEARCH_INDEX_NAME=
33+
AZURE_AI_SEARCH_ENDPOINT=
34+
AZURE_AI_SEARCH_API_KEY=
35+
BING_CONNECTION_NAME=

0 commit comments

Comments
 (0)