MCP cover image
See in Github
2025-04-01

2

Github Watches

0

Github Forks

1

Github Stars

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);

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • huahuayu
  • Una puerta de enlace de API unificada para integrar múltiples API de explorador de blockchain similar a Esterscan con soporte de protocolo de contexto modelo (MCP) para asistentes de IA.

  • modelcontextprotocol
  • Servidores de protocolo de contexto modelo

  • Mintplex-Labs
  • La aplicación AI de escritorio todo en uno y Docker con trapo incorporado, agentes de IA, creador de agentes sin código, compatibilidad de MCP y más.

    Reviews

    4 (1)
    Avatar
    user_HzMZ2KzM
    2025-04-16

    As an avid user of mcp-server by TogetherCrew, I am thoroughly impressed with its performance and reliability. The seamless integration and user-friendly interface make deploying and managing servers incredibly efficient. The comprehensive documentation on GitHub provides excellent support, allowing even those new to server management to get started quickly. Highly recommended for anyone seeking a robust and scalable server solution!