-
Notifications
You must be signed in to change notification settings - Fork 608
feat(mcp): add answeroverflow MCP for Discord community Q&A search #482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
feat(mcp): add answeroverflow MCP for Discord community Q&A search #482
Conversation
Add answeroverflow.com MCP integration providing access to indexed Discord community discussions. This enables searching real developer Q&A from Discord servers indexed by Answer Overflow. Tools provided: - search_answeroverflow: Search across all indexed Discord communities - search_servers: Discover indexed Discord servers - get_thread_messages: Get full thread context - find_similar_threads: Find related discussions Changes: - Add src/mcp/answeroverflow.ts with remote MCP config - Update McpNameSchema to include answeroverflow - Register in allBuiltinMcps - Update doctor checks and tests for 4 builtin MCPs - Regenerate schema
|
All contributors have signed the CLA. Thank you! ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
Greptile SummaryAdds Answer Overflow MCP as the fourth builtin MCP server, enabling Discord community Q&A search.
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant Config as Config Manager
participant Index as mcp/index.ts
participant AO as answeroverflow.ts
participant Doctor as doctor/checks/mcp.ts
participant OpenCode as OpenCode Runtime
User->>Config: Load oh-my-opencode config
Config->>Index: createBuiltinMcps(disabledMcps)
Index->>Index: Check if 'answeroverflow' in disabledMcps
alt answeroverflow enabled
Index->>AO: Import answeroverflow config
AO-->>Index: {type: "remote", url: "https://answeroverflow.com/mcp", enabled: true}
Index-->>Config: Return MCP configs including answeroverflow
Config->>OpenCode: Register answeroverflow MCP
OpenCode->>OpenCode: Connect to https://answeroverflow.com/mcp
OpenCode-->>User: 4 tools available: search, search_servers, get_thread_messages, find_similar_threads
else answeroverflow disabled
Index-->>Config: Return MCP configs without answeroverflow
end
User->>Doctor: Run 'bun doctor'
Doctor->>Doctor: Check BUILTIN_MCP_SERVERS includes 'answeroverflow'
Doctor-->>User: Report 4 builtin MCPs enabled
|
Greptile found no issues!From now on, if a review finishes and we haven't found any issues, we will not post anything, but you can confirm that we reviewed your changes in the status check section. This feature can be toggled off in your Code Review Settings by deselecting "Create a status check for each PR". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 6 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
👋 Hey just recently started using oh-my-opencode & thought it'd be useful to add https://answeroverflow.com/mcp as a default MCP
It indexes content from developer Discord servers, similar vein to context7 but allows for the agent to get up to date information about problems people are running into. I develop with it a lot locally and find it useful - fair disclosure I develop Answer Overflow so feel free to reject this one if it seems self promotey / doesn't seem helpful but I think it's good for the agents
Tested locally by building oh-my-opencode & using it as a plugin, let me know if there's any MCP tweaks requested also
======= AI Generated Summary Below =======
Summary
Tools Provided
answeroverflow_search_answeroverflowansweroverflow_search_serversansweroverflow_get_thread_messagesansweroverflow_find_similar_threadsChanges
src/mcp/answeroverflow.ts- New MCP config pointing tohttps://answeroverflow.com/mcpsrc/mcp/types.ts- AddedansweroverflowtoMcpNameSchemasrc/mcp/index.ts- Import and register inallBuiltinMcpssrc/cli/doctor/checks/mcp.ts- Added toBUILTIN_MCP_SERVERSsrc/cli/doctor/checks/mcp.test.ts- Updated test assertions (3→4 servers)assets/oh-my-opencode.schema.json- RegeneratedTesting
bun run typecheckpassesbun run buildsucceedsUsage
Disable via config if needed:
{ "disabled_mcps": ["answeroverflow"] }Summary by cubic
Adds the Answer Overflow MCP to search indexed Discord community Q&A directly from the app. It’s enabled by default and expands builtin MCP coverage.
Written for commit 09872fc. Summary will update on new commits.