mcpField
M
mcp-server

mcp-server

Local
github.com/TogetherCrewOther1Updated 82w ago

About mcp-server

mcp-server is an MCP server package installable with npm, yarn, or pnpm. Its README shows testing with MCP Inspector and a TypeScript client connection example, but does not describe specific server capabilities.

Key features

  1. 01Install via npm, yarn, or pnpm
  2. 02Test with MCP Inspector
  3. 03Example TypeScript client connection

Use cases

  1. 01Install the MCP server package
  2. 02Inspect the server with Inspector
  3. 03Use the TypeScript connection example

MCP support

This is an MCP server, though the README does not specify which tools or resources it exposes to clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.