stackexchangemcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
📚stackexchangemcp📚
php
composer require vielhuber/stackexchangemcpuse vielhuber\stackexchangemcp\stackexchangemcp;
$stack = new stackexchangemcp();
$stack->sites();
$stack->me(site: 'stackoverflow');
$stack->usersByIds(ids: '123', site: 'stackoverflow');
$stack->timelineOnUsers(ids: '123', site: 'stackoverflow');
$stack->postsOnUsers(ids: '123', site: 'stackoverflow');
$stack->questions(site: 'stackoverflow');
$stack->questionsByIds(ids: '123', site: 'stackoverflow');
$stack->answersOnQuestions(ids: '123', site: 'stackoverflow');
$stack->answersByIds(ids: '123', site: 'stackoverflow');
$stack->commentsOnPosts(ids: '123', site: 'stackoverflow');
$stack->commentsByIds(ids: '123', site: 'stackoverflow');
$stack->createQuestion(site: 'stackoverflow', parameters: $parameters);
$stack->editQuestion(id: '123', site: 'stackoverflow', parameters: $parameters);
$stack->deleteQuestion(id: '123', site: 'stackoverflow');
$stack->createAnswer(id: '123', site: 'stackoverflow', parameters: $parameters);
$stack->editAnswer(id: '123', site: 'stackoverflow', parameters: $parameters);
$stack->deleteAnswer(id: '123', site: 'stackoverflow');
$stack->createComment(id: '123', site: 'stackoverflow', parameters: $parameters);
$stack->editComment(id: '123', site: 'stackoverflow', parameters: $parameters);
$stack->deleteComment(id: '123', site: 'stackoverflow');
$stack->advancedSearch(site: 'stackoverflow');
$stack->tags(site: 'stackoverflow');
$stack->meTimeline(site: 'stackoverflow');public reads need no token. writes: register an app, authorize write_access and set STACKEXCHANGE_API_KEY / STACKEXCHANGE_ACCESS_TOKEN. oauth pkce: $authorization->url() / exchangeCode(). site supports the whole network, including meta. $parameters uses the official request schema.
Related MCP server: stackoverflow-mcp-server
mcp
{
"mcpServers": {
"stack": {
"command": "php",
"args": ["/absolute/path/to/vendor/bin/mcp-server.php"],
"env": {
"STACKEXCHANGE_API_KEY": "your-api-key",
"STACKEXCHANGE_ACCESS_TOKEN": "your-access-token",
"STACKEXCHANGE_SITE": "stackoverflow"
}
}
}
}stdio is private. http requires https and MCP_TOKEN.
This server cannot be deployed
Maintenance
Related MCP Connectors
Search Stack Exchange questions, fetch Q&A threads as markdown, look up tag FAQs and user profiles.
StackExchange MCP — wraps the StackExchange API v2.3 (free, no auth required for read)
Access Stack Overflow's trusted and verified technical questions and answers.
Scrape Stack Overflow questions, answers, tags, scores and accepted status. Pay per row.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceWraps the StackExchange API v2.3 to enable reading StackExchange data (questions, answers, etc.) without authentication. Allows AI agents to query StackExchange content through natural language or direct tool calls.317 npm1MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to search and access Stack Overflow content, including questions, answers, and error solutions.57MIT
- AlicenseAqualityDmaintenanceProvides seamless access to StackOverflow's Q\&A database through MCP, enabling advanced search, question/answer retrieval, and rate-limit management.524 npm2MIT
- AlicenseNot gradedqualityBmaintenanceSearch Stack Exchange questions, fetch complete Q&A threads as clean markdown, browse tag FAQs, and look up user profiles via MCP.182 npm2Apache 2.0