mcp-server
Description
# mcp-server ## Install ```bash npm i @togethercrew.dev/mcp-server yarn add @togethercrew.dev/mcp-server pnpm add @togethercrew.dev/mcp-server ``` ## Inspector Try it using [@modelcontextprotocol/inspector](https://github.com/modelcontextprotocol/inspector). Note: The inspector…
About
# mcp-server ## Install ```bash npm i @togethercrew.dev/mcp-server yarn add @togethercrew.dev/mcp-server pnpm add @togethercrew.dev/mcp-server ``` ## Inspector Try it using [@modelcontextprotocol/inspector](https://github.com/modelcontextprotocol/inspector). Note: The inspector timeout is set to 10 seconds by default…
Details
- Author
- TogetherCrew
- Downloads
- 158
- Categories
- Other
Jump to
- Provides a query-community-resources tool
- Supports npm, yarn, and pnpm package managers
- Compatible with MCP inspector for testing
- Configurable timeout for long-running requests
Install via npm, yarn, or pnpm, then connect using an MCP client SDK. Invoke the tool query-community-resources with a community ID and a question.
mcp-server
Install
npm i @togethercrew.dev/mcp-server
yarn add @togethercrew.dev/mcp-server
pnpm add @togethercrew.dev/mcp-server
Inspector
Try it using @modelcontextprotocol/inspector.
Note: The inspector timeout is set to 10 seconds by default. Our services can take several minutes to process a request, therefore you should extend the timeout. This can be done (soon) through the configuration settings. Or by adding the param timeout=600000 (10 minutes) to the url.
Client example
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StdioClientTransport } from "@modelcontextprotocol/sdk/client/stdio.js";
import { exit } from "process";
async function main() {
const transport = new StdioClientTransport({
command: "node",
args: ["./src/index.ts"], // This will need to connect to the mpc server
});
const client = new Client({
name: "TogetherCrew-Agent",
version: "1.0.0",
});
await client.connect(transport);
console.log("Client connected");
const response = await client.callTool({
name: "query-community-resources",
arguments: {
communityId: "TOGETHERCREW_COMMUNITY_ID",
question: "YOUR QUESTION",
},
});
console.log("Response:", response.content[0].text);
exit(0);
}
main().catch(console.error);
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



