Quick Start
Get your first secure agent-tool connection working with Keycard
Get your first secure agent-tool connection working in minutes using Keycard’s Hello MCP Server.
Prerequisites
Section titled “Prerequisites”- An AI agent IDE (Cursor recommended) or MCP-compatible client
Create Your Keycard Account
Section titled “Create Your Keycard Account”-
Navigate to Keycard Console
Go to console.keycard.ai
-
Sign up or log in
Create your account or sign in with existing credentials.
-
View your default zone
You will land at your default zone’s applications page.
Configure your Default Zone
Section titled “Configure your Default Zone”Before you can connect to resources in your zone, you must configure your zone’s authentication. Zone access is seperate from Console access.
In your Keycard Console, navigate to Users. Click Invite User. Enter your email address and click Invite to zone.
Test with Hello MCP Server
Section titled “Test with Hello MCP Server”The default zone includes a pre-configured Hello MCP Server resource for testing.
-
Find Hello MCP Server
In your Keycard Console, navigate to Resources and click on Hello MCP Server
-
Install in your AI agent
- In the Scopes section, add the available scope and save your changes
- Click the Install dropdown and select your client (e.g., Cursor)
- Accept the browser prompt to open your AI agent client
- In your client’s MCP panel, click Connect
- Complete the OAuth flow with Keycard. If you’re using Keycard authentication:
- Click Sign up and create a zone user account.
- Verify your email by code, if you instead use the link, you will need to reconnect and sign in.
- Finish the OAuth flow and return to your AI agent client.
-
Test the connection
In your AI agent, try these prompts:
- “Show me the Keycard logo”
- “Run the whoami tool”
You should see successful responses from both tools!
Verify Your Setup
Section titled “Verify Your Setup”-
Check Audit Logs
In Keycard Console, navigate to Audit Logs to see the authentication flow in action:
users:authenticateYou logged in successfully users:authorizeYour access was authorized credentials:issueAccess token was issued
What Just Happened?
Section titled “What Just Happened?”Here is the authentication flow that just took place:
- Your AI agent discovered the MCP server’s OAuth configuration
- You were redirected to Keycard to authenticate
- You signed in with your Keycard credentials
- Keycard issued an access token for the MCP server
- Your AI agent used that token to call tools securely
All token management, refresh logic, and credential storage is handled by Keycard automatically.
Troubleshooting
Section titled “Troubleshooting”MCP server does not appear in my AI agent
- Confirm you clicked the browser prompt to open your client
- Try manually adding the MCP server using the connection URL from Quick Actions
- Restart your AI agent client
Tools fail to execute
- Check Audit Logs for error messages
- Verify the access token was issued successfully
- Try disconnecting and reconnecting the MCP server
Cannot find Hello MCP Server resource
- Ensure you are looking in your default zone
- Contact support if the issue persists