first_mcp_server logo

first_mcp_server

by BTonny

This is an MCP server created following a YouTube tutorial on creating MCP servers in Python. It's designed to be added to Claude for code execution and debugging.

View on GitHub

Last updated: N/A

What is first_mcp_server?

This is an MCP (Model Context Protocol) server built in Python. It allows Claude to execute code within a specified environment, enabling tasks like creating and interacting with vector databases.

How to use first_mcp_server?

To use this server, add it to Claude using claude mcp add. Provide a server name and the path to the uv binary along with the command arguments --directory /Users/baw/Desktop/dev/mcp/first_mcp_server run main.py. After installation, list available servers with clause mcp list and execute code using claude with relevant queries. Debug using npx @modelcontextprotocal/inspector uv run main.py.

Key features of first_mcp_server

  • Code Execution within Claude

  • Integration with Langchain

  • Chroma DB Vector Database implementation

  • MCP Inspector debugging

  • Customizable command arguments

Use cases of first_mcp_server

  • Creating and managing vector databases

  • Executing Python code within Claude environment

  • Integrating Langchain with vector databases

  • Debugging MCP servers

  • Extending Claude's capabilities with custom code

FAQ from first_mcp_server

What is an MCP server?

An MCP server allows Claude to execute code in a sandboxed environment.

How do I add the server to Claude?

Use the command claude mcp add and follow the prompts.

What are the command arguments for?

The command arguments specify the directory and script to run on the server.

How do I test if the server is working?

List the servers using clause mcp list and then run code using claude with a relevant query.

How do I debug the server?

Use the MCP Inspector with the command npx @modelcontextprotocal/inspector uv run main.py.