sync: add aichat MCP server from Docs OpenAPI spec#68
Draft
Conversation
Agent-Logs-Url: https://github.com/AceDataCloud/MCPs/sessions/0fa18f71-4e1d-4cc9-b435-dc4458fbad94 Co-authored-by: Germey <8678661+Germey@users.noreply.github.com>
Agent-Logs-Url: https://github.com/AceDataCloud/MCPs/sessions/0fa18f71-4e1d-4cc9-b435-dc4458fbad94 Co-authored-by: Germey <8678661+Germey@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Sync aichat MCP server with updated Docs
sync: add aichat MCP server from Docs OpenAPI spec
Apr 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The upstream Docs updated the
aichatservice spec, but noaichat/MCP server existed in this monorepo. This PR bootstraps the full server implementation synced toopenapi/aichat.json.New:
aichat/MCP serverModels (
core/types.py)ChatModelLiteral covering all 70+ models from the spec:gpt-5.5,gpt-5.5-pro,gpt-5.4, …)gpt-4.1,gpt-4o,gpt-4o-search-preview, …)o1,o3,o4-mini, and dated/effort variants)deepseek-r1,deepseek-r1-0528,deepseek-v3,deepseek-v3-250324,grok-3,glm-5.1…glm-3-turboTools (
tools/)aichat_conversation— maps toPOST /aichat/conversations; exposes all schema fields:question,model,id(asconversation_id),stateful,preset,referencesaichat_list_models/aichat_get_usage_guide— info toolsInfrastructure
core/client.py— async httpx client targeting/aichat/conversationscore/config.py—AICHAT_REQUEST_TIMEOUTenv var (default 60s)pyproject.toml,Dockerfile,smithery.yaml,server.json, etc.sync.yaml