go-sdk/examples
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Shusaku Yasoda a3935c6be2
examples/server: add example MCP server with JWT and API key (#339)
This commit introduces a new example demonstrating the integration of
authentication middleware with an MCP server. The server supports both
JWT token and API key authentication, along with scope-based access
control for various MCP tools. Key features include token generation
endpoints, in-memory API key storage, and a health check endpoint.

New files added:
- `main.go`: Implements the MCP server and authentication logic.
- `go.mod` and `go.sum`: Manage dependencies for the project.
- `README.md`: Provides setup instructions, available endpoints, and
example usage.

This example serves as a reference for implementing secure access to MCP
tools.

Fixes #330
2025-09-02 11:49:46 -04:00
..
client examples/client: add a loadtest command 2025-08-29 15:28:05 -04:00
http examples/http: update to v0.3.0 2025-09-01 09:24:30 -04:00
server examples/server: add example MCP server with JWT and API key (#339) 2025-09-02 11:49:46 -04:00