Skip to content

Commit a8a5e92

Browse files
committed
feat: add client-metadata.json
Add client metadata file for SEP-991 CIMD authentication support Signed-off-by: tanish111 <[email protected]>
1 parent 51f0209 commit a8a5e92

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

client-metadata.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"client_id": "https://raw.githubusercontent.com/modelcontextprotocol/rust-sdk/refs/heads/main/client-metadata.json",
3+
"redirect_uris": ["http://localhost:4000/callback"],
4+
"grant_types": ["authorization_code"],
5+
"response_types": ["code"],
6+
"token_endpoint_auth_method": "none"
7+
}

examples/clients/src/auth/oauth_client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const MCP_SERVER_URL: &str = "http://127.0.0.1:3000/mcp";
2727
const MCP_REDIRECT_URI: &str = "http://127.0.0.1:8080/callback";
2828
const CALLBACK_PORT: u16 = 8080;
2929
const CALLBACK_HTML: &str = include_str!("callback.html");
30-
const CLIENT_METADATA_URL: &str = "https://raw.githubusercontent.com/tanish111/cimd-local-oauth-server/refs/heads/main/client-metadata.json";
30+
const CLIENT_METADATA_URL: &str = "https://raw.githubusercontent.com/modelcontextprotocol/rust-sdk/refs/heads/main/client-metadata.json";
3131

3232
#[derive(Clone)]
3333
struct AppState {

0 commit comments

Comments
 (0)