Prajvis logoPrajvis
Integrations

Add a local MCP server

Run an MCP server from a command, such as npx or uvx, and give it environment variables.

Use this procedure for an MCP server that starts from a command and talks over standard input and output (stdio). Prajvis runs the command for you. You do not need your own server.

Examples of commands:

  • npx -y @brave/brave-search-mcp-server
  • uvx mcp-yahoo-finance
  • docker run -i --rm mcp/fetch

Add the server

Enter the command

  1. In the sidebar, select Workspace, then select the Integrations tab.
  2. Select Add integration.
  3. Select Configure manually.
  4. In Integration Name, enter a name. Use only letters, numbers, hyphens, and underscores, for example brave-search.
  5. In Command, enter the full command that starts the server.
  6. In Connection Type, keep Stdio.
The Configure Manually form with the integration name, the command, and the connection type

Add environment variables

Many servers need an API key in an environment variable.

  1. Under Environment Variables, select Add Variable.
  2. Enter the variable name, for example BRAVE_API_KEY.
  3. For a secret value, select Secret. For other values, keep String.
  4. Enter the value.
  5. Optional: enter a description.

Repeat for each variable that the server needs.

Optional: add resources

Some servers need a place to keep data.

ResourceUse
Database (Postgres)Prajvis makes a Postgres database for this integration.
StoragePrajvis makes object storage for this integration.

Name and install

  1. Select Continue.
  2. Check the name, then select Continue to Configuration.
  3. Examine the variables. Secret values show as hidden.
  4. Select Install Plugin.

Turn on the integration

A new local integration is off.

  1. Open the integration from the Integrations tab.
  2. Under Tool Controls, turn on Enabled.

The first start can take one or two minutes, because the command downloads the server. When the server is ready, Tool Capabilities lists its tools. To see the parameters of a tool, select the tool.

The page of a local integration with Tool Controls and the list of tools

Change the variables

  1. Open the integration.
  2. Select Settings.
  3. Change the values and save.

Next step

Give the integration to an agent.

On this page