Module 06 of 08 · Outline
Model Context Protocol — Architecture & Custom Servers
Build MCP tools, resources, prompts, transports, validation, and access controls.
Learning outcome: A server implementation, tool schemas, and access tests.
Lesson outline
Lesson 6.1
Protocol architecture
- Client, host, and server responsibilities
- Capability negotiation and lifecycle
- Tools, resources, and prompts
Lesson 6.2
Server implementation
- Typed tool schemas and validation
- Resource URIs and prompt templates
- Local and HTTP transport choices
Lesson 6.3
Access protection
- Caller authentication and authorization
- Scoped data access and secrets
- Malformed requests and error responses
Practice assignment
Create a project-documentation MCP server
- Expose a read-only search tool and a documentation resource.
- Validate all arguments and scope data access.
- Test unauthorized and malformed requests.
Deliverable: A server implementation, tool schemas, and access tests.
Independent practice · no submission or grading