Commit Graph
42 Commits
Author SHA1 Message Date
jinghui 4b373d143f feat(mcp): 原生 MCP 上游转发(streamable HTTP JSON-RPC 透传)
release / release (release) Waiting to run
- service_type=mcp 分支:tools/call 直接转发上游 MCP 服务,解析纯 JSON 与 SSE 双格式
- 复用 Mcp-Session-Id 会话,按 base_url 缓存
- 调用参数带上游 auth_token(Bearer 自动补前缀)
- get_service_call_params 强制刷新,配置改动立即生效
2026-11-23 18:50:27 +08:00
jinghui d18adf035b feat(billing): per-service and platform-wide free call limits
release / release (release) Canceled after 0s
- mcp_service.free_daily_limit: per service, per user per day (NULL/0 = unlimited)
- sys_config free_global_daily_limit: applies to every free service
- effective limit = smaller of the two, so a service without its own value
  still inherits the global one
- admin: Pricing tab input, System Settings > Business > Free Call Limits
- submission review pages and endpoints (scaffolding, not yet published end to end)
- allow LAN IPs in http_utils, add docker-compose.yml
2026-11-13 10:20:25 +08:00
Liujian 470d53cad6 feat(mcp): support MCP 0728 stateless JSON-RPC protocol and pin mcp SDK version
- Implement stateless HTTP JSON-RPC request handling (discover, tools/list, tools/call)
- Support extracting apikey from Authorization and X-Api-Key headers
- Pin mcp dependency to '>=1.12.0,<2.0.0' to prevent breaking changes in v2.x
- Update docker-compose image tag and volume config
2026-10-26 18:57:48 +08:00
Liujian b51933d625 Fixed the issue where access remained even after the API key was deleted. 2026-03-30 15:59:49 +08:00
Dot.L 6eac3c6100 Revert "Dev" 2026-03-11 15:56:53 +08:00
Liujian d1c7a4b8c0 The concept of a tenant is added as the foundation of the SaaS code. 2026-03-10 15:33:57 +08:00
Liujian 7f66cfd21e Adjust the streamable-http initialization connection waiting logic 2026-02-25 15:22:10 +08:00
Liujian 3e1d986c1c Adjust the streamable-http initialization connection waiting timeout 2026-02-25 11:24:23 +08:00
Liujian 09b6811391 Adjust the streamable-http initialization connection waiting logic 2026-02-25 11:13:18 +08:00
Liujian 79400146ea fix: Handle None message in custom MCP event store during priming event 2026-02-24 15:15:09 +08:00
Liujian 302277bad2 fix bug: OpenAPI requestBody Not Parsed for MCP Tools 2026-01-16 17:08:47 +08:00
Liujian 2309de4025 1. fix: charge fees even if the call tool fails due to MCP service not being available/under maintenance.
2. fix: OpenAPI requestBody Not Parsed for MCP Tools
2025-12-18 15:19:32 +08:00
Liujian 2dcd42a546 MCP calls introduce resource group restrictions. 2025-12-17 14:33:31 +08:00
Liujian 73cd1a01a0 Fix: Issue where billing continued even after calling the mcp tool failed. 2025-12-07 13:46:21 +08:00
Liujian 1846aafc1e fix bug:
1. Service_type do not set after add server
2. Issue relate pricing when "Update from OpenAPI"
3. Failed to set SQLAlchemy cache for key Error
4. Request Body Logging in Internal Service
5. Deleted API Key Remains Valid for 5 Minutes
2025-12-05 10:27:19 +09:00
Liujian 284880a170 Update client IP acquisition logic 2025-11-26 18:02:10 +08:00
Liujian 19f646c318 Email captcha rate limiting fix && CORS tightening via configuration 2025-11-26 16:58:54 +08:00
Liujian a017b0fa93 repairing potential risks 2025-11-26 16:16:23 +08:00
Liujian 877dbb6a4e MCP session keys use client fingerprints to distinguish requests from different clients. 2025-11-26 15:09:35 +08:00
Liujian 4826859152 Payment information encryption 2025-11-14 16:58:08 +08:00
Liujian 92f8b68f0e A new connection recovery mechanism has been added in the event of a network outage. 2025-11-14 15:50:39 +08:00
Liujian 87a4b6e2de Wait for the initial connection to initialize successfully before processing the request. 2025-11-14 15:50:00 +08:00
Liujian a6064035bd Completed: OutputSchema functionality added to the MCP tools list. 2025-11-07 17:23:24 +08:00
Liujian a28f3bb680 MCP tool list response adds outputSchema 2025-11-07 10:31:29 +08:00
Liujian 6a69d678fd update mcp session gc logic 2025-10-23 17:55:24 +08:00
Liujian faa1f552e6 Translate Chinese into English 2025-10-22 23:20:57 +08:00
Liujian eb1811fa3a support streamable http 2025-10-22 19:01:11 +08:00
Liujian 777649f82b Delete service using software deletion 2025-10-17 18:36:58 +08:00
Liujian f042cdf911 Add annotations and translate Chinese into English 2025-10-17 16:26:14 +08:00
Liujian 7c75c07216 fix: redis cache bug 2025-10-17 15:26:01 +08:00
Liujian a992866058 fix mcp bug 2025-10-17 11:46:08 +08:00
Liujian c71a416046 fix mcp bug 2025-10-17 10:36:24 +08:00
Liujian c949aac528 fix bug 2025-10-16 10:03:10 +08:00
Liujian be7033e9a2 Fix mcp token billing bug 2025-07-30 16:50:25 +08:00
Liujian 11264d302d fix mcp service 2025-07-30 15:57:10 +08:00
Liujian 29a779648d fix:bug 2025-07-30 15:46:49 +08:00
Liujian 6cb7ca9902 support token calculate 2025-07-30 14:11:24 +08:00
Liujian dd3a784cb5 tmp commit 2025-07-30 13:36:50 +08:00
Liujian ec96465a96 finish API development 2025-07-29 18:40:38 +08:00
lidongjie 5cc9e9910e feat: enhance parameter parsing in HttpRequestBuilder with robust error handling and support for multiple formats 2025-07-25 23:03:35 +08:00
lidongjie be19df6273 feat: enhance parameter parsing in McpService with robust error handling and logging 2025-07-25 22:41:00 +08:00
Liujian 0c0dd1cb56 First commit to the code repository 2025-07-20 22:38:52 +08:00