PromptisePromptise
Docs
GitHub
Promptise - AI Framework LogoPromptise

The foundation layer for agentic intelligence. Build, secure and operate autonomous AI systems with Promptise Foundry.

pip install promptise

[01] Foundry

  • MCPcast
  • The Promptise Agent
  • Reasoning Engine
  • MCP
  • Agent Runtime
  • Prompt Engineering
  • Execution Engine
  • Agent Identity

[02] Resources

  • Documentation
  • GitHub
  • Guides
  • Learning Paths
  • Questions

[03] Company

  • About
  • Terms of Service
  • Privacy Policy
  • Cookie Policy
  • Subprocessors

© 2026 Promptise by Manser Ventures. All rights reserved.

Open source · Python

← Guides> Library> Topic

Authentication and access control for AI agents and MCP servers

When an agent calls tools on behalf of users, two questions matter on every request: who is calling, and what are they allowed to do. Authentication answers the first, with API keys, signed JWTs or OAuth. Authorization answers the second, with roles and scopes checked on each tool, so an agent acting for one user cannot reach another user's data.

Agents increasingly need an identity of their own, presented as short-lived credentials rather than shared secrets. These guides cover adding API keys, JWT and OAuth to MCP servers, building an authenticated server for an agent, giving agents verifiable identities, keeping tenants apart, access control in retrieval systems, and an MCP security checklist.

[n.01/02]> 7 guides
  1. 01Build an Authenticated MCP Server for Your AI Agent (Python)An MCP server authentication tutorial in Python: JWT login and roles, an agent that acts for each user, an attack script and a verified audit log.Intermediate · 25 minOct 15, 2026
  2. 02MCP Security Best Practices: A Checklist for MCP ServersMCP security best practices as a checklist: token audience binding, per-tool scopes, input validation, human approval, rate limits and signed audit logs.Intermediate · 20 minOct 18, 2026
  3. 03Build a Production MCP Server in Python (Step by Step)Build an MCP server in Python ready for real agents: typed tools, clear errors, API keys with roles, rate limits, a tamper-evident audit log and tests.Intermediate · 18 minOct 11, 2026
  4. 04MCP Authentication in Python: API Keys, JWT and OAuthMCP authentication in Python on one server: API keys, JWTs and OAuth client credentials with JWKS, plus roles, scopes, 401s and agent token forwarding.Advanced · 20 minOct 11, 2026
  5. 05AI Agent Identity: Authenticate Agents to MCP ServersGive your AI agent its own verifiable identity: short-lived JWTs from your IdP, checked by MCP servers with JWKS. Real runs, refresh and honest limits.Advanced · 22 minOct 11, 2026
  6. 06Multi-Tenant AI Agents: Keep Each Customer's Data ApartBuild a multi-tenant AI agent in Python: per-user tokens, tenant-scoped MCP tools and isolated sessions, with runs proving one tenant can't read another.Advanced · 18 minOct 11, 2026
  7. 07RAG Security: Stop Poisoned Documents and Prompt InjectionSecure a RAG pipeline: stop poisoned documents and indirect prompt injection, filter retrieval by permission, mark context, check answers. Real examples.Advanced · 10 minOct 18, 2026
[n.02/02]> go further

Related topics

  • Model Context Protocol (MCP)37
  • Audit Logging and Monitoring4
  • Evals and Testing15
  • Prompt Injection13
  • RAG (Retrieval-Augmented Generation)9

Topic hubs

  • Tools and the Model Context Protocol (MCP)→
  • Guardrails and security→
  • Testing and evals→

By category and level

  • AI Engineering guides71
  • LLM Security guides10
  • Intermediate guides80
  • Advanced guides24

Search every guide.

The library lists all guides with filters for topic, level, category and reading time.

All guidesLearning paths