
Product
Microsoft Teams Notifications Are Now Available in Socket
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.
@grantex/mcp
Advanced tools
MCP server for AI agent authorization — register agents, issue scoped tokens, verify grants, audit actions, revoke access
MCP server for AI agent authorization. 17 tools for managing agents, scoped tokens, grants, audit trails, and principal sessions — works with Claude Desktop, Cursor, and Windsurf.
What is Grantex? An open authorization protocol for AI agents (OAuth 2.0 for agents). Scoped delegation tokens, real-time revocation, and immutable audit trails. Learn more
Homepage | Docs | Sign Up Free | GitHub | Discord
npm install -g @grantex/mcp
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"grantex": {
"command": "grantex-mcp",
"env": {
"GRANTEX_API_KEY": "your-api-key"
}
}
}
}
Add to .cursor/mcp.json in your project:
{
"mcpServers": {
"grantex": {
"command": "grantex-mcp",
"env": {
"GRANTEX_API_KEY": "your-api-key"
}
}
}
}
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"grantex": {
"command": "grantex-mcp",
"env": {
"GRANTEX_API_KEY": "your-api-key"
}
}
}
}
| Variable | Required | Description |
|---|---|---|
GRANTEX_API_KEY | Yes | Your Grantex API key (get one free) |
GRANTEX_BASE_URL | No | Override API base URL (default: https://api.grantex.dev) |
| Tool | Description |
|---|---|
grantex_agent_register | Register a new AI agent with name, description, and declared scopes |
grantex_agent_get | Get agent details by ID |
grantex_agent_list | List all registered agents |
grantex_agent_update | Update agent name, description, or scopes |
grantex_agent_delete | Delete an agent |
| Tool | Description |
|---|---|
grantex_authorize | Create an authorization request — returns consent URL for user approval |
| Tool | Description |
|---|---|
grantex_token_exchange | Exchange authorization code for a signed grant token (RS256 JWT) |
grantex_token_verify | Verify a grant token — check scopes, expiry, and revocation status |
grantex_token_refresh | Refresh a grant token using a refresh token |
grantex_token_revoke | Revoke a grant token by JTI |
| Tool | Description |
|---|---|
grantex_grant_get | Get grant details by ID |
grantex_grant_list | List grants with optional filters (agent, principal, status) |
grantex_grant_revoke | Revoke a grant — cascades to all sub-agent grants |
grantex_grant_delegate | Delegate a grant to a sub-agent with scope narrowing |
| Tool | Description |
|---|---|
grantex_audit_list | List audit entries with filters |
grantex_audit_get | Get a specific audit entry by ID |
| Tool | Description |
|---|---|
grantex_principal_session_create | Create a session token for end-user grant management |
Unlike API key or password-based MCP servers, Grantex provides:
| Package | Description |
|---|---|
@grantex/sdk | TypeScript SDK |
grantex | Python SDK |
grantex-go | Go SDK |
@grantex/mcp-auth | OAuth 2.1 + PKCE for any MCP server |
@grantex/langchain | LangChain scope-enforced tools |
@grantex/anthropic | Anthropic SDK integration |
@grantex/cli | Command-line tool |
Apache-2.0
FAQs
MCP server for AI agent authorization — register agents, issue scoped tokens, verify grants, audit actions, revoke access
The npm package @grantex/mcp receives a total of 51 weekly downloads. As such, @grantex/mcp popularity was classified as not popular.
We found that @grantex/mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.

Security News
Socket CTO Ahmad Nassri joins AppSec leaders at Black Hat to discuss active malware, package manager risks, and software supply chain defense.