Repository navigation
Changelog
Features
- 0af87d8: feat: refocus project on DCR module and restructure documentation (appleboy appleboy.tw@gmail.com)
- 6c33f81: feat: introduce context-based Store access and OAuth client listing tool (appleboy appleboy.tw@gmail.com)
- 9f905bf: feat: add client retrieval and pagination to stores and tests (#1) (Bo-Yi Wu appleboy.tw@gmail.com)
- 8f79c75: feat: implement client-side caching for authorization codes and clients (Bo-Yi Wu appleboy.tw@gmail.com)
- f6b3f0e: feat: add Redis-backed storage and unify server store interface (Bo-Yi Wu appleboy.tw@gmail.com)
- d7c09d0: feat: enforce OAuth PKCE validation and code challenge handling (appleboy appleboy.tw@gmail.com)
- 679e975: feat: add PKCE support to OAuth providers and server authorization flow (appleboy appleboy.tw@gmail.com)
- 9056231: feat: implement robust OAuth2 authorization code flow (appleboy appleboy.tw@gmail.com)
- 6a09fdb: feat: support dynamic OAuth client registration and management (appleboy appleboy.tw@gmail.com)
- d0b42b2: feat: refactor OAuth store logic and add thread-safe in-memory backend (appleboy appleboy.tw@gmail.com)
- 45f64a3: feat: support "plain" code challenge method in OAuth server (appleboy appleboy.tw@gmail.com)
- e3b76a1: feat: add RFC 7591 OAuth dynamic client registration types and handling (appleboy appleboy.tw@gmail.com)
- f9f4200: feat: add GitLab OAuth provider support with self-hosted instance support (appleboy appleboy.tw@gmail.com)
- 3b7d03b: feat: refactor OAuth client registration to use typed structures (appleboy appleboy.tw@gmail.com)
- 6dcd61b: feat: add cross-platform colorized build and clean output (appleboy appleboy.tw@gmail.com)
- 4c62658: feat: add Gitea OAuth support with provider selection flags (appleboy appleboy.tw@gmail.com)
- ebbe9c1: feat: implement graceful shutdown for HTTP servers on Unix systems (appleboy appleboy.tw@gmail.com)
- 3940f41: feat: ping server after authorization and handle ping errors (appleboy appleboy.tw@gmail.com)
- 100a94e: feat: refactor tool initialization and enhance tool usage examples (appleboy appleboy.tw@gmail.com)
- 66c1acb: feat: enhance authentication and add proxy configs to VSCode settings (appleboy appleboy.tw@gmail.com)
- 9b048b0: feat: integrate structured logging with slog middleware in Gin router (appleboy appleboy.tw@gmail.com)
- 5e745eb: feat: add S256 PKCE support and use forked mcp-go package (appleboy appleboy.tw@gmail.com)
- 4029410: feat: update OAuth flow to fetch and return GitHub user profile data (Bo-Yi Wu appleboy.tw@gmail.com)
- db0d8f6: feat: implement real OAuth token exchange with GitHub in VSCode extension (Bo-Yi Wu appleboy.tw@gmail.com)
- 9c75a8f: feat: refactor OAuth client and server config for secure credentials handling (appleboy appleboy.tw@gmail.com)
- eb4faa9: feat: implement graceful shutdown logic for HTTP server (appleboy appleboy.tw@gmail.com)
- caf6833: feat: propagate Gin context to MCP server handlers (appleboy appleboy.tw@gmail.com)
- aeb45d5: feat: implement 30s heartbeat for StreamableHTTPServer connections (appleboy appleboy.tw@gmail.com)
- 68a5f7b: feat: improve request attribute logging and observability (appleboy appleboy.tw@gmail.com)
- d63a2ab: feat: implement MCP server with configurable transport and observability (appleboy appleboy.tw@gmail.com)
- 563aca1: feat: inject relative caller info into log entries automatically (appleboy appleboy.tw@gmail.com)
- 82b85d7: feat: refactor transport argument handling to support alias flag (appleboy appleboy.tw@gmail.com)
- 9cb9097: feat: add Go client with OAuth2 and PKCE authentication flow (appleboy appleboy.tw@gmail.com)
- 19ee103: feat: implement OAuth endpoints and integrate with GitHub authorization (appleboy appleboy.tw@gmail.com)
- 3e2ff6c: feat: add registration endpoint and improve CORS support (appleboy appleboy.tw@gmail.com)
- 850dfe1: feat: add OAuth/OpenID metadata endpoint and improve route access control (appleboy appleboy.tw@gmail.com)
- ef88eb5: feat: introduce authenticated, multi-transport MCP server with tracing (appleboy appleboy.tw@gmail.com)
- c3424b8: feat: add SSE transport support and improve server startup clarity (appleboy appleboy.tw@gmail.com)
- 470dccc: feat: make HTTP server address configurable via command-line flag (appleboy appleboy.tw@gmail.com)
- a1a070f: feat: add example MCP server configurations for stdio, SSE, and HTTP (appleboy appleboy.tw@gmail.com)
- 6312f88: feat: introduce add_numbers tool with server integration (appleboy appleboy.tw@gmail.com)
- 770d246: feat: add configurable server transport selection via CLI flag (appleboy appleboy.tw@gmail.com)
- af913ed: feat: implement server middleware for panic recovery (appleboy appleboy.tw@gmail.com)
- a02bf95: feat: enable server logging (appleboy appleboy.tw@gmail.com)
- 4ddcf7a: feat: add Gin-based server integrating echo_message with MCP SDK (appleboy appleboy.tw@gmail.com)
- 27b8638: feat: add tool to display authentication token from context (appleboy appleboy.tw@gmail.com)
- 3511300: feat: add example Go OAuth service and VS Code MCP integration (appleboy appleboy.tw@gmail.com)
Bug fixes
- 1760e57: fix: default GitLab OAuth scope to "read_user" when unset (Bo-Yi Wu appleboy.tw@gmail.com)
- 27cc5bb: fix: enforce client credential validation in token exchange flow (appleboy appleboy.tw@gmail.com)
- 82d47f3: fix: return 201 Created for client registration responses (appleboy appleboy.tw@gmail.com)
- 9b42567: fix: update OAuth server URL handling for improved compatibility (appleboy appleboy.tw@gmail.com)
- 3be9a93: fix: omit ClientSecret from registration responses (appleboy appleboy.tw@gmail.com)
- 1bf338c: fix: reorder client setup and improve tool capability checks (appleboy appleboy.tw@gmail.com)
- 59f9741: fix: update server port and URLs to use dynamic local addresses (appleboy appleboy.tw@gmail.com)
- a8ddd70: fix: refine token handling and masking in authorization logic (Bo-Yi Wu appleboy.tw@gmail.com)
- 99340f0: fix: improve HTTP error handling and token security (appleboy appleboy.tw@gmail.com)
Enhancements
- b680eda: chore: add golangci-lint configuration (Bo-Yi Wu appleboy.tw@gmail.com)
- dc771bb: chore: add golangci-lint make targets and apply fmt (Bo-Yi Wu appleboy.tw@gmail.com)
- 6cc0667: chore: update Go toolchain and dependencies to latest versions (Bo-Yi Wu appleboy.tw@gmail.com)
- 0e10ee4: chore: update Go toolchain and dependencies to latest versions (appleboy appleboy.tw@gmail.com)
- 97f622e: chore: update and refactor dependency versions and indirect packages (appleboy appleboy.tw@gmail.com)
- 8f6e75e: chore: upgrade dependencies to latest stable versions (appleboy appleboy.tw@gmail.com)
- 14c47e1: chore: refactor core modules for improved maintainability (Bo-Yi Wu appleboy.tw@gmail.com)
- aa89e99: chore: remove .vscode/mcp.json from version control and ignore it (appleboy appleboy.tw@gmail.com)
- 6030827: chore: enforce PKCE and remove token response type for OAuth flows (appleboy appleboy.tw@gmail.com)
- 747f3d9: chore: integrate OpenTelemetry tracing into the project (appleboy appleboy.tw@gmail.com)
- 1ae4a9c: chore: bump mcp-go dependency to v0.31.0 (appleboy appleboy.tw@gmail.com)
- 02ef061: chore: update development configs and improve server usability (appleboy appleboy.tw@gmail.com)
- e5775c5: chore: clean up and standardize server configuration (appleboy appleboy.tw@gmail.com)
- 1889926: chore: standardize MCP server naming across configs and examples (appleboy appleboy.tw@gmail.com)
- 6185ad6: chore: clarify example names for token passthrough usage (appleboy appleboy.tw@gmail.com)
- 488ff79: chore: upgrade indirect dependencies for stability and compatibility (appleboy appleboy.tw@gmail.com)
- 17e518b: chore: rename OAuth example to reflect token-based authentication (appleboy appleboy.tw@gmail.com)
Refactor
- 709803f: refactor: resolve golangci-lint findings across codebase (Bo-Yi Wu appleboy.tw@gmail.com)
- b05d0f9: refactor: refactor codebase for improved formatting and readability (appleboy appleboy.tw@gmail.com)
- e3d1d7f: refactor: improve readability of authorization response handling (appleboy appleboy.tw@gmail.com)
- 71e64e3: refactor: refactor codebase for improved multi-line readability (appleboy appleboy.tw@gmail.com)
- 9592c43: refactor: adopt oauth2 package for PKCE code generation (Bo-Yi Wu appleboy.tw@gmail.com)
- 7f97672: refactor: adopt golang.org/x/oauth2 for OAuth2 code challenge handling (Bo-Yi Wu appleboy.tw@gmail.com)
- 5d06063: refactor: suppress client creation failure error logs (appleboy appleboy.tw@gmail.com)
- 4567b88: refactor: transition to dynamic OAuth client initialization (appleboy appleboy.tw@gmail.com)
- b037a99: refactor: strengthen and refactor /authorize endpoint parameter validation (appleboy appleboy.tw@gmail.com)
- c9a52c5: refactor: implement structured logging with configurable verbosity (appleboy appleboy.tw@gmail.com)
- 6cc6943: refactor: unify OAuth user info handling with a consolidated struct (appleboy appleboy.tw@gmail.com)
- 2ce7d5e: refactor: refactor server middleware into dedicated middleware.go file (appleboy appleboy.tw@gmail.com)
- 08c1737: refactor: refactor GitHub OAuth for robustness and improved error handling (appleboy appleboy.tw@gmail.com)
- aec5133: refactor: refactor error handling with centralized fatalError helper (appleboy appleboy.tw@gmail.com)
- f3b1f34: refactor: drop SSE transport support from server startup logic (Bo-Yi Wu appleboy.tw@gmail.com)
- 1795d14: refactor: drop support for the "sse" transport option (Bo-Yi Wu appleboy.tw@gmail.com)
- ef413a8: refactor: refactor HTTP context function for readability (appleboy appleboy.tw@gmail.com)
- e885bfa: refactor: adopt uuid package for request ID generation (appleboy appleboy.tw@gmail.com)
- 82fc488: refactor: refine OAuth token endpoint configuration and router formatting (appleboy appleboy.tw@gmail.com)
- 7a9ceca: refactor: refactor ListTools to use explicit paginated cursor requests (appleboy appleboy.tw@gmail.com)
- 8edb175: refactor: adopt core package for all authentication and request ID handling (appleboy appleboy.tw@gmail.com)
- c0c13ca: refactor: split tool registration into common and auth-specific functions (appleboy appleboy.tw@gmail.com)
- 357333f: refactor: refactor authentication context and tool handling into core packages (appleboy appleboy.tw@gmail.com)
- a0c7774: refactor: remove GitHub user profile retrieval functionality (appleboy appleboy.tw@gmail.com)
- 9977fae: refactor: refactor and modularize OAuth provider logic and integration (appleboy appleboy.tw@gmail.com)
- a703752: refactor: refactor OAuth flow to streamline token handling and privacy (Bo-Yi Wu appleboy.tw@gmail.com)
- 9196e0c: refactor: comment out PKCE methods in OAuth2 server config (Bo-Yi Wu appleboy.tw@gmail.com)
- 329a5f2: refactor: refactor client initialization and metadata structure (appleboy appleboy.tw@gmail.com)
- f2d9428: refactor: streamline server to use HTTP transport exclusively (appleboy appleboy.tw@gmail.com)
- 6e2d78c: refactor: refactor logging to use structured slog instances throughout (appleboy appleboy.tw@gmail.com)
- 827195a: refactor: adopt graceful package for HTTP server lifecycle management (appleboy appleboy.tw@gmail.com)
- b6e85dd: refactor: handle graceful shutdown using specific POSIX signals (appleboy appleboy.tw@gmail.com)
- f395c8b: refactor: refactor flag parsing to unify short and long option support (appleboy appleboy.tw@gmail.com)
- d102b94: refactor: refactor MCP logging and attribute extraction logic (appleboy appleboy.tw@gmail.com)
- 06d245e: refactor: refactor server defaults for custom middleware handling (appleboy appleboy.tw@gmail.com)
- de27ebc: refactor: adopt http package constants for Gin route registration (appleboy appleboy.tw@gmail.com)
- f36beaf: refactor: migrate HTTP server to Gin with enhanced endpoint support (appleboy appleboy.tw@gmail.com)
- 9bde945: refactor: refactor route registration for mcp endpoint methods (appleboy appleboy.tw@gmail.com)
- c3a1a88: refactor: refactor server initialization and improve error logging (Bo-Yi Wu appleboy.tw@gmail.com)
- 69fd451: refactor: adopt structured logging and enhance error handling (appleboy appleboy.tw@gmail.com)
- 2b5c662: refactor: centralize and standardize logger initialization (appleboy appleboy.tw@gmail.com)
- 38cabda: refactor: centralize and simplify CORS handling with reusable middleware (appleboy appleboy.tw@gmail.com)
- 5fffc70: refactor: rename mcp.go to operation.go for improved clarity (appleboy appleboy.tw@gmail.com)
- d66b042: refactor: refactor tool management with unified Tool struct and APIs (appleboy appleboy.tw@gmail.com)
- 9df1619: refactor: standardize folder and file naming for server organization (appleboy appleboy.tw@gmail.com)
- 2465a20: refactor: adopt structured, context-aware logging with request IDs (appleboy appleboy.tw@gmail.com)
- 3d9cc59: refactor: refactor tool registration into shared operation package (appleboy appleboy.tw@gmail.com)
- f1231b9: refactor: refactor tool handling logic into dedicated module (appleboy appleboy.tw@gmail.com)
- 02e8264: refactor: reorganize example directories with numbered server.go files (appleboy appleboy.tw@gmail.com)
- 242e2dd: refactor: refactor server middleware and resource initialization (appleboy appleboy.tw@gmail.com)
- ce305c1: refactor: refactor /mcp route to use explicit HTTP method handlers (appleboy appleboy.tw@gmail.com)
Build process updates
- 6b464cb: ci: add source-only release workflow with GoReleaser (Bo-Yi Wu appleboy.tw@gmail.com)
- 6108258: ci: add Trivy security scan workflow (Bo-Yi Wu appleboy.tw@gmail.com)
- 3bf63d2: ci: add lint job running make lint (Bo-Yi Wu appleboy.tw@gmail.com)
- 4f351c1: ci: upgrade actions/checkout to v6 (Bo-Yi Wu appleboy.tw@gmail.com)
- cf50fcb: ci: rename CI workflow to build-and-test in GitHub Actions (Bo-Yi Wu appleboy.tw@gmail.com)
- c696326: ci: run all verbose tests in CI with updated workflow syntax (Bo-Yi Wu appleboy.tw@gmail.com)
- 5209345: ci: add CI workflow for automated build and test (appleboy appleboy.tw@gmail.com)
- 48ca943: build: restructure project layout and automate Go binary management (appleboy appleboy.tw@gmail.com)
- 55ee63a: build: add initial configuration for MCP Proxy server (appleboy appleboy.tw@gmail.com)
Documentation updates
- 1d01f61: docs: add Chinese OAuth 2.0 and PKCE resources to all READMEs (appleboy appleboy.tw@gmail.com)
- 6d211f2: docs: revise and expand development and testing documentation (Bo-Yi Wu appleboy.tw@gmail.com)
- 1bbabed: docs: add Reference Links section to README table of contents (appleboy appleboy.tw@gmail.com)
- f0c6efe: docs: add comprehensive reference sections to documentation (appleboy appleboy.tw@gmail.com)
- f62e227: docs: establish agent guidelines for development, review, and testing (Bo-Yi Wu appleboy.tw@gmail.com)
- dade494: docs: improve README formatting and add CI build status badge (Bo-Yi Wu appleboy.tw@gmail.com)
- 2d80129: docs: add multi-provider OAuth support and flexible storage options (Bo-Yi Wu appleboy.tw@gmail.com)
- f010663: docs: document new store implementations and configuration options (Bo-Yi Wu appleboy.tw@gmail.com)
- 7fef7ef: docs: improve and expand documentation for build, config, and modules (Bo-Yi Wu appleboy.tw@gmail.com)
- 59aac0d: docs: remove agent coding guidelines and documentation (appleboy appleboy.tw@gmail.com)
- 525925a: docs: overhaul documentation for GitHub OAuth integration and security (appleboy appleboy.tw@gmail.com)
- c962914: docs: document project structure and usage with detailed guidance (appleboy appleboy.tw@gmail.com)
- f271284: docs: remove SSE support from codebase and update documentation (appleboy appleboy.tw@gmail.com)
- bbb75de: docs: update introduction and formatting for consistency (Bo-Yi Wu appleboy.tw@gmail.com)
- 39707da: docs: revise and enhance Chinese README structure and visual content (appleboy appleboy.tw@gmail.com)
- 11e2f63: docs: revise and clarify README for improved usability and onboarding (appleboy appleboy.tw@gmail.com)
- af9fa4f: docs: document agent development and coding standards (appleboy appleboy.tw@gmail.com)
- 2fb1441: docs: add comprehensive Chinese README translations and links (appleboy appleboy.tw@gmail.com)
- a6cb3cd: docs: add link to MCP with Golang slides (appleboy appleboy.tw@gmail.com)
- 4ca0b04: docs: expand workshop documentation with module overviews and links (Bo-Yi Wu appleboy.tw@gmail.com)
- 81e3e4a: docs: improve formatting and readability in documentation files (Bo-Yi Wu appleboy.tw@gmail.com)
- d06f83f: docs: improve documentation clarity and navigation with relative links (Bo-Yi Wu appleboy.tw@gmail.com)
- 49470ba: docs: correct server.go reference paths in documentation links (Bo-Yi Wu appleboy.tw@gmail.com)
- 42b1cb5: docs: update documentation for server.go and Go 1.24 compatibility (Bo-Yi Wu appleboy.tw@gmail.com)
- 427d699: docs: document MCP server example with observability and auth features (Bo-Yi Wu appleboy.tw@gmail.com)
- 0ec9385: docs: document MCP server design and authentication flow (Bo-Yi Wu appleboy.tw@gmail.com)
- 299d9a0: docs: document MCP server setup, usage, and extensibility in README (Bo-Yi Wu appleboy.tw@gmail.com)
- 202d23f: docs: simplify add_numbers tool description (appleboy appleboy.tw@gmail.com)
- 796ea28: docs: streamline and clarify tool description (appleboy appleboy.tw@gmail.com)
- 9444627: docs: document the client OAuth authentication flow (appleboy appleboy.tw@gmail.com)
- a938cfd: docs: standardize and clarify Mermaid diagrams across the codebase (appleboy appleboy.tw@gmail.com)
- fce65b2: docs: document the OAuth 2.0 PKCE flow with diagrams and explanations (appleboy appleboy.tw@gmail.com)
- a0028f3: docs: add comprehensive configuration guide for .vscode/mcp.json (appleboy appleboy.tw@gmail.com)
- 556b96a: docs: redesign and clarify MCP Proxy system architecture diagram (appleboy appleboy.tw@gmail.com)
- ed530c7: docs: document MCP Proxy purpose, architecture, and use cases (appleboy appleboy.tw@gmail.com)
- 06e1c82: docs: simplify setup by removing client credentials step (appleboy appleboy.tw@gmail.com)
- 3c8fa21: docs: document OAuth flow with comprehensive Mermaid sequence diagram (appleboy appleboy.tw@gmail.com)
- 0308764: docs: revise server docs and add comprehensive OAuth MCP Client guide (appleboy appleboy.tw@gmail.com)
- fbfef26: docs: document example OAuth 2.0 MCP server implementation in Go (appleboy appleboy.tw@gmail.com)
- b02e5e5: docs: add reference link for MCP Inspector section (appleboy appleboy.tw@gmail.com)
- 2e1fc15: docs: document OAuth access flow and clarify client registration limits (appleboy appleboy.tw@gmail.com)
- a3dab72: docs: improve and expand documentation for exported functions (appleboy appleboy.tw@gmail.com)
- 4f5cba3: docs: improve MCP OAuth documentation and clarify vulnerability guidance (appleboy appleboy.tw@gmail.com)
- 69a94b5: docs: add Table of Contents to README (appleboy appleboy.tw@gmail.com)
- d122851: docs: document OAuth workflow in MCP with diagrams (appleboy appleboy.tw@gmail.com)
- cb06d77: docs: document and illustrate the MCP Inspector tool (appleboy appleboy.tw@gmail.com)
- c8ad6c5: docs: expand and clarify docstrings for all registered tools (appleboy appleboy.tw@gmail.com)
- da053f2: docs: add and improve in-code documentation for server components (appleboy appleboy.tw@gmail.com)
- eebf675: docs: document MCP vulnerability types and impact levels (appleboy appleboy.tw@gmail.com)
- 42e2911: docs: clarify introduction with reference and key term links (appleboy appleboy.tw@gmail.com)
- 56c21fd: docs: improve documentation with detailed guide and cover image (appleboy appleboy.tw@gmail.com)
Others
- e4a8523: test: add mock generation support for Store interface and tests (Bo-Yi Wu appleboy.tw@gmail.com)
- 9b83289: test: improve test reliability for Redis and cache operations (Bo-Yi Wu appleboy.tw@gmail.com)
- 3baaaa2: test: add integration testing with dynamic Redis container (Bo-Yi Wu appleboy.tw@gmail.com)
- 329321d: test: add automated Redis test setup with testcontainers and Makefile targets (Bo-Yi Wu appleboy.tw@gmail.com)
- b7fc950: test: improve authorization code and client management with robust tests (Bo-Yi Wu appleboy.tw@gmail.com)
- 9e7730e: style: reformat function signatures for enhanced code clarity (appleboy appleboy.tw@gmail.com)
- 1e99b29: style: reorder Go imports for improved code readability (appleboy appleboy.tw@gmail.com)
- 05a23aa: style: reformat authentication route handlers for readability (appleboy appleboy.tw@gmail.com)
- 9b84233: style: standardize import grouping for improved code consistency (appleboy appleboy.tw@gmail.com)
- 87e1aa1: style: clean up log formatting for MCP SSE server startup messages (appleboy appleboy.tw@gmail.com)
- 80d080e: Initial commit (Bo-Yi Wu appleboy.tw@gmail.com)